当我在我的react-native expo项目中运行此命令时,
eas build --profile preview --platform ios --local
,我收到此错误:
[RUN_FASTLANE] ⚠️ Script has ambiguous dependencies causing it to run on every build.
To fix, go to: Xcode » MagicMusic/MagicMusic » Build Phases » '[CP-User] [RNFB] Core Configuration'
Either: Uncheck "Based on dependency analysis", or select output files to trigger the script
我目前没有积极使用 Xcode 做任何事情,我不知道如何解决这个问题。
我跑了
npx expo prebuild --platform ios
然后我打开
.xcodeproj
文件,导航到 build phases
并取消选中 Based on dependency analysis
选项。
并且
eas build --profile preview --platform ios --local
之后运行良好