Git Product home page Git Product logo

icerockdev / moko-template Goto Github PK

View Code? Open in Web Editor NEW
459.0 15.0 47.0 424 KB

Template project of a Mobile (Android & iOS) Kotlin MultiPlatform project with the MOKO libraries and modularized architecture

Home Page: https://moko.icerock.dev/

License: Apache License 2.0

Kotlin 81.02% Ruby 5.79% Swift 13.19%
kotlin-multiplatform moko android ios kotlin-native template kotlin-multiplatform-mobile

moko-template's Introduction

moko-template
GitHub license kotlin-version

Mobile Kotlin multiplatform project template

A sample project that helps to start building a Mobile Kotlin Multiplatform application. It establishes an architecture optimized for building cross-platform mobile applications through separation of concerns between the UI and business logic.

Table of Contents

Features

  • Kotlin Multiplatform's motto is Don't Repeat Yourself. Share the business logic code written in Kotlin between Android and iOS apps. 100% native UI and performance (shared code compiles into native libraries);
  • Kotlin Gradle DSL – Configure project with flexible Kotlin Gradle DSL;
  • Modular-bazed architecture – Implement app features independently of each other. Inject dependencies into features at compile-time through the use of the Factory class;
  • Parallel build of modules – Feature modules and the domain module don't depend on each other. This provides caching of build artifacts for each module and results in better compilation time;
  • Dependencies definition in buildSrc - Simplify dependency management across modules;
  • Ready to use - Template project includes all moko libraries and supports most common use cases:
    • ViewModels;
    • LiveData;
    • Resource management;
    • Runtime permissions access;
    • Media access;
    • UI lists management from shared code;
    • Network layer generation from OpenAPI.

Modules

Legend

The color describes different modules and the shape - the type of an element (class|interface). legend

Modules scheme

modules scheme This scheme shows the structure of the project:

  • We have two applications that represent the View application layer:
    • android-app written in Kotlin uses Activity and Fragment;
    • ios-app written in Swift uses UIViewController with Storyboards.
  • Both applications depend on mpp-library (Kotlin Multiplatform) that provides access to ViewModel's of each feature through SharedFactory. The library is responsible for setting up connections between the feature and domain modules.
  • mpp-library consists of modules:
    • domain (Kotlin Multiplatform) - contains the domain entities, repositories, server API classes, and DomainFactory that creates instances for all of them;
    • feature (Kotlin Multiplatform). Every feature contains corresponding ViewModel, Factory, models, and interfaces it expects to be injected from the parent module. In this example:
      • config contains an config feature's ViewModel, data store interface and ConfigFactory that create instances of ViewModel;
      • list contains a items list feature's ViewModel, data source interface, list items factory interface, and ListFactory that create instances of ViewModel.

Config module scheme

config module scheme The connections between the feature:config classes and the domain classes implemented in the mpp-library module.

List module scheme

list module scheme The connections between the feature:list classes and the domain classes implemented in the mpp-library module.
SharedFactory.NewsUnitsFactory interface is implemented on both platforms - Android (android-app) and iOS (ios-app).

Screenshots

Android iOS
android-app ios-app
android-app ios-app

How to Run

Android - just open repository root directory in Android Studio and press Run.
iOS - run pod install in directory ios-app. Then open ios-app/ios-app.xcworkspace and press Run on simulator/device.

Project setup

Setup your own ApplicationId

Just like in other native apps
In android-app/build.gradle.kts change org.example.app in the following line:

applicationId = "org.example.app"

In Xcode project settings change Bundle Identifier.

Setup your own project name

Just like in other native apps
In android-app/src/main/res/values/strings.xml change value of app_name.
In Xcode project settings change Display name.

Setup your own app icon

Just like in other native apps
Put your android icon to android-app/src/main/res and setup usage in android-app/src/main/AndroidManifest.xml.
Put your iOS icon to ios-app/src/Assets.xcassets/AppIcon.appiconset.

Create new feature module

Create a file mpp-library/feature/myfeature/build.gradle.kts with the following content:

plugins {
    id("multiplatform-library-convention")
}

Add module to settings.gradle.kts:

include(":mpp-library:feature:myfeature")

Add dependency to module from the mpp-library in mpp-library/build.gradle.kts:

framework {
    ...
    export(projects.mppLibrary.feature.myfeature)
}

Contributing

All development of template is performed in the master branch. Please send PRs with bug fixes to the master branch.

Please refer to the contributing guide for more details.

Thanks

We test Apple Silicon support with MacStadium. macstadium

License

Copyright 2019 IceRock MAG Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

moko-template's People

Contributors

alex009 avatar anton6tak avatar bryanjbryce avatar tviv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moko-template's Issues

Unable to run ios app

When trying to run the app on xcode 11.3.1 build failed due to: no such module "MultiPlatformLibraryUnits".
The pod framework seems to be generated properly but the version of MultiPlatformLibraryUnits is not up to date and also the podspec files do not specify the correct library versions for Units and Mvvm.
Updating the moko-unit release label in Podfile does not solve the issue

xcode 10.1 support

Is this only work in macos catalina with xcode 11+ only? or maybe someday i can use xcode 10?
i use macos high sierra and xcode 10.1 got this exception when running pod install

Analyzing dependencies
Downloading dependencies
prepare MultiPlatformLibrary.framework (require some time...)
e: java.lang.IllegalStateException: Unsupported Xcode version 10.1, minimal supported version is 11.0.
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl.checkXcodeVersion(Apple.kt:94)
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl.access$checkXcodeVersion(Apple.kt:24)
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl$xcodePartsProvider$2.invoke(Apple.kt:72)
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl$xcodePartsProvider$2.invoke(Apple.kt:24)
        at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)

Communicating the ViewModel with the domain

Hello!
As I have done before, I've opened this issue to ask a question: I don't really know right now how the domain and the feature modules communicate with each other. I have created a class ExampleUseCase and I want to call it somehow from a ViewModel and get a result from it. However, I can't refer to that use case from the ViewModel context (although I have seen I can do it from the android-app module), so clearly I'm missing something. I've also read the README of the project to try to get an idea and it says:

The connections between the feature:config classes and the domain classes implemented in the mpp-library module

But I don't really understand how. Can you help me with it?

Many thanks

Project does not build

After selecting "Use template" and checking out the repository, when I open it in Android Studio Arctic Fox the project does not build showing multiple errors in the build scripts from the build-logic module:

image

Android Studio Arctic Fox 2020.3.1
KMM Plugin 0.3.0
JDK 11.0.10

Project Health

Is this project dead? Seems like there's been little activity on it.

Add `kotlin-multiplatform-mobile` topic

The Kotlin team is now changing its approach to the Multiplatform mobile samples. The number of great projects is growing, and we can't keep adding them to the already huge table in the documentation.

Instead, we decided to keep a handful of projects in the table and give a link to a handy search by the GitHub topic. To add the topic to your project, please use the kotlin-multiplatform-mobile tag in the About section of your GitHub repository.

Add example for other resource types

Currently in the template there's only an example of strings management. That's the only one I can get to work in my project, so I'm looking for an example of color, font, and images.

Questions: IosArm64 Actual declaration shortcut keep complaining.

Hello @Alex009
As discussed here Adding SQLDelight to the project i try to move out my DatabaseDriverFactory class into iosX64Main folder, but after rebuilding the project i didn't see any iosArm64Main shortcut generated like moko-template did here
I am also upgrade kotlin version to 1.4.21 and moko-mvvm to 0.8.1 as described on moko-mvvm readme file
My question is:

  1. How my project can be able to generate that iosArm64Main shortcut folder automatically like moko-template do ?
  2. Also, my serializable annotation is missing each time "build" project executed, but if i try to put serializable annotation alongside moko-template News.kt entity class it's just fine.

resources-cinterop-pluralizedString can't be exported with -Xexport-library e: Compilation failed: Could not initialize class llvm.llvm

When I want to run the iOS app then this error appears. I use Apple Silicon

`Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/ccmvn/AndroidStudioProjects/someone/ios-app/ios-app.xcworkspace -scheme ios-app -configuration Debug OBJROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios SYMROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios -sdk iphonesimulator -arch arm64 -allowProvisioningDeviceRegistration -allowProvisioningUpdates

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
ARCHS = arm64
OBJROOT = /Users/ccmvn/AndroidStudioProjects/someone/build/ios
SDKROOT = iphonesimulator16.2
SYMROOT = /Users/ccmvn/AndroidStudioProjects/someone/build/ios

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:96064992-82FD-4D75-8A5D-7952F552762D, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:0BF1A31C-9FF8-4A12-A193-A42CFCB1FC6A, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:04C8586B-EDF7-4880-AD74-4B30CBBE5D03, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:C6207450-9191-4E06-8466-07930523753D, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:24F4C5F1-AF00-4155-BCEF-CF9E6B16AE5C, OS:16.2, name:iPhone SE (3rd generation) }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006001-000C58993C89801E }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:89526BC7-DF24-4065-8E80-BFB20A5F027B, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:411CA6E5-F333-4543-9F2E-27741CFF6A9B, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:6B6A389C-1EB9-4312-B3FB-7838F3B6823C, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:1324E7B6-209A-481C-84A4-F7266CF69368, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:410CE327-66C7-480D-BBCF-03D87F752F3C, OS:16.2, name:iPad mini (6th generation) }
Prepare packages

Computing target dependency graph and provisioning inputs

Create build description
Build description signature: b9f9987e6b911e7d5f4697912b01d962
Build description path: /Users/ccmvn/AndroidStudioProjects/someone/build/ios/XCBuildData/b9f9987e6b911e7d5f4697912b01d962-desc.xcbuild

note: Building targets in dependency order
warning: Run script build phase '[CP-User] Compile Kotlin/Native' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MultiPlatformLibrary' from project 'Pods')
PhaseScriptExecution [CP-User]\ Compile\ Kotlin/Native /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Script-BA95BCD441577347D0C821C3908AFD77.sh (in target 'MultiPlatformLibrary' from project 'Pods')
cd /Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
export ACTION=build
export AD_HOC_CODE_SIGNING_ALLOWED=YES
export ALLOW_TARGET_PLATFORM_SPECIALIZATION=NO
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=ccmvn
export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
export ALWAYS_SEARCH_USER_PATHS=NO
export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
export APPLICATION_EXTENSION_API_ONLY=NO
export APPLY_RULES_IN_COPY_FILES=NO
export APPLY_RULES_IN_COPY_HEADERS=NO
export ARCHS=arm64
export ARCHS_STANDARD=arm64\ x86_64
export ARCHS_STANDARD_32_64_BIT=arm64\ i386\ x86_64
export ARCHS_STANDARD_32_BIT=i386
export ARCHS_STANDARD_64_BIT=arm64\ x86_64
export ARCHS_STANDARD_INCLUDING_64_BIT=arm64\ x86_64
export ARCHS_UNIVERSAL_IPHONE_OS=arm64\ i386\ x86_64
export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
export ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME=AccentColor
export AVAILABLE_PLATFORMS=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator
export BITCODE_GENERATION_MODE=marker
export BUILD_ACTIVE_RESOURCES_ONLY=YES
export BUILD_COMPONENTS=headers\ build
export BUILD_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios
export BUILD_LIBRARY_FOR_DISTRIBUTION=NO
export BUILD_ROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibrary
export BUNDLE_CONTENTS_FOLDER_PATH_deep=Contents/
export BUNDLE_EXECUTABLE_FOLDER_NAME_deep=MacOS
export BUNDLE_EXTENSIONS_FOLDER_PATH=Extensions
export BUNDLE_FORMAT=shallow
export BUNDLE_FRAMEWORKS_FOLDER_PATH=Frameworks
export BUNDLE_PLUGINS_FOLDER_PATH=PlugIns
export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH=PrivateHeaders
export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH=Headers
export CACHE_ROOT=/var/folders/tv/x2qdcddj3zg_40kh6g2j8_6w0000gn/C/com.apple.DeveloperTools/14.2-14C18/Xcode
export CCHROOT=/var/folders/tv/x2qdcddj3zg_40kh6g2j8_6w0000gn/C/com.apple.DeveloperTools/14.2-14C18/Xcode
export CHMOD=/bin/chmod
export CHOWN=/usr/sbin/chown
export CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED=YES
export CLANG_ANALYZER_NONNULL=YES
export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION=YES_AGGRESSIVE
export CLANG_CXX_LANGUAGE_STANDARD=gnu++14
export CLANG_CXX_LIBRARY=libc++
export CLANG_ENABLE_MODULES=YES
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_ENABLE_OBJC_WEAK=NO
export CLANG_MODULES_BUILD_SESSION_FILE=/Users/ccmvn/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING=YES
export CLANG_WARN_BOOL_CONVERSION=YES
export CLANG_WARN_COMMA=YES
export CLANG_WARN_CONSTANT_CONVERSION=YES
export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=YES
export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
export CLANG_WARN_DOCUMENTATION_COMMENTS=YES
export CLANG_WARN_EMPTY_BODY=YES
export CLANG_WARN_ENUM_CONVERSION=YES
export CLANG_WARN_INFINITE_RECURSION=YES
export CLANG_WARN_INT_CONVERSION=YES
export CLANG_WARN_NON_LITERAL_NULL_CONVERSION=YES
export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF=YES
export CLANG_WARN_OBJC_LITERAL_CONVERSION=YES
export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
export CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER=NO
export CLANG_WARN_RANGE_LOOP_ANALYSIS=YES
export CLANG_WARN_STRICT_PROTOTYPES=YES
export CLANG_WARN_SUSPICIOUS_MOVE=YES
export CLANG_WARN_UNGUARDED_AVAILABILITY=YES_AGGRESSIVE
export CLANG_WARN_UNREACHABLE_CODE=YES
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/JavaClasses
export CLEAN_PRECOMPS=YES
export CLONE_HEADERS=NO
export CODESIGNING_FOLDER_PATH=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibrary/
export CODE_SIGNING_ALLOWED=NO
export CODE_SIGNING_REQUIRED=YES
export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext
export CODE_SIGN_IDENTITY=-
export CODE_SIGN_INJECT_BASE_ENTITLEMENTS=YES
export COLOR_DIAGNOSTICS=NO
export COMBINE_HIDPI_IMAGES=NO
export COMPILER_INDEX_STORE_ENABLE=Default
export COMPOSITE_SDK_DIRS=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/CompositeSDKs
export COMPRESS_PNG_FILES=YES
export CONFIGURATION=Debug
export CONFIGURATION_BUILD_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibrary
export CONFIGURATION_TEMP_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator
export COPYING_PRESERVES_HFS_DATA=NO
export COPY_HEADERS_RUN_UNIFDEF=NO
export COPY_PHASE_STRIP=NO
export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
export CORRESPONDING_DEVICE_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
export CORRESPONDING_DEVICE_PLATFORM_NAME=iphoneos
export CORRESPONDING_DEVICE_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk
export CORRESPONDING_DEVICE_SDK_NAME=iphoneos16.2
export CP=/bin/cp
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export CURRENT_ARCH=undefined_arch
export CURRENT_VARIANT=normal
export DEAD_CODE_STRIPPING=YES
export DEBUGGING_SYMBOLS=YES
export DEBUG_INFORMATION_FORMAT=dwarf
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_DEXT_INSTALL_PATH=/System/Library/DriverExtensions
export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
export DEFINES_MODULE=NO
export DEPLOYMENT_LOCATION=NO
export DEPLOYMENT_POSTPROCESSING=NO
export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_SUGGESTED_VALUES=11.0\ 11.1\ 11.2\ 11.3\ 11.4\ 12.0\ 12.1\ 12.2\ 12.3\ 12.4\ 13.0\ 13.1\ 13.2\ 13.3\ 13.4\ 13.5\ 13.6\ 14.0\ 14.1\ 14.2\ 14.3\ 14.4\ 14.5\ 14.6\ 14.7\ 15.0\ 15.1\ 15.2\ 15.3\ 15.4\ 15.5\ 15.6\ 16.0\ 16.1\ 16.2
export DERIVED_FILES_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/DerivedSources
export DERIVED_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/DerivedSources
export DERIVED_SOURCES_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/DerivedSources
export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export DEVELOPMENT_LANGUAGE=en
export DONT_GENERATE_INFOPLIST_FILE=NO
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT=/tmp/Pods.dst
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibrary
export DYNAMIC_LIBRARY_EXTENSION=dylib
export EAGER_LINKING=NO
export EFFECTIVE_PLATFORM_NAME=-iphonesimulator
export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
export ENABLE_APP_SANDBOX=NO
export ENABLE_BITCODE=NO
export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
export ENABLE_DEFAULT_SEARCH_PATHS=YES
export ENABLE_HARDENED_RUNTIME=NO
export ENABLE_HEADER_DEPENDENCIES=YES
export ENABLE_ON_DEMAND_RESOURCES=NO
export ENABLE_PREVIEWS=NO
export ENABLE_STRICT_OBJC_MSGSEND=YES
export ENABLE_TESTABILITY=YES
export ENABLE_TESTING_SEARCH_PATHS=NO
export ENABLE_USER_SCRIPT_SANDBOXING=NO
export ENTITLEMENTS_DESTINATION=__entitlements
export ENTITLEMENTS_REQUIRED=YES
export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=.DS_Store\ .svn\ .git\ .hg\ CVS
export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES=*.nib\ *.lproj\ *.framework\ *.gch\ *.xcode*\ *.xcassets\ (*)\ .DS_Store\ CVS\ .svn\ .git\ .hg\ *.pbproj\ *.pbxproj
export FILE_LIST=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects/LinkFileList
export FIXED_FILES_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/FixedFiles
export FRAMEWORK_VERSION=A
export FUSE_BUILD_PHASES=YES
export FUSE_BUILD_SCRIPT_PHASES=NO
export GCC3_VERSION=3.3
export GCC_C_LANGUAGE_STANDARD=gnu11
export GCC_DYNAMIC_NO_PIC=NO
export GCC_NO_COMMON_BLOCKS=YES
export GCC_OBJC_LEGACY_DISPATCH=YES
export GCC_OPTIMIZATION_LEVEL=0
export GCC_PFE_FILE_C_DIALECTS=c\ objective-c\ c++\ objective-c++
export GCC_PREPROCESSOR_DEFINITIONS=POD_CONFIGURATION_DEBUG=1\ DEBUG=1\ \ COCOAPODS=1
export GCC_TREAT_WARNINGS_AS_ERRORS=NO
export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
export GCC_WARN_UNDECLARED_SELECTOR=YES
export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
export GCC_WARN_UNUSED_FUNCTION=YES
export GCC_WARN_UNUSED_VARIABLE=YES
export GENERATED_MODULEMAP_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/GeneratedModuleMaps-iphonesimulator
export GENERATE_INFOPLIST_FILE=NO
export GENERATE_MASTER_OBJECT_FILE=NO
export GENERATE_PKGINFO_FILE=NO
export GENERATE_PROFILING_CODE=NO
export GENERATE_TEXT_BASED_STUBS=NO
export GID=20
export GRADLE_TASK=syncMultiPlatformLibraryDebugFrameworkIosX64
export GROUP=staff
export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
export HEADERMAP_USES_VFS=NO
export HIDE_BITCODE_SYMBOLS=YES
export HOME=/Users/ccmvn
export HOST_PLATFORM=macosx
export ICONV=/usr/bin/iconv
export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
export INFOPLIST_OUTPUT_FORMAT=binary
export INFOPLIST_PREPROCESS=NO
export INLINE_PRIVATE_FRAMEWORKS=NO
export INSTALLHDRS_COPY_PHASE=NO
export INSTALLHDRS_SCRIPT_PHASE=NO
export INSTALL_DIR=/tmp/Pods.dst
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=ccmvn
export INSTALL_ROOT=/tmp/Pods.dst
export IPHONEOS_DEPLOYMENT_TARGET=11.0
export JAVAC_DEFAULT_FLAGS=-J-Xms64m\ -J-XX:NewSize=4M\ -J-Dfile.encoding=UTF8
export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
export JAVA_ARCHIVE_CLASSES=YES
export JAVA_ARCHIVE_TYPE=JAR
export JAVA_COMPILER=/usr/bin/javac
export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
export JAVA_JAR_FLAGS=cv
export JAVA_SOURCE_SUBDIR=.
export JAVA_USE_DEPENDENCIES=YES
export JAVA_ZIP_FLAGS=-urg
export JIKES_DEFAULT_FLAGS=+E\ +OLDCSO
export KEEP_PRIVATE_EXTERNS=NO
export LD_DEPENDENCY_INFO_FILE=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects-normal/undefined_arch/MultiPlatformLibrary_dependency_info.dat
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/MultiPlatformLibrary-LinkMap-normal-undefined_arch.txt
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LD_RUNPATH_SEARCH_PATHS=\ @executable_path/Frameworks
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LEX=lex
export LIBRARY_DEXT_INSTALL_PATH=/Library/DriverExtensions
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_FILE_LIST_normal_arm64=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects-normal/arm64/MultiPlatformLibrary.LinkFileList
export LINK_OBJC_RUNTIME=YES
export LINK_WITH_STANDARD_LIBRARIES=YES
export LLVM_TARGET_TRIPLE_OS_VERSION=ios11.0
export LLVM_TARGET_TRIPLE_SUFFIX=-simulator
export LLVM_TARGET_TRIPLE_VENDOR=apple
export LOCALIZATION_EXPORT_SUPPORTED=YES
export LOCALIZED_STRING_MACRO_NAMES=NSLocalizedString\ CFCopyLocalizedString
export LOCALIZED_STRING_SWIFTUI_SUPPORT=YES
export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
export LOCAL_APPS_DIR=/Applications
export LOCAL_DEVELOPER_DIR=/Library/Developer
export LOCAL_LIBRARY_DIR=/Library
export LOCROOT=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
export LOCSYMROOT=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
export MAC_OS_X_PRODUCT_BUILD_VERSION=22D49
export MAC_OS_X_VERSION_ACTUAL=130200
export MAC_OS_X_VERSION_MAJOR=130000
export MAC_OS_X_VERSION_MINOR=130200
export METAL_LIBRARY_FILE_BASE=default
export METAL_LIBRARY_OUTPUT_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibrary/
export MODULE_CACHE_DIR=/Users/ccmvn/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
export MPP_LIBRARY_NAME=MultiPlatformLibrary
export MTL_ENABLE_DEBUG_INFO=INCLUDE_SOURCE
export MTL_FAST_MATH=YES
export NATIVE_ARCH=arm64
export NATIVE_ARCH_32_BIT=arm
export NATIVE_ARCH_64_BIT=arm64
export NATIVE_ARCH_ACTUAL=arm64
export NO_COMMON=YES
export OBJC_ABI_VERSION=2
export OBJECT_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects
export OBJECT_FILE_DIR_normal=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects-normal
export OBJROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios
export ONLY_ACTIVE_ARCH=NO
export OS=MACOS
export OSAC=/usr/bin/osacompile
export OTHER_LDFLAGS=\ -l"c++"
export PASCAL_STRINGS=YES
export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/Users/ccmvn/Library/pnpm/:/opt/homebrew/lib/ruby/gems/3.2.0/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/Cellar/zplug/2.4.2/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware\ Fusion\ Tech\ Preview.app/Contents/Public:/usr/local/share/dotnet:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/ccmvn/.cargo/bin:/Users/chxmvn/Library/Application\ Support/JetBrains/Toolbox/scripts:/Users/ccmvn/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/Users/ccmvn/.antigen/bundles/zsh-users/zsh-autosuggestions
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES=/usr/include\ /usr/local/include\ /System/Library/Frameworks\ /System/Library/PrivateFrameworks\ /Applications/Xcode.app/Contents/Developer/Headers\ /Applications/Xcode.app/Contents/Developer/SDKs\ /Applications/Xcode.app/Contents/Developer/Platforms
export PER_ARCH_OBJECT_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects-normal/undefined_arch
export PER_VARIANT_OBJECT_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects-normal
export PKGINFO_FILE_PATH=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/PkgInfo
export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library
export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
export PLATFORM_DISPLAY_NAME=iOS\ Simulator
export PLATFORM_FAMILY_NAME=iOS
export PLATFORM_NAME=iphonesimulator
export PLATFORM_PREFERRED_ARCH=x86_64
export PLATFORM_PRODUCT_BUILD_VERSION=20C52
export PLIST_FILE_OUTPUT_FORMAT=binary
export PODS_BUILD_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios
export PODS_CONFIGURATION_BUILD_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator
export PODS_ROOT=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
export PODS_TARGET_SRCROOT=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods/../../mpp-library
export PODS_XCFRAMEWORKS_BUILD_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRODUCT_BUNDLE_IDENTIFIER=org.cocoapods.MultiPlatformLibrary
export PRODUCT_MODULE_NAME=MultiPlatformLibrary
export PRODUCT_NAME=MultiPlatformLibrary
export PRODUCT_SETTINGS_PATH=
export PROFILING_CODE=NO
export PROJECT=Pods
export PROJECT_DERIVED_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/DerivedSources
export PROJECT_DIR=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
export PROJECT_FILE_PATH=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods/Pods.xcodeproj
export PROJECT_NAME=Pods
export PROJECT_TEMP_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build
export PROJECT_TEMP_ROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios
export RECOMMENDED_IPHONEOS_DEPLOYMENT_TARGET=12.5
export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
export REMOVE_CVS_FROM_RESOURCES=YES
export REMOVE_GIT_FROM_RESOURCES=YES
export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
export REMOVE_HG_FROM_RESOURCES=YES
export REMOVE_SVN_FROM_RESOURCES=YES
export REZ_COLLECTOR_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/ResourceManagerResources
export REZ_OBJECTS_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/ResourceManagerResources/Objects
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SCRIPT_INPUT_FILE_COUNT=0
export SCRIPT_INPUT_FILE_LIST_COUNT=0
export SCRIPT_OUTPUT_FILE_COUNT=0
export SCRIPT_OUTPUT_FILE_LIST_COUNT=0
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk
export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk
export SDK_DIR_iphonesimulator=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk
export SDK_DIR_iphonesimulator16_2=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk
export SDK_NAME=iphonesimulator16.2
export SDK_NAMES=iphonesimulator16.2
export SDK_PRODUCT_BUILD_VERSION=20C52
export SDK_VERSION=16.2
export SDK_VERSION_ACTUAL=160200
export SDK_VERSION_MAJOR=160000
export SDK_VERSION_MINOR=160200
export SED=/usr/bin/sed
export SEPARATE_STRIP=NO
export SEPARATE_SYMBOL_EDIT=NO
export SET_DIR_MODE_OWNER_GROUP=YES
export SET_FILE_MODE_OWNER_GROUP=NO
export SHALLOW_BUNDLE=NO
export SHARED_DERIVED_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibrary/DerivedSources
export SHARED_PRECOMPS_DIR=/Users/ccmvn/Library/Developer/Xcode/DerivedData/ios-app-etfmoydgxmxqxhciqxpiyqpcumox/Build/Intermediates.noindex/PrecompiledHeaders
export SKIP_INSTALL=YES
export SOURCE_ROOT=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
export SRCROOT=/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
export STRINGSDATA_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects-normal/undefined_arch
export STRINGSDATA_ROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build
export STRINGS_FILE_INFOPLIST_RENAME=YES
export STRINGS_FILE_OUTPUT_ENCODING=binary
export STRIP_BITCODE_FROM_COPIED_FILES=NO
export STRIP_INSTALLED_PRODUCT=NO
export STRIP_STYLE=all
export STRIP_SWIFT_SYMBOLS=YES
export SUPPORTED_DEVICE_FAMILIES=1,2
export SUPPORTED_PLATFORMS=iphoneos\ iphonesimulator
export SUPPORTS_TEXT_BASED_API=NO
export SWIFT_ACTIVE_COMPILATION_CONDITIONS=DEBUG
export SWIFT_EMIT_LOC_STRINGS=NO
export SWIFT_OPTIMIZATION_LEVEL=-Onone
export SWIFT_PLATFORM_TARGET_PREFIX=ios
export SWIFT_RESPONSE_FILE_PATH_normal_arm64=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Objects-normal/arm64/MultiPlatformLibrary.SwiftFileList
export SWIFT_VERSION=5.0
export SYMROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios
export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
export SYSTEM_APPS_DIR=/Applications
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Applications/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built\ Examples
export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Graphics\ Tools
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Java\ Tools
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Performance\ Tools
export SYSTEM_DEVELOPER_RELEASENOTES_DIR=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes
export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/documentation/DeveloperTools
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools
export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
export SYSTEM_DEXT_INSTALL_PATH=/System/Library/DriverExtensions
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TAPI_ENABLE_PROJECT_HEADERS=NO
export TAPI_VERIFY_MODE=ErrorsOnly
export TARGETED_DEVICE_FAMILY=1,2
export TARGETNAME=MultiPlatformLibrary
export TARGET_BUILD_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibrary
export TARGET_DEVICE_IDENTIFIER=dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder
export TARGET_DEVICE_PLATFORM_NAME=iphonesimulator
export TARGET_NAME=MultiPlatformLibrary
export TARGET_TEMP_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build
export TEMP_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build
export TEMP_FILES_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build
export TEMP_FILE_DIR=/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build
export TEMP_ROOT=/Users/ccmvn/AndroidStudioProjects/someone/build/ios
export TEST_FRAMEWORK_SEARCH_PATHS=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/Developer/Library/Frameworks
export TEST_LIBRARY_SEARCH_PATHS=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
export UID=501
export UNSTRIPPED_PRODUCT=NO
export USER=ccmvn
export USER_APPS_DIR=/Users/ccmvn/Applications
export USER_LIBRARY_DIR=/Users/ccmvn/Library
export USE_DYNAMIC_NO_PIC=YES
export USE_HEADERMAP=YES
export USE_HEADER_SYMLINKS=NO
export USE_LLVM_TARGET_TRIPLES=YES
export USE_LLVM_TARGET_TRIPLES_FOR_CLANG=YES
export USE_LLVM_TARGET_TRIPLES_FOR_LD=YES
export USE_LLVM_TARGET_TRIPLES_FOR_TAPI=YES
export USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES=YES
export VALIDATE_DEVELOPMENT_ASSET_PATHS=YES_ERROR
export VALIDATE_PRODUCT=NO
export VALID_ARCHS=arm64\ arm64e\ i386\ x86_64
export VERBOSE_PBXCP=NO
export VERSION_INFO_BUILDER=ccmvn
export VERSION_INFO_FILE=MultiPlatformLibrary_vers.c
export VERSION_INFO_STRING="@(#)PROGRAM:MultiPlatformLibrary\ \ PROJECT:Pods-"
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=14C18
export XCODE_VERSION_ACTUAL=1420
export XCODE_VERSION_MAJOR=1400
export XCODE_VERSION_MINOR=1420
export XPCSERVICES_FOLDER_PATH=/XPCServices
export YACC=yacc
export arch=undefined_arch
export variant=normal
/bin/sh -c /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Script-BA95BCD441577347D0C821C3908AFD77.sh
Type-safe dependency accessors is an incubating feature.
Type-safe project accessors is an incubating feature.

Task :build-logic:extractPrecompiledScriptPluginPlugins UP-TO-DATE
Task :build-logic:generateExternalPluginSpecBuilders UP-TO-DATE
Task :build-logic:compilePluginsBlocks UP-TO-DATE
Task :build-logic:generatePrecompiledScriptPluginAccessors UP-TO-DATE
Task :build-logic:configurePrecompiledScriptDependenciesResolver
Task :build-logic:generateScriptPluginAdapters UP-TO-DATE
Task :build-logic:compileKotlin UP-TO-DATE
Task :build-logic:compileJava NO-SOURCE
Task :build-logic:pluginDescriptors UP-TO-DATE
Task :build-logic:processResources UP-TO-DATE
Task :build-logic:classes UP-TO-DATE
Task :build-logic:inspectClassesForKotlinIC UP-TO-DATE
Task :build-logic:jar UP-TO-DATE

Configure project :android-app
Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated.
WARNING:DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
Warning: unerwartetes Element (URI:"", lokal:"base-extension"). Erwartete Elemente sind <{}codename>,<{}layoutlib>,<{}api-level>

Configure project :mpp-library
Kotlin Multiplatform Projects are an Alpha feature. See: https://kotlinlang.org/docs/reference/evolution/components-stability.html. To hide this message, add 'kotlin.mpp.stability.nowarn=true' to the Gradle properties.

The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

Task :mpp-library:generateMRcommonMain UP-TO-DATE
Task :mpp-library:feature:config:compileKotlinIosX64 UP-TO-DATE
Task :mpp-library:feature:list:compileKotlinIosX64 UP-TO-DATE
Task :mpp-library:generateMRiosX64Main

Task :mpp-library:domain:newsOpenApiGenerate
Execution optimizations have been disabled for task ':mpp-library:domain:newsOpenApiGenerate' to ensure correctness due to the following reasons:

  • Additional action of task ':mpp-library:domain:newsOpenApiGenerate' was implemented by the Java lambda 'dev.icerock.moko.network.tasks.GenerateTask$$Lambda$1703/0x00000008028c25a0'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implementation_unknown for more details about this problem.
    Empty operationId found for path: get /top-headlines. Renamed to auto-generated operationId: top_headlinesGet
    ################################################################################

Thanks for using OpenAPI Generator.

Please consider donation to help us maintain this project 🙏

https://opencollective.com/openapi_generator/donate

################################################################################
Successfully generated code to /Users/ccmvn/AndroidStudioProjects/someone/mpp-library/domain/build/generated/moko-network/news

Task :mpp-library:domain:openApiGenerate
Task :mpp-library:domain:compileKotlinIosX64 UP-TO-DATE
Task :mpp-library:compileKotlinIosX64 UP-TO-DATE

Task :mpp-library:linkMultiPlatformLibraryDebugFrameworkIosX64 FAILED
w: Interop library /Users/ccmvn/.gradle/caches/modules-2/files-2.1/dev.icerock.moko/resources-iosx64/0.16.2/1e13b434a066e192df8fce2e70df971a8ac2d78c/resources-cinterop-pluralizedString can't be exported with -Xexport-library
e: Compilation failed: Could not initialize class llvm.llvm

  • Source files:
  • Compiler version info: Konan: 1.5.31 / Kotlin: 1.5.31
  • Output kind: FRAMEWORK

e: java.lang.NoClassDefFoundError: Could not initialize class llvm.llvm
at org.jetbrains.kotlin.backend.konan.llvm.BitcodePhasesKt$contextLLVMSetupPhase$1.invoke(BitcodePhases.kt:34)
at org.jetbrains.kotlin.backend.konan.llvm.BitcodePhasesKt$contextLLVMSetupPhase$1.invoke(BitcodePhases.kt:25)
at org.jetbrains.kotlin.backend.konan.KonanLoweringPhasesKt$makeKonanModuleOpPhase$1.invoke(KonanLoweringPhases.kt:64)
at org.jetbrains.kotlin.backend.konan.KonanLoweringPhasesKt$makeKonanModuleOpPhase$1.invoke(KonanLoweringPhases.kt:62)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.invoke(CompilerPhase.kt:96)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:22)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.invoke(CompilerPhase.kt:96)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:29)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.invoke(CompilerPhase.kt:96)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:22)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.invoke(CompilerPhase.kt:96)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:29)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.invoke(CompilerPhase.kt:96)
at org.jetbrains.kotlin.backend.common.phaser.CompilerPhaseKt.invokeToplevel(CompilerPhase.kt:43)
at org.jetbrains.kotlin.backend.konan.KonanDriverKt.runTopLevelPhases(KonanDriver.kt:34)
at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:78)
at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:35)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:92)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:76)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:45)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit(CLITool.kt:227)
at org.jetbrains.kotlin.cli.bc.K2Native$Companion$mainNoExitWithGradleRenderer$1.invoke(K2Native.kt:333)
at org.jetbrains.kotlin.cli.bc.K2Native$Companion$mainNoExitWithGradleRenderer$1.invoke(K2Native.kt:332)
at org.jetbrains.kotlin.util.UtilKt.profileIf(Util.kt:22)
at org.jetbrains.kotlin.util.UtilKt.profile(Util.kt:16)
at org.jetbrains.kotlin.cli.bc.K2Native$Companion.mainNoExitWithGradleRenderer(K2Native.kt:332)
at org.jetbrains.kotlin.cli.bc.K2NativeKt.mainNoExitWithGradleRenderer(K2Native.kt:532)
at org.jetbrains.kotlin.cli.utilities.MainKt$daemonMain$1.invoke(main.kt:62)
at org.jetbrains.kotlin.cli.utilities.MainKt$daemonMain$1.invoke(main.kt:62)
at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:17)
at org.jetbrains.kotlin.cli.utilities.MainKt.daemonMain(main.kt:62)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.jetbrains.kotlin.compilerRunner.KotlinToolRunner.runInProcess(KotlinToolRunner.kt:128)
at org.jetbrains.kotlin.compilerRunner.KotlinToolRunner.run(KotlinToolRunner.kt:77)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinNativeCompile.compile(KotlinNativeTasks.kt:349)
at org.jetbrains.kotlin.gradle.tasks.KotlinNativeLink.compile(KotlinNativeTasks.kt:679)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$2.run(ExecuteActionsTaskExecuter.java:502)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:74)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:74)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:487)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:470)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:106)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:271)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:249)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:79)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:79)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:50)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:58)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:39)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:180)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:75)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:46)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:40)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:29)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:105)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:98)
at java.base/java.util.Optional.map(Optional.java:260)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:53)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:37)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:85)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:42)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:92)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:73)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:47)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:92)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:92)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:33)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:43)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:31)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution$2.withWorkspace(ExecuteActionsTaskExecuter.java:284)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:185)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:174)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:79)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:79)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: Can't load library: /Users/ccmvn/.konan/kotlin-native-prebuilt-macos-aarch64-1.5.31/konan/nativelib/10590514737800372462/libllvmstubs.dylib [in thread "Execution worker for ':' Thread 7"]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2408)
at java.base/java.lang.Runtime.load0(Runtime.java:785)
at java.base/java.lang.System.load(System.java:2011)
at kotlinx.cinterop.JvmUtilsKt.loadKonanLibrary(JvmUtils.kt:119)
at llvm.llvm.(llvm.kt:5980)
... 165 more

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':mpp-library:linkMultiPlatformLibraryDebugFrameworkIosX64'.

Compilation finished with errors

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 6s
19 actionable tasks: 4 executed, 15 up-to-date
Command PhaseScriptExecution failed with a nonzero exit code

warning: Run script build phase '[CP] Embed Pods Frameworks' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ios-app' from project 'ios-app')
/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'SkyFloatingLabelTextField' from project 'Pods')
/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'AlamofireImage' from project 'Pods')
/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'Alamofire' from project 'Pods')
** BUILD FAILED **

The following build commands failed:
PhaseScriptExecution [CP-User]\ Compile\ Kotlin/Native /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibrary.build/Script-BA95BCD441577347D0C821C3908AFD77.sh (in target 'MultiPlatformLibrary' from project 'Pods')
(1 failure)`

Bug: You can compile only with x86_64 and not with ARM64

The problem here is if I build the iOS app via XCode with x86_64 then the whole thing works, but if I build the app under ARM64 then this error appears.

✅ x86_64-apple-ios12.0-simulator
❌ arm64-apple-ios12.0-simulator

SwiftDriverJobDiscovery normal arm64 Compiling UIButton+LiveData.swift (in target 'MultiPlatformLibraryMvvm' from project 'Pods')

SwiftDriverJobDiscovery normal arm64 Compiling UILabel+LiveData.swift (in target 'MultiPlatformLibraryMvvm' from project 'Pods')

SwiftDriverJobDiscovery normal arm64 Compiling UITextView+LiveData.swift (in target 'MultiPlatformLibraryMvvm' from project 'Pods')

SwiftDriverJobDiscovery normal arm64 Compiling UICollectionViewCellUnit.swift (in target 'MultiPlatformLibraryUnits' from project 'Pods')

SwiftDriverJobDiscovery normal arm64 Compiling UIImageView+LiveData.swift (in target 'MultiPlatformLibraryMvvm' from project 'Pods')

SwiftDriverJobDiscovery normal arm64 Compiling SkyFloatingLabelTextField+LiveData.swift (in target 'MultiPlatformLibraryMvvm' from project 'Pods')

SwiftDriver\ Compilation MultiPlatformLibraryMvvm normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MultiPlatformLibraryMvvm' from project 'Pods')
cd /Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
builtin-Swift-Compilation -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name MultiPlatformLibraryMvvm -Onone -enforce-exclusivity=checked @/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm.SwiftFileList -DDEBUG -D COCOAPODS -suppress-warnings -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk -target arm64-apple-ios12.0-simulator -enable-bare-slash-regex -g -module-cache-path /Users/ccmvn/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/ccmvn/Library/Developer/Xcode/DerivedData/ios-app-etfmoydgxmxqxhciqxpiyqpcumox/Index.noindex/DataStore -swift-version 5 -I /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm -F /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm -F /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/Alamofire -F /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/AlamofireImage -F /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/SkyFloatingLabelTextField -F /Users/ccmvn/AndroidStudioProjects/someone/mpp-library/build/cocoapods/framework -c -j10 -enable-batch-mode -incremental -output-file-map /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm.swiftmodule -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/MultiPlatformLibraryMvvm-generated-files.hmap -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/MultiPlatformLibraryMvvm-own-target-headers.hmap -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/MultiPlatformLibraryMvvm-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/MultiPlatformLibraryMvvm-project-headers.hmap -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm/include -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/DerivedSources-normal/arm64 -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/DerivedSources/arm64 -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -emit-objc-header -emit-objc-header-path /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/unextended-module-overlay.yaml -working-directory /Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods -experimental-emit-module-separately

Ld /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm/MultiPlatformLibraryMvvm.framework/MultiPlatformLibraryMvvm normal (in target 'MultiPlatformLibraryMvvm' from project 'Pods')
cd /Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios12.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk -L/Users/ccmvn/AndroidStudioProjects/someone/build/ios/EagerLinkingTBDs -L/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/lib/swift -F/Users/ccmvn/AndroidStudioProjects/someone/build/ios/EagerLinkingTBDs -F/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm -F/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/Alamofire -F/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/AlamofireImage -F/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/SkyFloatingLabelTextField -F/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods/../../mpp-library/build/cocoapods/framework -filelist /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm.LinkFileList -install_name @rpath/MultiPlatformLibraryMvvm.framework/MultiPlatformLibraryMvvm -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm.swiftmodule -framework AlamofireImage -framework MultiPlatformLibrary -framework SkyFloatingLabelTextField -framework Foundation -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryMvvm.build/Objects-normal/arm64/MultiPlatformLibraryMvvm_dependency_info.dat -o /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm/MultiPlatformLibraryMvvm.framework/MultiPlatformLibraryMvvm
ld: warning: ignoring file /Users/ccmvn/AndroidStudioProjects/someone/mpp-library/build/cocoapods/framework/MultiPlatformLibrary.framework/MultiPlatformLibrary, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64
Undefined symbols for architecture arm64:
"OBJC_CLASS$_MPLUIButtonBindingKt", referenced from:
objc-class-ref in UIButton+LiveData.o
"OBJC_CLASS$_MPLUILabelBindingKt", referenced from:
objc-class-ref in UILabel+LiveData.o
"OBJC_CLASS$_MPLUISwitchBindingKt", referenced from:
objc-class-ref in UISwitch+LiveData.o
"OBJC_CLASS$_MPLUITextFieldBindingKt", referenced from:
objc-class-ref in UITextField+LiveData.o
"OBJC_CLASS$_MPLUITextViewBindingKt", referenced from:
objc-class-ref in UITextView+LiveData.o
"OBJC_CLASS$_MPLUIViewBindingKt", referenced from:
objc-class-ref in UIView+LiveData.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

SwiftDriverJobDiscovery normal arm64 Compiling UITableView+Reusable.swift (in target 'MultiPlatformLibraryUnits' from project 'Pods')

SwiftDriverJobDiscovery normal arm64 Compiling UnitsSource+Reload.swift (in target 'MultiPlatformLibraryUnits' from project 'Pods')

SwiftDriverJobDiscovery normal arm64 Compiling Reusable.swift (in target 'MultiPlatformLibraryUnits' from project 'Pods')

SwiftDriver\ Compilation MultiPlatformLibraryUnits normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MultiPlatformLibraryUnits' from project 'Pods')
cd /Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
builtin-Swift-Compilation -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name MultiPlatformLibraryUnits -Onone -enforce-exclusivity=checked @/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits.SwiftFileList -DDEBUG -D COCOAPODS -suppress-warnings -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk -target arm64-apple-ios12.0-simulator -enable-bare-slash-regex -g -module-cache-path /Users/ccmvn/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/ccmvn/Library/Developer/Xcode/DerivedData/ios-app-etfmoydgxmxqxhciqxpiyqpcumox/Index.noindex/DataStore -swift-version 5 -I /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryUnits -F /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryUnits -F /Users/ccmvn/AndroidStudioProjects/someone/mpp-library/build/cocoapods/framework -c -j10 -enable-batch-mode -incremental -output-file-map /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits.swiftmodule -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/MultiPlatformLibraryUnits-generated-files.hmap -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/MultiPlatformLibraryUnits-own-target-headers.hmap -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/MultiPlatformLibraryUnits-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/MultiPlatformLibraryUnits-project-headers.hmap -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryUnits/include -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/DerivedSources-normal/arm64 -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/DerivedSources/arm64 -Xcc -I/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -emit-objc-header -emit-objc-header-path /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/unextended-module-overlay.yaml -working-directory /Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods -experimental-emit-module-separately

Ld /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryUnits/MultiPlatformLibraryUnits.framework/MultiPlatformLibraryUnits normal (in target 'MultiPlatformLibraryUnits' from project 'Pods')
cd /Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios12.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk -L/Users/ccmvn/AndroidStudioProjects/someone/build/ios/EagerLinkingTBDs -L/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryUnits -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/lib/swift -F/Users/ccmvn/AndroidStudioProjects/someone/build/ios/EagerLinkingTBDs -F/Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryUnits -F/Users/ccmvn/AndroidStudioProjects/someone/ios-app/Pods/../../mpp-library/build/cocoapods/framework -filelist /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits.LinkFileList -install_name @rpath/MultiPlatformLibraryUnits.framework/MultiPlatformLibraryUnits -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits.swiftmodule -framework MultiPlatformLibrary -framework Foundation -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Pods.build/Debug-iphonesimulator/MultiPlatformLibraryUnits.build/Objects-normal/arm64/MultiPlatformLibraryUnits_dependency_info.dat -o /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryUnits/MultiPlatformLibraryUnits.framework/MultiPlatformLibraryUnits
ld: warning: ignoring file /Users/ccmvn/AndroidStudioProjects/someone/mpp-library/build/cocoapods/framework/MultiPlatformLibrary.framework/MultiPlatformLibrary, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64

warning: None of the architectures in ARCHS (arm64) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (arm64, arm64e, i386, x86_64) which is not in EXCLUDED_ARCHS (arm64). (in target 'ios-app' from project 'ios-app')
warning: Run script build phase '[CP] Embed Pods Frameworks' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ios-app' from project 'ios-app')
** BUILD FAILED **

The following build commands failed:
Ld /Users/ccmvn/AndroidStudioProjects/someone/build/ios/Debug-iphonesimulator/MultiPlatformLibraryMvvm/MultiPlatformLibraryMvvm.framework/MultiPlatformLibraryMvvm normal (in target 'MultiPlatformLibraryMvvm' from project 'Pods')
(1 failure)

Project does not build

Different from the previous issue, this one says

Gradle sync failed: Cannot use connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.2-bin.zip' as it has been stopped. (456 ms)

Generating multiple APIs on the domain module

I tried to generating another api on the domain module by adding another openApiGenerate section to the build script but it seems that the generator generates only the last API entry. Is there a way generate several APIs? Do I need to create a separate domain module for each API?

Error connect plugins

Hi, I try konnect and use "kotlinx-serialization" and "kotlin-android-extensions" on build.gradle.kts (Module: android-app), but it not work. I dont understand why.

build.gradle.kts (Module: android-app):
1
2

Deps:
3

Deps.Libs:
4

5

In Model Serializer print - kotlinx.serialization compiler plugin is not applied to the module:
6

Dont work:
7

And kotlin-android-extensions dont work too:
8

Pod Install : inputDir does not exist

Hi @Alex009
Could you help me with pod integration, i try to follow moko-template project structure but ends up with this error, i'm not have idea why ‘inputDir’ not generated by the gradle task probably syncMultiPlatformLibraryDebugFrameworkIosX64
here my verbose log:

➜  ios pod install --verbose
  Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-ios`: (``)

Finding Podfile changes
  - MultiPlatformLibrary
  - MultiPlatformLibraryMvvm
  - MultiPlatformLibraryUnits

Fetching external sources
-> Fetching podspec for `MultiPlatformLibrary` from `../kmm-library`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only
  perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_8_0_a.txt exists! Returning local because checking
  is only perfomed in repo update
  CDN: trunk Relative path: Specs/8/0/a/AlamofireImage/4.1.0/AlamofireImage.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_f_8_f.txt exists! Returning local because checking
  is only perfomed in repo update
  CDN: trunk Relative path:
  Specs/f/8/f/SkyFloatingLabelTextField/4.0.0/SkyFloatingLabelTextField.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/8/0/a/AlamofireImage/4.1.0/AlamofireImage.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_d_a_2.txt exists! Returning local because checking
  is only perfomed in repo update
  CDN: trunk Relative path: Specs/d/a/2/Alamofire/5.4.1/Alamofire.podspec.json exists! Returning
  local because checking is only perfomed in repo update
  CDN: trunk Relative path:
  Specs/f/8/f/SkyFloatingLabelTextField/3.8.0/SkyFloatingLabelTextField.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/d/a/2/Alamofire/5.4.1/Alamofire.podspec.json exists! Returning
  local because checking is only perfomed in repo update

Comparing resolved specification to the sandbox manifest
  - Alamofire
  - AlamofireImage
  - MultiPlatformLibrary
  - MultiPlatformLibraryMvvm
  - MultiPlatformLibraryUnits
  - SkyFloatingLabelTextField

Downloading dependencies

-> Using Alamofire (5.4.1)

-> Using AlamofireImage (4.1.0)

-> Using MultiPlatformLibrary (0.1.0)

-> Using MultiPlatformLibraryMvvm (0.8.1)

-> Using MultiPlatformLibraryUnits (0.4.0)

-> Using SkyFloatingLabelTextField (3.8.0)
  - Running pre install hooks
prepare MultiPlatformLibrary.framework (require some time...)

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':kmm-library:syncMultiPlatformLibraryDebugFrameworkIosX64' (type 'SyncCocoaPodFrameworkTask').
> Directory '/Users/rhony/TestProject/kmm-library/build/bin/iosX64/MultiPlatformLibraryDebugFramework' specified for property 'inputDir' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
preparing MultiPlatformLibrary.framework complete
    - Podfile

Generating Pods project
  - Creating Pods project
  - Installing files into Pods project
    - Adding source files
    - Adding frameworks
    - Adding libraries
    - Adding resources
    - Adding development pod helper files
    - Linking headers
  - Installing Pod Targets
    - Installing target `Alamofire` iOS 10.0
      - Generating module map file at `Pods/Target Support Files/Alamofire/Alamofire.modulemap`
      - Generating umbrella header at `Pods/Target Support Files/Alamofire/Alamofire-umbrella.h`
      - Generating Info.plist file at `Pods/Target Support Files/Alamofire/Alamofire-Info.plist`
      - Generating dummy source at `Pods/Target Support Files/Alamofire/Alamofire-dummy.m`
    - Installing target `AlamofireImage` iOS 10.0
      - Generating module map file at `Pods/Target Support
      Files/AlamofireImage/AlamofireImage.modulemap`
      - Generating umbrella header at `Pods/Target Support
      Files/AlamofireImage/AlamofireImage-umbrella.h`
      - Generating Info.plist file at `Pods/Target Support
      Files/AlamofireImage/AlamofireImage-Info.plist`
      - Generating dummy source at `Pods/Target Support
      Files/AlamofireImage/AlamofireImage-dummy.m`
    - Installing target `MultiPlatformLibrary` iOS 11.0
    - Installing target `MultiPlatformLibraryMvvm` iOS 11.0
      - Generating module map file at `Pods/Target Support
      Files/MultiPlatformLibraryMvvm/MultiPlatformLibraryMvvm.modulemap`
      - Generating umbrella header at `Pods/Target Support
      Files/MultiPlatformLibraryMvvm/MultiPlatformLibraryMvvm-umbrella.h`
      - Generating Info.plist file at `Pods/Target Support
      Files/MultiPlatformLibraryMvvm/MultiPlatformLibraryMvvm-Info.plist`
      - Generating dummy source at `Pods/Target Support
      Files/MultiPlatformLibraryMvvm/MultiPlatformLibraryMvvm-dummy.m`
    - Installing target `MultiPlatformLibraryUnits` iOS 9.0
      - Generating module map file at `Pods/Target Support
      Files/MultiPlatformLibraryUnits/MultiPlatformLibraryUnits.modulemap`
      - Generating umbrella header at `Pods/Target Support
      Files/MultiPlatformLibraryUnits/MultiPlatformLibraryUnits-umbrella.h`
      - Generating Info.plist file at `Pods/Target Support
      Files/MultiPlatformLibraryUnits/MultiPlatformLibraryUnits-Info.plist`
      - Generating dummy source at `Pods/Target Support
      Files/MultiPlatformLibraryUnits/MultiPlatformLibraryUnits-dummy.m`
    - Installing target `SkyFloatingLabelTextField` iOS 8.0
      - Generating module map file at `Pods/Target Support
      Files/SkyFloatingLabelTextField/SkyFloatingLabelTextField.modulemap`
      - Generating umbrella header at `Pods/Target Support
      Files/SkyFloatingLabelTextField/SkyFloatingLabelTextField-umbrella.h`
      - Generating Info.plist file at `Pods/Target Support
      Files/SkyFloatingLabelTextField/SkyFloatingLabelTextField-Info.plist`
      - Generating dummy source at `Pods/Target Support
      Files/SkyFloatingLabelTextField/SkyFloatingLabelTextField-dummy.m`
  - Installing Aggregate Targets
    - Installing target `Pods-ios` iOS 11.0
      - Generating Info.plist file at `Pods/Target Support Files/Pods-ios/Pods-ios-Info.plist`
      - Generating module map file at `Pods/Target Support Files/Pods-ios/Pods-ios.modulemap`
      - Generating umbrella header at `Pods/Target Support Files/Pods-ios/Pods-ios-umbrella.h`
      - Generating dummy source at `Pods/Target Support Files/Pods-ios/Pods-ios-dummy.m`
  - Integrating targets

Integrating target `MultiPlatformLibrary`
    Adding Build Phase '[CP-User] Compile Kotlin/Native' to project.
  - Generating deterministic UUIDs
  - Stabilizing target UUIDs
  - Running post install hooks
  - Writing Xcode project file to `Pods/Pods.xcodeproj`
  Cleaning up sandbox directory

Integrating client project

Integrating target `Pods-ios` (`ios.xcodeproj` project)
  - Running post integrate hooks
  - Writing Lockfile in `Podfile.lock`
  - Writing Manifest in `Pods/Manifest.lock`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only
  perfomed in repo update

-> Pod installation complete! There are 5 dependencies from the Podfile and 6 total pods installed.

@Generated bug

should be added into root build.gradle:

allprojects {
    afterEvaluate {
        dependencies {
            if(configurations.map { it.name }.contains("compileOnly")) {
                // fix of package javax.annotation does not exist import javax.annotation.Generated in DataBinding code
                "compileOnly"("javax.annotation:jsr250-api:1.0")
            }
        }
    }
}

reason is:

error: cannot find symbol
@Generated("Android Data Binding")
 ^
  symbol: class Generated

Adding Android specific maven repository

Hello,

This is a question, nos an issue, so you can label as so if you like. I'm trying to add an Android specific dependency and to do so they require to add a new maven repository in the section "repositories" under "allprojects". I'm doing it in the root project "build.gradle.kts" (along with all the others). Then I add the dependencies inside the section "dependencies" of the module "android-app", just like in any other Android project.

The problem is it is giving me an error "Unable to resolve dependency" as if I hadn't added the repository. So, my question is: am I missing something? Is that the correct file to add the repo for an Android specific dependency?

Thanks in advance for all the help

Adding SQLDelight to the project

I would like to ask a question, if you can help me with it: I'm trying to add SQLDelight to the project. In its doc page it is said to add these dependencies:

kotlin {
  // The drivers needed will change depending on what platforms you target:

  sourceSets.androidMain.dependencies {
    implementation "com.squareup.sqldelight:android-driver:1.4.3"
  }

  // or sourceSets.iosMain, sourceSets.windowsMain, etc.
  sourceSets.nativeMain.dependencies {
    implementation "com.squareup.sqldelight:native-driver:1.4.3"
  }

  sourceSets.jvmMain.dependencies {
    implementation "com.squareup.sqldelight:sqlite-driver:1.4.3"
  }
}

So, in which part of the template should this be added? I have failed to find specific sourceSet for native, to tell the truth.

Thanks

buildSrc vs build-logic

I have been using previous versions of moko-template and use it in own projects. I have noticed that the buildSrc is not present now, and build-logic and gradle/libs.versions.toml are replacing it. It is the natural replacement of buildSrc? Personally I prefer the buildSrc kotlin style, but I would like to know if there are some advantages of using build-logic over buildSrc.

Java Runtime problem on Big Sur 11.5.2

I guest this is not a problem of this template by itself, but more like the mac setup.

I still post a question here in case anyone can help. When running the sample project, I get this error

Screenshot 2021-08-23 at 10 16 48 AM

I have installed java using jenv and can see it in terminal

~ java --version
openjdk 16.0.2 2021-07-20
OpenJDK Runtime Environment Homebrew (build 16.0.2+0)
OpenJDK 64-Bit Server VM Homebrew (build 16.0.2+0, mixed mode, sharing)
➜  ~ echo $JAVA_HOME
/Users/binhan.tran/.jenv/versions/openjdk64-16.0.2

Not sure how to make Xcode recognises my java runtime. Anyone can help?

Problem with moko resources in the template

Hello,

I'm trying to use Moko-resources within this template. I know the library is already included in the project, so I created a string.xml and I can access it from the android-app module. However, I'm also trying to use the strings from the feature module, in one of the ViewModels, using the example function:

fun getMyString(): StringDesc {
        return StringDesc.Resource(MR.strings.my_string)
    }

The problem is that the class MR can't be found from this scope, and I don't know how to solve it. I've already generated the class with the gradle task generateMRcommonMain, and I can see it within build/generated/moko/commonMain/src/bundleid/.

Can anyone help me solve it?

pod install fails

Xcode 11.3.1, cocoapods 1.9.3. Xcode commandline tools are installed.
When running pod install I get an error:

prepare MultiPlatformLibrary.framework (require some time...)
e: org.jetbrains.kotlin.konan.MissingXcodeException: An error occurred during an xcrun execution. Make sure that Xcode and its command line tools are properly installed.
        at org.jetbrains.kotlin.konan.target.CurrentXcode.xcrun(Xcode.kt:77)
...
Caused by: org.jetbrains.kotlin.konan.KonanExternalToolFailure: The /usr/bin/xcrun command returned non-zero exit code: 72.
output: 
        at org.jetbrains.kotlin.konan.exec.Command.handleExitCode(ExecuteCommand.kt:105)
...
e: org.jetbrains.kotlin.konan.MissingXcodeException: An error occurred during an xcrun execution. Make sure that Xcode and its command line tools are properly installed.
        at org.jetbrains.kotlin.konan.target.CurrentXcode.xcrun(Xcode.kt:77)
...
FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':mpp-library:feature:config:compileKotlinIosX64'.
> Compilation finished with errors

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':mpp-library:feature:list:compileKotlinIosX64'.
> Compilation finished with errors

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':mpp-library:domain:compileKotlinIosX64'.
> Compilation finished with errors

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

Is there anything that should be done differently?
Android projects build and runs fine (but only from Android studio v 4.0.1, not from Idea CE).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.