React Native IOS

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
    原文作者:Lumend
    原文地址: https://segmentfault.com/a/1190000012925912
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞