ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.24k stars 429 forks source link

Archiving fails on 0.10.0-rc3 #106

Closed matt-oakes closed 8 years ago

matt-oakes commented 8 years ago

Archiving a project fails using 0.10.0-rc3.

Set up the base project with:

npm install react-native-macos-cli -g
react-native-macos init MyProject

Open Xcode and attempt to archive. The packing command fails with:

+ DEST=/Users/matt/Library/Developer/Xcode/DerivedData/MyProject-erfbqicemuspwuhakeawniyaogtl/Build/Intermediates/ArchiveIntermediates/MyProject/BuildProductsPath/Release/MyProject.app/Contents/Resources
+ [[ Release = \D\e\b\u\g ]]
+ node /private/tmp/MyProject/node_modules/react-native-macos/local-cli/cli.js bundle --entry-file index.macos.js --platform macos --dev false --reset-cache --bundle-output /Users/matt/Library/Developer/Xcode/DerivedData/MyProject-erfbqicemuspwuhakeawniyaogtl/Build/Intermediates/ArchiveIntermediates/MyProject/BuildProductsPath/Release/MyProject.app/Contents/Resources/main.jsbundle --assets-dest /Users/matt/Library/Developer/Xcode/DerivedData/MyProject-erfbqicemuspwuhakeawniyaogtl/Build/Intermediates/ArchiveIntermediates/MyProject/BuildProductsPath/Release/MyProject.app/Contents/Resources
+ Path must be a string. Received undefined