react-native run-ios 出错,信息如下

child_process.js:511
    throw err;
    ^

Error: spawnSync /Users/Lumend/Public/app/node_modules/react-native/local-cli/setup_env.sh EACCES

解决方案 chmod -R 777 node_modules

Signing for "yunxiu" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.1'

No bundle url present

cd into YOUR_PROJECT/ios
Remove the build folder with rm -r build
Run react-native run-ios again

本文固定链接: http://www.js-code.com/react/react_43046.html