JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.27k stars 1.18k forks source link

Implementing Room causes issue to run iOS App in Simulator #4774

Closed binayshaw7777 closed 6 months ago

binayshaw7777 commented 6 months ago

Describe the bug I'm building a CMP app using Room and newly introduced Navigation and VM libs for Multiplatform. I was able to run this app perfectly on both Android and Desktop (Windows + Mac), but I can't run it on iOS Simulator. Happens right after implementing Room and SQLite libs.

Affected platforms

Versions

Screenshots

Additional context I've tested other app that used Room in CMP, their app worked fine.

Full log


    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/user/Desktop/KMP/Knowtify/iosApp/iosApp.xcodeproj/project.xcworkspace -scheme iosApp -configuration Debug OBJROOT=/Users/user/Desktop/KMP/Knowtify/build/ios SYMROOT=/Users/user/Desktop/KMP/Knowtify/build/ios -destination id=84E1A9F7-48E6-476E-9ABC-162478817827 -allowProvisioningDeviceRegistration -allowProvisioningUpdates

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    OBJROOT = /Users/user/Desktop/KMP/Knowtify/build/ios
    SYMROOT = /Users/user/Desktop/KMP/Knowtify/build/ios

Prepare packages

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'iosApp' in project 'iosApp' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

warning: Run script build phase 'Compile Kotlin Framework' 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 'iosApp' from project 'iosApp')
PhaseScriptExecution Compile\ Kotlin\ Framework /Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-F36B1CEB2AD83DDC00CB74D5.sh (in target 'iosApp' from project 'iosApp')
    cd /Users/user/Desktop/KMP/Knowtify/iosApp
    export ACTION\=build
    export AD_HOC_CODE_SIGNING_ALLOWED\=YES
    export AGGREGATE_TRACKED_DOMAINS\=YES
    export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO
    export ALTERNATE_GROUP\=staff
    export ALTERNATE_MODE\=u+w,go-w,a+rX
    export ALTERNATE_OWNER\=user
    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 APP_NAME\=Knowtify
    export APP_SHORTCUTS_ENABLE_FLEXIBLE_MATCHING\=YES
    export ARCHS\=x86_64
    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_GENERATE_ASSET_SYMBOLS\=YES
    export ASSETCATALOG_FILTER_FOR_DEVICE_MODEL\=iPhone14,5
    export ASSETCATALOG_FILTER_FOR_DEVICE_OS_VERSION\=17.0
    export ASSETCATALOG_FILTER_FOR_THINNING_DEVICE_CONFIGURATION\=iPhone14,5
    export AUTOMATICALLY_MERGE_DEPENDENCIES\=NO
    export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator\ xros\ xrsimulator
    export AppIdentifierPrefix\=8RSYZ4S4BD.
    export BITCODE_GENERATION_MODE\=marker
    export BUILD_ACTIVE_RESOURCES_ONLY\=YES
    export BUILD_COMPONENTS\=headers\ build
    export BUILD_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios
    export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO
    export BUILD_ROOT\=/Users/user/Desktop/KMP/Knowtify/build/ios
    export BUILD_STYLE\=
    export BUILD_VARIANTS\=normal
    export BUILT_PRODUCTS_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator
    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_ID\=com.binayshaw7777.knowtify.Knowtify
    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/44/7jq_wpkx37l5m7vw849vbz840000gn/C/com.apple.DeveloperTools/15.3-15E204a/Xcode
    export CCHROOT\=/var/folders/44/7jq_wpkx37l5m7vw849vbz840000gn/C/com.apple.DeveloperTools/15.3-15E204a/Xcode
    export CHMOD\=/bin/chmod
    export CHOWN\=/usr/sbin/chown
    export CLANG_ANALYZER_NONNULL\=YES
    export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION\=YES_AGGRESSIVE
    export CLANG_COMPILE_CACHE_PATH\=/Users/user/Library/Developer/Xcode/DerivedData/CompilationCache.noindex
    export CLANG_CXX_LANGUAGE_STANDARD\=gnu++14
    export CLANG_CXX_LIBRARY\=libc++
    export CLANG_ENABLE_EXPLICIT_MODULES\=NO
    export CLANG_ENABLE_MODULES\=YES
    export CLANG_ENABLE_OBJC_ARC\=YES
    export CLANG_ENABLE_OBJC_WEAK\=YES
    export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/user/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\=YES
    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/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/JavaClasses
    export CLEAN_PRECOMPS\=YES
    export CLONE_HEADERS\=NO
    export CODESIGNING_FOLDER_PATH\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator/Knowtify.app
    export CODE_SIGNING_ALLOWED\=YES
    export CODE_SIGNING_REQUIRED\=YES
    export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneSimulatorCodeSignContext
    export CODE_SIGN_IDENTITY\=Apple\ Development
    export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES
    export CODE_SIGN_STYLE\=Automatic
    export COLOR_DIAGNOSTICS\=NO
    export COMBINE_HIDPI_IMAGES\=NO
    export COMPILATION_CACHE_KEEP_CAS_DIRECTORY\=YES
    export COMPILER_INDEX_STORE_ENABLE\=Default
    export COMPOSITE_SDK_DIRS\=/Users/user/Desktop/KMP/Knowtify/build/ios/CompositeSDKs
    export COMPRESS_PNG_FILES\=YES
    export CONFIGURATION\=Debug
    export CONFIGURATION_BUILD_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator
    export CONFIGURATION_TEMP_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator
    export CONTENTS_FOLDER_PATH\=Knowtify.app
    export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Knowtify.app/Contents
    export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Knowtify.app
    export COPYING_PRESERVES_HFS_DATA\=NO
    export COPY_HEADERS_RUN_UNIFDEF\=NO
    export COPY_PHASE_STRIP\=NO
    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/iPhoneOS17.4.sdk
    export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos17.4
    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-with-dsym
    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\=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\ 16.3\ 16.4\ 16.5\ 16.6\ 17.0\ 17.1\ 17.2\ 17.3\ 17.4
    export DERIVED_FILES_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/DerivedSources
    export DERIVED_FILE_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/DerivedSources
    export DERIVED_SOURCES_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.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_ASSET_PATHS\=\"iosApp/Preview\ Content\"
    export DEVELOPMENT_LANGUAGE\=en
    export DIFF\=/usr/bin/diff
    export DOCUMENTATION_FOLDER_PATH\=Knowtify.app/en.lproj/Documentation
    export DONT_GENERATE_INFOPLIST_FILE\=NO
    export DO_HEADER_SCANNING_IN_JAM\=NO
    export DSTROOT\=/tmp/iosApp.dst
    export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME\=Knowtify.app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO
    export DWARF_DSYM_FOLDER_PATH\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator
    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_CODE_COVERAGE\=YES
    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\=YES
    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 ENABLE_XOJIT_PREVIEWS\=NO
    export ENTITLEMENTS_ALLOWED\=NO
    export ENTITLEMENTS_DESTINATION\=__entitlements
    export ENTITLEMENTS_REQUIRED\=NO
    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 EXECUTABLES_FOLDER_PATH\=Knowtify.app/Executables
    export EXECUTABLE_FOLDER_PATH\=Knowtify.app
    export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Knowtify.app/MacOS
    export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Knowtify.app
    export EXECUTABLE_NAME\=Knowtify
    export EXECUTABLE_PATH\=Knowtify.app/Knowtify
    export EXPANDED_CODE_SIGN_IDENTITY\=-
    export EXPANDED_CODE_SIGN_IDENTITY_NAME\=-
    export EXTENSIONS_FOLDER_PATH\=Knowtify.app/Extensions
    export FILE_LIST\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects/LinkFileList
    export FIXED_FILES_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH\=Knowtify.app/Frameworks
    export FRAMEWORK_FLAG_PREFIX\=-framework
    export FRAMEWORK_SEARCH_PATHS\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator\ /Users/user/Desktop/KMP/Knowtify/iosApp/../shared/build/xcode-frameworks/Debug/iphonesimulator17.4'
'/Users/user/Desktop/KMP/Knowtify/iosApp/../composeApp/build/xcode-frameworks/Debug/iphonesimulator17.4
    export FRAMEWORK_VERSION\=A
    export FULL_PRODUCT_NAME\=Knowtify.app
    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_INLINES_ARE_PRIVATE_EXTERN\=YES
    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\=DEBUG\=1\ 
    export GCC_SYMBOLS_PRIVATE_EXTERN\=NO
    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/user/Desktop/KMP/Knowtify/build/ios/GeneratedModuleMaps-iphonesimulator
    export GENERATE_INFOPLIST_FILE\=NO
    export GENERATE_INTERMEDIATE_TEXT_BASED_STUBS\=YES
    export GENERATE_MASTER_OBJECT_FILE\=NO
    export GENERATE_PKGINFO_FILE\=YES
    export GENERATE_PROFILING_CODE\=NO
    export GENERATE_TEXT_BASED_STUBS\=NO
    export GID\=20
    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 HEADER_SEARCH_PATHS\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator/include\ 
    export HIDE_BITCODE_SYMBOLS\=YES
    export HOME\=/Users/user
    export HOST_ARCH\=x86_64
    export HOST_PLATFORM\=macosx
    export ICONV\=/usr/bin/iconv
    export INFOPLIST_ENABLE_CFBUNDLEICONS_MERGE\=YES
    export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES
    export INFOPLIST_FILE\=iosApp/Info.plist
    export INFOPLIST_OUTPUT_FORMAT\=binary
    export INFOPLIST_PATH\=Knowtify.app/Info.plist
    export INFOPLIST_PREPROCESS\=NO
    export INFOSTRINGS_PATH\=Knowtify.app/en.lproj/InfoPlist.strings
    export INLINE_PRIVATE_FRAMEWORKS\=NO
    export INSTALLHDRS_COPY_PHASE\=NO
    export INSTALLHDRS_SCRIPT_PHASE\=NO
    export INSTALL_DIR\=/tmp/iosApp.dst/Applications
    export INSTALL_GROUP\=staff
    export INSTALL_MODE_FLAG\=u+w,go-w,a+rX
    export INSTALL_OWNER\=user
    export INSTALL_PATH\=/Applications
    export INSTALL_ROOT\=/tmp/iosApp.dst
    export IPHONEOS_DEPLOYMENT_TARGET\=15.3
    export IS_UNOPTIMIZED_BUILD\=YES
    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_FOLDER_PATH\=Knowtify.app/Java
    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/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/undefined_arch/Knowtify_dependency_info.dat
    export LD_ENTITLEMENTS_SECTION\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Knowtify.app-Simulated.xcent
    export LD_ENTITLEMENTS_SECTION_DER\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Knowtify.app-Simulated.xcent.der
    export LD_EXPORT_SYMBOLS\=YES
    export LD_GENERATE_MAP_FILE\=NO
    export LD_MAP_FILE_PATH\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Knowtify-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 LD_RUNPATH_SEARCH_PATHS_YES\=@loader_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_FLAG_PREFIX\=-l
    export LIBRARY_KEXT_INSTALL_PATH\=/Library/Extensions
    export LIBRARY_SEARCH_PATHS\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator\ 
    export LINKER_DISPLAYS_MANGLED_NAMES\=NO
    export LINK_FILE_LIST_normal_x86_64\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/x86_64/Knowtify.LinkFileList
    export LINK_OBJC_RUNTIME\=YES
    export LINK_WITH_STANDARD_LIBRARIES\=YES
    export LLVM_TARGET_TRIPLE_OS_VERSION\=ios15.3
    export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator
    export LLVM_TARGET_TRIPLE_VENDOR\=apple
    export LM_AUX_CONST_METADATA_LIST_PATH_normal_x86_64\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/x86_64/Knowtify.SwiftConstValuesFileList
    export LOCALIZATION_EXPORT_SUPPORTED\=YES
    export LOCALIZATION_PREFERS_STRING_CATALOGS\=NO
    export LOCALIZED_RESOURCES_FOLDER_PATH\=Knowtify.app/en.lproj
    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/user/Desktop/KMP/Knowtify/iosApp
    export LOCSYMROOT\=/Users/user/Desktop/KMP/Knowtify/iosApp
    export MACH_O_TYPE\=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION\=23A344
    export MAC_OS_X_VERSION_ACTUAL\=140000
    export MAC_OS_X_VERSION_MAJOR\=140000
    export MAC_OS_X_VERSION_MINOR\=140000
    export MAKE_MERGEABLE\=NO
    export MERGEABLE_LIBRARY\=NO
    export MERGED_BINARY_TYPE\=none
    export MERGE_LINKED_LIBRARIES\=NO
    export METAL_LIBRARY_FILE_BASE\=default
    export METAL_LIBRARY_OUTPUT_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator/Knowtify.app
    export MODULES_FOLDER_PATH\=Knowtify.app/Modules
    export MODULE_CACHE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
    export MTL_ENABLE_DEBUG_INFO\=INCLUDE_SOURCE
    export MTL_FAST_MATH\=YES
    export NATIVE_ARCH\=x86_64
    export NATIVE_ARCH_32_BIT\=i386
    export NATIVE_ARCH_64_BIT\=x86_64
    export NATIVE_ARCH_ACTUAL\=x86_64
    export NO_COMMON\=YES
    export OBJC_ABI_VERSION\=2
    export OBJECT_FILE_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects
    export OBJECT_FILE_DIR_normal\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal
    export OBJROOT\=/Users/user/Desktop/KMP/Knowtify/build/ios
    export ONLY_ACTIVE_ARCH\=YES
    export OS\=MACOS
    export OSAC\=/usr/bin/osacompile
    export OTHER_LDFLAGS\=\ -framework\ composeApp
    export PACKAGE_TYPE\=com.apple.package-type.wrapper.application
    export PASCAL_STRINGS\=YES
    export PATH\=/Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/PlugIns/XCBSpecifications.ideplugin:/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:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
    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 PBDEVELOPMENTPLIST_PATH\=Knowtify.app/pbdevelopment.plist
    export PER_ARCH_OBJECT_FILE_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/undefined_arch
    export PER_VARIANT_OBJECT_FILE_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal
    export PKGINFO_FILE_PATH\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/PkgInfo
    export PKGINFO_PATH\=Knowtify.app/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\=21E210
    export PLIST_FILE_OUTPUT_FORMAT\=binary
    export PLUGINS_FOLDER_PATH\=Knowtify.app/PlugIns
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES
    export PRECOMP_DESTINATION_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO
    export PRIVATE_HEADERS_FOLDER_PATH\=Knowtify.app/PrivateHeaders
    export PROCESSED_INFOPLIST_PATH\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/undefined_arch/Processed-Info.plist
    export PRODUCT_BUNDLE_IDENTIFIER\=com.binayshaw7777.knowtify.Knowtify
    export PRODUCT_BUNDLE_PACKAGE_TYPE\=APPL
    export PRODUCT_MODULE_NAME\=Knowtify
    export PRODUCT_NAME\=Knowtify
    export PRODUCT_SETTINGS_PATH\=/Users/user/Desktop/KMP/Knowtify/iosApp/iosApp/Info.plist
    export PRODUCT_TYPE\=com.apple.product-type.application
    export PROFILING_CODE\=NO
    export PROJECT\=iosApp
    export PROJECT_DERIVED_FILE_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/DerivedSources
    export PROJECT_DIR\=/Users/user/Desktop/KMP/Knowtify/iosApp
    export PROJECT_FILE_PATH\=/Users/user/Desktop/KMP/Knowtify/iosApp/iosApp.xcodeproj
    export PROJECT_NAME\=iosApp
    export PROJECT_TEMP_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build
    export PROJECT_TEMP_ROOT\=/Users/user/Desktop/KMP/Knowtify/build/ios
    export PROVISIONING_PROFILE_REQUIRED\=NO
    export PROVISIONING_PROFILE_REQUIRED_YES_YES\=YES
    export PROVISIONING_PROFILE_SUPPORTED\=YES
    export PUBLIC_HEADERS_FOLDER_PATH\=Knowtify.app/Headers
    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_STATIC_EXECUTABLES_FROM_EMBEDDED_BUNDLES\=YES
    export REMOVE_SVN_FROM_RESOURCES\=YES
    export REZ_COLLECTOR_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/ResourceManagerResources
    export REZ_OBJECTS_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator\ 
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO
    export SCRIPTS_FOLDER_PATH\=Knowtify.app/Scripts
    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/iPhoneSimulator17.4.sdk
    export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk
    export SDK_DIR_iphonesimulator\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk
    export SDK_DIR_iphonesimulator17_4\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk
    export SDK_NAME\=iphonesimulator17.4
    export SDK_NAMES\=iphonesimulator17.4
    export SDK_PRODUCT_BUILD_VERSION\=21E210
    export SDK_STAT_CACHE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData
    export SDK_STAT_CACHE_ENABLE\=YES
    export SDK_STAT_CACHE_PATH\=/Users/user/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache
    export SDK_VERSION\=17.4
    export SDK_VERSION_ACTUAL\=170400
    export SDK_VERSION_MAJOR\=170000
    export SDK_VERSION_MINOR\=170400
    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\=YES
    export SHALLOW_BUNDLE_TRIPLE\=ios-simulator
    export SHALLOW_BUNDLE_ios_macabi\=NO
    export SHALLOW_BUNDLE_macos\=NO
    export SHARED_DERIVED_FILE_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH\=Knowtify.app/SharedFrameworks
    export SHARED_PRECOMPS_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/iosApp-dlrxsrzeqbjxcleurzvbicqupsar/Build/Intermediates.noindex/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH\=Knowtify.app/SharedSupport
    export SKIP_INSTALL\=NO
    export SOURCE_ROOT\=/Users/user/Desktop/KMP/Knowtify/iosApp
    export SRCROOT\=/Users/user/Desktop/KMP/Knowtify/iosApp
    export STRINGSDATA_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/undefined_arch
    export STRINGSDATA_ROOT\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.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_MACCATALYST\=NO
    export SUPPORTS_ON_DEMAND_RESOURCES\=YES
    export SUPPORTS_TEXT_BASED_API\=NO
    export SUPPRESS_WARNINGS\=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_x86_64\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/x86_64/Knowtify.SwiftFileList
    export SWIFT_VERSION\=5.0
    export SYMROOT\=/Users/user/Desktop/KMP/Knowtify/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_EXTENSIONS_FOLDER_PATH\=Knowtify.app/SystemExtensions
    export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Knowtify.app/Library/SystemExtensions
    export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Knowtify.app/SystemExtensions
    export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR\=/System/Library
    export TAPI_DEMANGLE\=YES
    export TAPI_ENABLE_PROJECT_HEADERS\=NO
    export TAPI_LANGUAGE\=objective-c
    export TAPI_LANGUAGE_STANDARD\=compiler-default
    export TAPI_USE_SRCROOT\=YES
    export TAPI_VERIFY_MODE\=Pedantic
    export TARGETED_DEVICE_FAMILY\=1,2
    export TARGETNAME\=iosApp
    export TARGET_BUILD_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/Debug-iphonesimulator
    export TARGET_DEVICE_IDENTIFIER\=84E1A9F7-48E6-476E-9ABC-162478817827
    export TARGET_DEVICE_MODEL\=iPhone14,5
    export TARGET_DEVICE_OS_VERSION\=17.0
    export TARGET_DEVICE_PLATFORM_NAME\=iphonesimulator
    export TARGET_NAME\=iosApp
    export TARGET_TEMP_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build
    export TEMP_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build
    export TEMP_FILES_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build
    export TEMP_FILE_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build
    export TEMP_ROOT\=/Users/user/Desktop/KMP/Knowtify/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/iPhoneSimulator17.4.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 TeamIdentifierPrefix\=8RSYZ4S4BD.
    export UID\=501
    export UNINSTALLED_PRODUCTS_DIR\=/Users/user/Desktop/KMP/Knowtify/build/ios/UninstalledProducts
    export UNLOCALIZED_RESOURCES_FOLDER_PATH\=Knowtify.app
    export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Knowtify.app/Resources
    export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Knowtify.app
    export UNSTRIPPED_PRODUCT\=NO
    export USER\=user
    export USER_APPS_DIR\=/Users/user/Applications
    export USER_LIBRARY_DIR\=/Users/user/Library
    export USE_DYNAMIC_NO_PIC\=YES
    export USE_HEADERMAP\=YES
    export USE_HEADER_SYMLINKS\=NO
    export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR
    export VALIDATE_PRODUCT\=NO
    export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64
    export VERBOSE_PBXCP\=NO
    export VERSIONPLIST_PATH\=Knowtify.app/version.plist
    export VERSION_INFO_BUILDER\=user
    export VERSION_INFO_FILE\=Knowtify_vers.c
    export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:Knowtify\ \ PROJECT:iosApp-\"
    export WRAPPER_EXTENSION\=app
    export WRAPPER_NAME\=Knowtify.app
    export WRAPPER_SUFFIX\=.app
    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\=15E204a
    export XCODE_VERSION_ACTUAL\=1530
    export XCODE_VERSION_MAJOR\=1500
    export XCODE_VERSION_MINOR\=1530
    export XPCSERVICES_FOLDER_PATH\=Knowtify.app/XPCServices
    export Xcode\ JAVA_HOME\=/Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home
    export YACC\=yacc
    export _WRAPPER_CONTENTS_DIR_SHALLOW_BUNDLE_NO\=/Contents
    export _WRAPPER_PARENT_PATH_SHALLOW_BUNDLE_NO\=/..
    export _WRAPPER_RESOURCES_DIR_SHALLOW_BUNDLE_NO\=/Resources
    export __IS_NOT_MACOS\=YES
    export __IS_NOT_MACOS_macosx\=NO
    export __IS_NOT_SIMULATOR\=NO
    export __IS_NOT_SIMULATOR_simulator\=NO
    export arch\=undefined_arch
    export variant\=normal
    /bin/sh -c /Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-F36B1CEB2AD83DDC00CB74D5.sh
Type-safe project accessors is an incubating feature.

> Configure project :composeApp
The 'ksp' configuration is deprecated in Kotlin Multiplatform projects. Please use target-specific configurations like 'kspJvm' instead.

> Task :xcodeVersion UP-TO-DATE
> Task :composeApp:checkKotlinGradlePluginConfigurationErrors
> Task :composeApp:generateComposeResClass UP-TO-DATE
> Task :composeApp:convertXmlValueResourcesForAppleMain NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForAppleMain NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForAppleMain NO-SOURCE
> Task :composeApp:generateResourceAccessorsForAppleMain NO-SOURCE
> Task :composeApp:convertXmlValueResourcesForCommonMain NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForCommonMain UP-TO-DATE
> Task :composeApp:prepareComposeResourcesTaskForCommonMain UP-TO-DATE
> Task :composeApp:generateResourceAccessorsForCommonMain UP-TO-DATE
> Task :composeApp:convertXmlValueResourcesForIosMain NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForIosMain NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForIosMain NO-SOURCE
> Task :composeApp:generateResourceAccessorsForIosMain NO-SOURCE
> Task :composeApp:convertXmlValueResourcesForIosX64Main NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForIosX64Main NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForIosX64Main NO-SOURCE
> Task :composeApp:generateResourceAccessorsForIosX64Main NO-SOURCE
> Task :composeApp:convertXmlValueResourcesForNativeMain NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForNativeMain NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForNativeMain NO-SOURCE
> Task :composeApp:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :composeApp:kspKotlinIosX64
note: [ksp] loaded provider(s): [androidx.room.RoomKspProcessor$Provider]

> Task :composeApp:copyRoomSchemas NO-SOURCE

> Task :composeApp:compileKotlinIosX64 FAILED
/Users/user/Desktop/KMP/Knowtify/composeApp/src/iosMain/kotlin/database/Database.kt:13:19: error: Type mismatch: inferred type is Unit but RoomDatabase was expected
/Users/user/Desktop/KMP/Knowtify/composeApp/src/iosMain/kotlin/database/Database.kt:13:19: error: Type mismatch: inferred type is Unit but DictionaryDatabase was expected
/Users/user/Desktop/KMP/Knowtify/composeApp/src/iosMain/kotlin/database/Database.kt:13:47: error: Unresolved reference: instantiateImpl
error: Process 'command '/Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home/bin/java'' finished with non-zero exit value 1

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':composeApp:compileKotlinIosX64'.
> Process 'command '/Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home/bin/java'' finished with non-zero exit value 1

* 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 39s
8 actionable tasks: 3 executed, 5 up-to-date

** BUILD FAILED **

The following build commands failed:
    PhaseScriptExecution Compile\ Kotlin\ Framework /Users/user/Desktop/KMP/Knowtify/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-F36B1CEB2AD83DDC00CB74D5.sh (in target 'iosApp' from project 'iosApp')
(1 failure)
`
MatkovIvan commented 6 months ago

Multiplatform Room library was published by Google. Please use https://issuetracker.google.com/ for its issues

binayshaw7777 commented 6 months ago

Log for KDoctor -v

Last login: Tue May 7 19:52:36 on console user@macbook ~ % kdoctor -v Environment diagnose: [✓] Operation System ➤ Version OS: macOS 14.0 CPU: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz

[✓] Java ➤ Java (openjdk version "21.0.1" 2023-10-17) Location: /Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home/bin/java i JAVA_HOME is not set Consider adding the following to ~/.zprofile for setting JAVA_HOME export JAVA_HOME=/Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home

[✓] Android Studio ➤ Android Studio (AI-232.10300.40.2321.11668458) Location: /Users/user/Applications/Android Studio.app Bundled Java: openjdk 17.0.9 2023-10-17 Kotlin Plugin: 232-1.9.0-release-358-AS10300.40.2321.11668458 Kotlin Multiplatform Mobile Plugin: 0.8.2(232)-20 i Note that, by default, Android Studio uses bundled JDK for Gradle tasks execution. Gradle JDK can be configured in Android Studio Preferences under Build, Execution, Deployment -> Build Tools -> Gradle section

[✓] Xcode i Multiple Xcode installations found ➤ Xcode (15.3) Location: /Applications/Xcode.app ➤ Xcode (15.0) Location: /Users/user/Downloads/Xcode.app ➤ Current command line tools: /Applications/Xcode.app/Contents/Developer i Xcode JAVA_HOME: /Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home Xcode JAVA_HOME can be configured in Xcode -> Settings -> Locations -> Custom Paths

[✓] CocoaPods ➤ ruby (ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin23]) i System ruby is currently used Consider installing ruby via Homebrew, rvm or other package manager in case of issues with CocoaPods installation ➤ ruby gems (3.0.3.1) ➤ cocoapods (1.13.0)

Recommendations: ➤ IDE doesn't suggest running all tests in file if it contains more than one class More details: https://youtrack.jetbrains.com/issue/KTIJ-22078 Conclusion: ✓ Your operation system is ready for Kotlin Multiplatform Mobile Development! user@macbook ~ %

okushnikov commented 4 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.