-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On adding third party sdk as described in document of Google Mobile Ads, here is error in libgdx #118
Comments
Make sure to include these frameworks in you robovm.xml:
Not exactly sure if all of these are necessary as I'm just copying this stuff from my own xml file. |
[ERROR] Undefined symbols for architecture armv7: PROJECT LEVEL GRADLE =======> buildscript { allprojects {
} project(":desktop") {
} project(":android") {
project(":ios") {
} project(":core") {
} tasks.eclipse.doLast { ROBOVM.XML================> ${app.executable} ${app.mainclass} ios thumbv7 ios Info.plist.xml ../android/assets ** true data resource com.badlogic.gdx.scenes.scene2d.ui._ com.badlogic.gdx.graphics.g3d.particles.__ com.android.okhttp.HttpHandler com.android.okhttp.HttpsHandler com.android.org.conscrypt._* com.android.org.bouncycastle.jce.provider.BouncyCastleProvider com.android.org.bouncycastle.jcajce.provider.keystore.BC$Mappings com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std com.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL org.apache.harmony.security.provider.cert.DRLCertFactory org.apache.harmony.security.provider.crypto.CryptoProvider z libs EventKit EventKitUI SafariServices CoreBluetooth MessageUI SystemConfiguration StoreKit AdSupport CoreTelephony CoreData CoreMedia MediaPlayer
|
[INFO] Building ios binary /Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/IOSLauncher
[INFO] "/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -o "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/IOSLauncher" -arch armv7 "-Wl,-filelist,/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/objects0" -L /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7 -ObjC -Xlinker -alias_list -Xlinker "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/aliased_symbols" -exported_symbols_list "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-login/1.14.0/1a3cc419790b1abd94c4434cae633fd4e0082322/robopods-facebook-ios-login-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-share/1.14.0/3ebade83088ee749b6d74917b8b24a0b981b3cd4/robopods-facebook-ios-share-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-core/1.14.0/39470ef9e2ca5bc3c712c4d7818e56a6660cf01d/robopods-facebook-ios-core-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-messenger/1.14.0/7d9728a9f8fdf6f3a360aff264b6c6b1bcf7c05e/robopods-facebook-ios-messenger-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-bolts-ios/1.14.0/9af31651b319253310c5d34d265bb92de70ddfe7/robopods-bolts-ios-1.14.0.jar.extracted/META-INF/robovm/ios/libs "-F/Users/ibcmobile/Desktop/Platform Dash/ios/libs" -fPIC -miphoneos-version-min=7.0
[INFO] -isysroot "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk" -lrobovm-bc -force_load /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -liconv -lsqlite3 -framework Foundation -framework FBSDKLoginKit -framework AVFoundation -framework CoreGraphics -framework CoreMedia -framework CoreMotion -framework StoreKit -framework FBSDKShareKit -framework FBSDKCoreKit -framework Bolts -framework AdSupport -framework AudioToolbox -framework CoreTelephony -framework EventKit -framework EventKitUI -framework MediaPlayer -framework MessageUI -framework QuartzCore -framework SystemConfiguration -framework FBSDKMessengerShareKit -framework UIKit -framework OpenGLES -framework OpenAL -framework GoogleMobileAds -lz -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libObjectAL.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d-platform/1.9.3/9f1d62485440239000f48f1d685246bef5272e21/gdx-box2d-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx-box2d.a -framework MobileCoreServices -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks
[ERROR] Undefined symbols for architecture armv7:
[ERROR] "OBJC_CLASS$_SFSafariViewController", referenced from:
[ERROR] objc-class-ref in GoogleMobileAds(flat-armv7)
[ERROR] "OBJC_CLASS$_CBUUID", referenced from:
[ERROR] objc-class-ref in GoogleMobileAds(flat-armv7)
[ERROR] "OBJC_CLASS$_CBCentralManager", referenced from:
[ERROR] objc-class-ref in GoogleMobileAds(flat-armv7)
[ERROR] "_CBCentralManagerOptionShowPowerAlertKey", referenced from:
[ERROR] l892 in GoogleMobileAds(flat-armv7)
[ERROR] ld: symbol(s) not found for architecture armv7
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] Couldn't compile app
org.apache.commons.exec.ExecuteException: Command '"/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -o "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/IOSLauncher" -arch armv7 "-Wl,-filelist,/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/objects0" -L /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7 -ObjC -Xlinker -alias_list -Xlinker "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/aliased_symbols" -exported_symbols_list "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-login/1.14.0/1a3cc419790b1abd94c4434cae633fd4e0082322/robopods-facebook-ios-login-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-share/1.14.0/3ebade83088ee749b6d74917b8b24a0b981b3cd4/robopods-facebook-ios-share-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-core/1.14.0/39470ef9e2ca5bc3c712c4d7818e56a6660cf01d/robopods-facebook-ios-core-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-messenger/1.14.0/7d9728a9f8fdf6f3a360aff264b6c6b1bcf7c05e/robopods-facebook-ios-messenger-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-bolts-ios/1.14.0/9af31651b319253310c5d34d265bb92de70ddfe7/robopods-bolts-ios-1.14.0.jar.extracted/META-INF/robovm/ios/libs "-F/Users/ibcmobile/Desktop/Platform Dash/ios/libs" -fPIC -miphoneos-version-min=7.0 -isysroot "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk" -lrobovm-bc -force_load /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -liconv -lsqlite3 -framework Foundation -framework FBSDKLoginKit -framework AVFoundation -framework CoreGraphics -framework CoreMedia -framework CoreMotion -framework StoreKit -framework FBSDKShareKit -framework FBSDKCoreKit -framework Bolts -framework AdSupport -framework AudioToolbox -framework CoreTelephony -framework EventKit -framework EventKitUI -framework MediaPlayer -framework MessageUI -framework QuartzCore -framework SystemConfiguration -framework FBSDKMessengerShareKit -framework UIKit -framework OpenGLES -framework OpenAL -framework GoogleMobileAds -lz -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libObjectAL.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d-platform/1.9.3/9f1d62485440239000f48f1d685246bef5272e21/gdx-box2d-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx-box2d.a -framework MobileCoreServices -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' failed (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
at org.robovm.compiler.util.Executor.exec(Executor.java:344)
at org.robovm.compiler.util.ToolchainUtil.link(ToolchainUtil.java:371)
at org.robovm.compiler.target.AbstractTarget.doBuild(AbstractTarget.java:268)
at org.robovm.compiler.target.ios.IOSTarget.doBuild(IOSTarget.java:382)
at org.robovm.compiler.target.AbstractTarget.build(AbstractTarget.java:262)
at org.robovm.compiler.Linker.link(Linker.java:421)
at org.robovm.compiler.AppCompiler.compile(AppCompiler.java:465)
at org.robovm.compiler.AppCompiler.build(AppCompiler.java:768)
at org.robovm.idea.compilation.RoboVmCompilerThread.doCompile(RoboVmCompilerThread.java:60)
at org.robovm.idea.compilation.RoboVmCompilerThread.run(RoboVmCompilerThread.java:66)
The text was updated successfully, but these errors were encountered: