https://kotlinlang.org logo
#ios
Title
# ios
t

Trevor Stone

07/28/2022, 11:57 PM
Has anyone successfully gotten the gradle based iOS projects via
org.jetbrains.gradle.apple.applePlugin
working, and maybe more specifically on an m1 device?
Copy code
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the iosApp editor. (in target 'iosApp' from project 'iosApp')
Ld /Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/bin/iosApp/Debug-iphonesimulator/TryingAgain.app/TryingAgain normal (in target 'iosApp' from project 'iosApp')
    cd /Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/tmp/apple/iosApp
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios15.2-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -L/Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/bin/iosApp/Debug-iphonesimulator -F/Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/bin/iosApp/Debug-iphonesimulator -F../../../../../shared/build/bin/iosArm64/debugFramework -filelist /Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/classes/apple/iosApp/build/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/arm64/TryingAgain.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/classes/apple/iosApp/build/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/arm64/TryingAgain_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -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/trevorstone/Documents/Development/TryingAgain/iosApp/build/classes/apple/iosApp/build/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/arm64/iosApp.swiftmodule -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/classes/apple/iosApp/build/iosApp.build/Debug-iphonesimulator/iosApp.build/TryingAgain.app-Simulated.xcent -framework shared -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/classes/apple/iosApp/build/iosApp.build/Debug-iphonesimulator/iosApp.build/Objects-normal/arm64/TryingAgain_dependency_info.dat -o /Users/trevorstone/Documents/Development/TryingAgain/iosApp/build/bin/iosApp/Debug-iphonesimulator/TryingAgain.app/TryingAgain
ld: building for iOS Simulator, but linking in dylib built for iOS, file '../../../../../shared/build/bin/iosArm64/debugFramework/shared.framework/shared' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is just the project generated via the wizard with no changes
6 Views