Open stefchang opened 8 years ago
Add the framework safaricontroller in your robovm.xml
Add these
<framework>AudioToolbox</framework>
<framework>AVFoundation</framework>
<framework>CoreGraphics</framework>
<framework>CoreMedia</framework>
<framework>CoreTelephony</framework>
<framework>EventKit</framework>
<framework>EventKitUI</framework>
<framework>MediaPlayer</framework>
<framework>MessageUI</framework>
<framework>QuartzCore</framework>
<framework>StoreKit</framework>
<framework>SystemConfiguration</framework>
My robovm.xml
<libs>
<lib>z</lib>
</libs>
<frameworkPaths>
<path>libs</path>
</frameworkPaths>
<frameworks>
<framework>AdSupport</framework>
<framework>AudioToolbox</framework>
<framework>AVFoundation</framework>
<framework>CoreGraphics</framework>
<framework>CoreMedia</framework>
<framework>CoreTelephony</framework>
<framework>EventKit</framework>
<framework>EventKitUI</framework>
<framework>MediaPlayer</framework>
<framework>MessageUI</framework>
<framework>QuartzCore</framework>
<framework>StoreKit</framework>
<framework>SystemConfiguration</framework>
<framework>GoogleMobileAds</framework>
</frameworks>
can i must add "
because i follow the README https://github.com/robovm/robovm-robopods/blob/master/google-mobile-ads/ios/README.md
<config>
...
<frameworkPaths>
<path>libs</path>
</frameworkPaths>
<frameworks>
<framework>GoogleMobileAds</framework>
</frameworks>
</config>
You have to add that inclusive with all the others
this is my setting,but it can't be compiled......
<framework>GLKit</framework>
<framework>OpenGLES</framework>
<framework>QuartzCore</framework>
<framework>CoreGraphics</framework>
<framework>CoreMotion</framework>
<framework>OpenAL</framework>
<framework>AudioToolbox</framework>
<framework>AVFoundation</framework>
<framework>GoogleMobileAds</framework>
<framework>EventKit</framework>
<framework>EventKitUI</framework>
<framework>MessageUI</framework>
<framework>AdSupport</framework>
<framework>CoreTelephony</framework>
<framework>StoreKit</framework>
<framework>SafariServices</framework>
<framework>CoreBluetooth</framework>
<framework>CoreMedia</framework>
<framework>CoreTelephony</framework>
<framework>MediaPlayer</framework>
<framework>QuartzCore</framework>
<framework>StoreKit</framework>
<framework>SystemConfiguration</framework>
[ERROR] Undefined symbols for architecture x86_64: [ERROR] "_OBJCCLASS$_SFSafariViewController", referenced from: [ERROR] objc-class-ref in GoogleMobileAds(flat-x86_64) [ERROR] "_OBJCCLASS$_CBUUID", referenced from: [ERROR] objc-class-ref in GoogleMobileAds(flat-x86_64) [ERROR] "_OBJCCLASS$_CBCentralManager", referenced from: [ERROR] objc-class-ref in GoogleMobileAds(flat-x86_64) [ERROR] "_CBCentralManagerOptionShowPowerAlertKey", referenced from: [ERROR] l876 in GoogleMobileAds(flat-x86_64) [ERROR] ld: symbol(s) not found for architecture x86_64 [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] Couldn't compile app
compile "org.robovm:robopods-google-mobile-ads-ios:1.14.0"
when i compile Libgdx ios project, it has some error.
who can fix it? THX