React Native Expo项目集成AdMob遇Bitcode错误求助
我在基于Expo的React Native项目中集成AdMob时遇到了以下编译错误:
"/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport/GoogleAppMeasurement.framework/GoogleAppMeasurement(APMAdExposureReporter.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/expo/Library/Developer/Xcode/DerivedData/VerbaWordgame-hjhnfkuavuuzyvazvbxuolysslhn/Build/Intermediates.noindex/ArchiveIntermediates/VerbaWordgame/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport/GoogleAppMeasurement.framework/GoogleAppMeasurement' for architecture arm64"
我使用的是react-native-google-mobile-ads npm包,项目在VS Code中开发,通过expo build命令上传构建。已经花了大约30小时尝试各种排查方法,但始终无法让AdMob正常运行。
请问有没有人遇到过相同的问题?或者有可行的解决方案?
内容的提问来源于stack exchange,提问作者MrGK

