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' libGDX 1.11.0 My build gradle contains robovm { My xCode project contains this architecture settings: Is that related to #617 ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
hi, are you creating IPA with Idea plugin or from gradle command line ? |
Beta Was this translation helpful? Give feedback.
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