GankCamp-React-Native
GankCamp-React-Native copied to clipboard
你好,我IOS run 不起来
我 执行react-native run-ios 后 到 Downloading dependency: core 0.100.2 这句卡半天,然后 提示 mv: /var/folders/n2/v5kxdjj53pvf1d1r_np5hpn40000gn/T//core_bin/core-0.100.2.tar.bz2.tmp: No such file or directory 最后 The following build commands failed: PhaseScriptExecution Download\ Core /Users/Ebates/Desktop/chamWork/ReactNative/Demo/GankCamp-React-Native/ios/build/Build/Intermediates/RealmJS.build/Debug-iphonesimulator/RealmJS.build/Script-F63FF2C51C12462600B3B8E0.sh
Print: Entry, ":CFBundleIdentifier", Does Not Exist
求大神解答啊
xcode运行正常吗?
https://github.com/facebook/react-native/issues/7308
看下这个能不能解决你的问题
update package.json { "name": "GankCamp", "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start" }, "dependencies": { "react": "^15.0.2", "react-native": "^0.28", "react-native-spinkit": "^0.1.2", "react-redux": "^4.4.5", "realm": "^0.13.1", "redux": "^3.5.2", "redux-thunk": "^2.1.0" } } can work!!
To solve this issue run your command with sudo .
example :- sudo react-native run-ios
and then run react-native run-ios
it work for me :)