-
Notifications
You must be signed in to change notification settings - Fork 136
building for iOS, but linking in object file built for iOS Simulator #698
-
Hi, I want to export an ipa of my libGDX game so I can upload it to testflight. I encountered the following error during creation:
ld: in /Users/myname/.robovm/cache/ios/arm64/release/Users/myname/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.11.0/a55afe221d06ea79c011fa235971eae22aa9419d/gdx-platform-1.11.0-natives-ios.jar.extracted/META-INF/robovm/ios/libs/ObjectAL.xcframework/ios-arm64_x86_64-simulator/libObjectAL.a(OALAction.o), building for iOS, but linking in object file built for iOS Simulator, file '/Users/myname/.robovm/cache/ios/arm64/release/Users/myname/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.11.0/a55afe221d06ea79c011fa235971eae22aa9419d/gdx-platform-1.11.0-natives-ios.jar.extracted/META-INF/robovm/ios/libs/ObjectAL.xcframework/ios-arm64_x86_64-simulator/libObjectAL.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libGDX 1.11.0
RoboVM Version: 2.3.16
RoboVM Gradle Plugin Version: 2.3.12
My build gradle contains
robovm {
iosSignIdentity = "291A96D1F7EA55FB38E8449A5F005B8E3523A155"
iosProvisioningProfile = "ST94RJ823S"
iosSkipSigning = false
archs = "thumbv7:arm64"
}
My xCode project contains this architecture settings:
Is that related to #617 ?
Any tips how to resolve that?
Beta Was this translation helpful? Give feedback.
All reactions
hi, are you creating IPA with Idea plugin or from gradle command line ?
One of the reason for your problem -- is old version RoboVM Idea/Gradle plugin.
Support for sim/device qualified lib dependencies were added in 2.3.15
Replies: 1 comment 1 reply
-
hi, are you creating IPA with Idea plugin or from gradle command line ?
One of the reason for your problem -- is old version RoboVM Idea/Gradle plugin.
Support for sim/device qualified lib dependencies were added in 2.3.15
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes with the gradle command line. Thank you! Updating to 2.3.16 fixed the issue.
Beta Was this translation helpful? Give feedback.