You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

React Native Expo项目集成AdMob遇Bitcode错误求助

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.25 20:43:09