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

    throw err;

Error: spawnSync /Users/Lumend/Public/app/node_modules/react-native/local-cli/ 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