使用EAS构建iOS Expo应用失败:PhaseScriptExecution错误求助
iOS EAS Build 失败:FBReactNativeSpec 脚本执行错误
使用eas build构建Expo iOS应用时失败,Android构建完全正常。
控制台报错
** ARCHIVE FAILED ** The following build commands failed: PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/expo/Library/Developer/Xcode/DerivedData/SALMobile-egdwlhlmnbjnybcxyqfforltlppo/Build/Intermediates.noindex/ArchiveIntermediates/SALMobile/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/FBReactNativeSpec.build/Script-46EB2E00014760.sh (in target 'FBReactNativeSpec' from project 'Pods')
Xcode 日志详情
/bin/sh -c /Users/expo/Library/Developer/Xcode/DerivedData/SALMobile-egdwlhlmnbjnybcxyqfforltlppo/Build/Intermediates.noindex/ArchiveIntermediates/SALMobile/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/FBReactNativeSpec.build/Script-46EB2E00014760.sh /bin/sh: /Users/expo/workingdir/build/React: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code
项目 package.json 内容
{ "name": "salmobile", "version": "1.0.1", "scripts": { "start": "expo start", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web" }, "dependencies": { "@expo/cli": "^0.10.11", "@expo/config-plugins": "6.0.0", "@expo/prebuild-config": "^6.0.0", "@react-native-community/datetimepicker": "6.7.3", "@react-navigation/bottom-tabs": "^6.5.8", "@react-navigation/material-top-tabs": "^6.6.3", "@react-navigation/native": "^6.1.2", "@react-navigation/native-stack": "^6.9.8", "axios": "^1.2.2", "expo": "~48.0.18", "expo-device": "~5.2.1", "expo-notifications": "~0.18.1", "expo-secure-store": "~12.1.1", "expo-splash-screen": "~0.18.2", "expo-status-bar": "~1.4.4", "metro": "^0.77.0", "metro-config": "^0.77.0", "react": "18.2.0", "react-native": "0.71.2", "react-native-cli": "^2.0.1", "react-native-dropdown-select-list": "^2.0.4", "react-native-gesture-handler": "~2.9.0", "react-native-global-state-hooks": "^3.0.5", "react-native-pager-view": "^6.1.2", "react-native-paper": "^5.1.3", "react-native-reanimated": "~2.14.4", "react-native-safe-area-context": "^4.5.0", "react-native-screens": "~3.20.0", "react-native-tab-view": "^3.5.2" }, "devDependencies": { "@babel/core": "^7.12.9" }, "private": true }
已尝试网上各类可行方案但均无效,恳请提供解决思路。
内容的提问来源于stack exchange,提问作者flavianthepavian
相关产品推荐
相关产品推荐

