如何解决 eas iOS 构建期间的“脚本具有不明确的依赖关系”错误

问题描述 投票:0回答:1

当我在我的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 做任何事情,我不知道如何解决这个问题。

ios xcode react-native expo eas
1个回答
0
投票

我跑了

npx expo prebuild --platform ios

然后我打开

.xcodeproj
文件,导航到
build phases
并取消选中
Based on dependency analysis
选项。

并且

eas build --profile preview --platform ios --local
之后运行良好

© www.soinside.com 2019 - 2024. All rights reserved.