Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive crashing with main.jsbundle does not exist (after upgrade to xcode 10.2) #25123

Closed
arminas5 opened this issue Jun 3, 2019 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. Type: Question Issues that are actually questions and not bug reports.

Comments

@arminas5
Copy link

arminas5 commented Jun 3, 2019

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?

@arminas5 arminas5 added the Type: Question Issues that are actually questions and not bug reports. label Jun 3, 2019
@react-native-bot react-native-bot added the Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. label Jun 3, 2019
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: No Template labels Jun 3, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Jun 3, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jun 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. Type: Question Issues that are actually questions and not bug reports.
Projects
None yet
Development

No branches or pull requests

2 participants