Код: Выделить всё
Copying ./main.jsbundle ➜ ../../../Users/expo/workingdir/build/ios/main.jsbundle
Код: Выделить всё
› Copying ios/awsgymprivate/Supporting/Expo.plist ➜ ./Expo.plist
› Compiling awsgymprivate » SplashScreen.storyboard
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ CpResource /Users/expo/Library/Developer/Xcode/DerivedData/awsgymprivate-arsazrrfzqfpbbfjwzimmjlfgbfl/Build/Intermediates.noindex/ArchiveIntermediates/awsgymprivate/InstallationBuildProductsLocation/Applications/awsgymprivate.app/main.jsbundle /Users/expo/workingdir/build/ios/main.jsbundle (in target 'awsgymprivate' from project 'awsgymprivate')
▸ (1 failure)
2024-02-07 22:36:13.003 xcodebuild[1998:7885] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** ARCHIVE FAILED **
Код: Выделить всё
npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios
- , измените на
Код: Выделить всё
(Xcode) -Build Phases -> Bundle React Native code and images
cd $PROJECT_DIR/..
export NODE_BINARY=node
./node_modules/react-native/scripts/react-native- xcode.sh
Подробнее здесь: https://stackoverflow.com/questions/779 ... -directory