今天升級(jí)Google Admob iOS SDK以后律歼,Xcode編譯突然報(bào)錯(cuò):
Showing All Messages
In /Users/XXX/Documents/libs/GoogleMobileAdsSdkiOS-7.68.0/GoogleAppMeasurement.framework/GoogleAppMeasurement(APMEExperiment_3e0573efa7b433360f767304cef16d18.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/XXX/Documents/libs/GoogleMobileAdsSdkiOS-7.68.0/GoogleAppMeasurement.framework/GoogleAppMeasurement' for architecture arm64
修改“build settings”后解決,方法是修改VALID_ARCHS挺尾,在里面增加x86_64灰瞻。