Hello,
I have a Unity project running ads fine on android.
No other in game purchases or API being used except Admob banners.
Without ads it built fine in xCode, now with Admob SDK,
I build and get many .h pathing errors that I have already resolved in xCode build process.
For the Arch= on xCode : armv7s was removed per readme.txt.
I am down to the last few errors, and most refer to to arch keys not found, so removing armv7 eliminates half the errors, and putting back armv7 and removing arm64 removes the other half of the errors.
Obviously, I cannot build if I remove both.
Can anyone tell me how to eliminate these errors. Here are some of the build log entries:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
_OBJC_CLASS_$_GADStoreKitProductViewController in GoogleMobileAds(flat-armv7)
"_OBJC_METACLASS_$_SKStoreProductViewController", referenced from:
_OBJC_METACLASS_$_GADStoreKitProductViewController in GoogleMobileAds(flat-armv7)
"_OBJC_CLASS_$_GLKView", referenced from:
objc-class-ref in GoogleMobileAds(flat-armv7)
"_OBJC_CLASS_$_SKProductsRequest", referenced from:
objc-class-ref in GoogleMobileAds(flat-armv7)
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in GoogleMobileAds(flat-armv7)
"_CTRadioAccessTechnologyDidChangeNotification", referenced from:
l3578 in GoogleMobileAds(flat-armv7)
"_OBJC_CLASS_$_SKPaymentQueue", referenced from:
objc-class-ref in GoogleMobileAds(flat-armv7)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
l2106 in GoogleMobileAds(flat-armv7)
"_OBJC_CLASS_$_MFMessageComposeViewController", referenced from:
objc-class-ref in GoogleMobileAds(flat-armv7)
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
l5462 in GoogleMobileAds(flat-armv7)
l5594 in GoogleMobileAds(flat-armv7)
"_OBJC_CLASS_$_ASIdentifierManager", referenced from:
objc-class-ref in GoogleMobileAds(flat-armv7)
objc-class-ref in GoogleMobileAds(GADGestureIdUtil.o)
"_GLKMatrix4Identity", referenced from:
l4151 in GoogleMobileAds(flat-armv7)
l4162 in GoogleMobileAds(flat-armv7)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
_OBJC_CLASS_$_GADStoreKitProductViewController in GoogleMobileAds(flat-arm64)
"_OBJC_METACLASS_$_SKStoreProductViewController", referenced from:
_OBJC_METACLASS_$_GADStoreKitProductViewController in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_GLKView", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_SKProductsRequest", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_MFMessageComposeViewController", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
l16572 in GoogleMobileAds(flat-arm64)
l16709 in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_CTRadioAccessTechnologyDidChangeNotification", referenced from:
l14594 in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_SKPaymentQueue", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
l13053 in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_ASIdentifierManager", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
objc-class-ref in GoogleMobileAds(GADGestureIdUtil.o)
"_GLKMatrix4Identity", referenced from:
l15214 in GoogleMobileAds(flat-arm64)
l15226 in GoogleMobileAds(flat-arm64)
"_SecCertificateCreateWithData", referenced from:
l11668 in GoogleMobileAds(flat-arm64)
"_SecTrustCreateWithCertificates", referenced from:
l11668 in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_MFMailComposeViewController", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_kUTTagClassMIMEType", referenced from:
l16572 in GoogleMobileAds(flat-arm64)
l16709 in GoogleMobileAds(flat-arm64)
"_SecKeyRawVerify", referenced from:
l11671 in GoogleMobileAds(flat-arm64)
"_SecTrustEvaluate", referenced from:
l11668 in GoogleMobileAds(flat-arm64)
"_SecTrustCopyPublicKey", referenced from:
l11668 in GoogleMobileAds(flat-arm64)
Are these build errors something I can even fix without SDK authors getting involved?
I would like to resolve and build my app with ads without removing architectures, lol.
Please help, I would appreciate your time, thanks!