tmp
Wednesday, May 11, 2016
Print: Entry, ":CFBundleIdentifier", Does Not Exist
``` $ react-native init AwesomeProject $ cd AwesomeProject $ react-native run-ios ``` して下記のエラーが出た場合 ``` Installing build/Build/Products/Debug-iphonesimulator/AwesomeProject.app An error was encountered processing the command (domain=LaunchServicesError, code=0): The operation couldn’t be completed. (LaunchServicesError error 0.) Print: Entry, ":CFBundleIdentifier", Does Not Exist /Users/xxxxx/Documents/project/AwesomeProject/node_modules/promise/lib/done.js:10 throw err; ^ Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/AwesomeProject.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist at checkExecSyncError (child_process.js:441:13) at Object.execFileSync (child_process.js:461:13) at _runIOS (runIOS.js:91:34) at runIOS.js:24:5 at tryCallTwo (/Users/xxxxx/Documents/project/AwesomeProject/node_modules/promise/lib/core.js:45:5) at doResolve (/Users/xxxxx/Documents/project/AwesomeProject/node_modules/promise/lib/core.js:200:13) at new Promise (/Users/xxxxx/Documents/project/AwesomeProject/node_modules/promise/lib/core.js:66:3) at Array.runIOS (runIOS.js:23:10) at Object.run (/Users/xxxxx/Documents/project/AwesomeProject/node_modules/react-native/local-cli/cli.js:87:13) at Object.
(/usr/local/lib/node_modules/react-native-cli/index.js:73:7) ``` 環境 * npm `3.5.3` * node `4.2.2` * react `0.14.8` * react-native `0.25.1` 以下やったこと ####`ios/build` 削除、projectのclean ダメ ####react-nativeで使用するポートが既に使用されてるかチェック、使用してたら止める * https://github.com/facebook/react-native/issues/7308 ダメ ####`sudo` してみる * http://stackoverflow.com/questions/36203184/fresh-react-native-ios-app-not-building 一応通ったけどなんか気持ち悪い ####iOSシミュレータを強制終了する 通った 気づくまでに割と時間かかった
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment