Closed
Description
Hi there,
I'm using this command to archive my app:
xcodebuild -workspace app.xcworkspace -scheme app -sdk iphoneos -configuration AppStoreDistribution archive -archivePath $PWD/build/app.xcarchive
And it fails with error :
Loading dependency graph, done.
error SHA-1 for file /Users/Admin/Projects/app/node_modules/metro/src/lib/polyfills/require.js (/Users/Admin/Projects/app/node_modules/metro/src/lib/polyfills/require.js) is not computed. Run CLI with --verbose flag for more details.
+ [[ false != true ]]
+ [[ ! -f /Users/Admin/Library/Developer/Xcode/DerivedData/app-erjlbyzectedrjajiphwvhbfwswh/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Release-iphoneos/app.app/main.jsbundle ]]
+ echo 'error: File /Users/Admin/Library/Developer/Xcode/DerivedData/app-erjlbyzectedrjajiphwvhbfwswh/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Release-iphoneos/app.app/main.jsbundle does not exist. This must be a bug with'
error: File /Users/Admin/Library/Developer/Xcode/DerivedData/app-erjlbyzectedrjajiphwvhbfwswh/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Release-iphoneos/app.app/main.jsbundle does not exist. This must be a bug with
Xcode : 10.2.1 (10E1001)
React: 0.59.8
It starts after upgrade to xcode 10.2. Xcode 9.4 works perfectly. If I'm trying to make archive with xcode app interface it shows success and xcode instantly turns off without any errors. So this is the reason why I'm using command line.
I've checked that path and main.jsbundle is not generated in that DerivedData. May anyone have any thoughts about this error?