Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
484 views
in Technique[技术] by (71.8m points)

ios - Setting up react-native development environment at M1 Macbook

Setting

  • os : Big Sur 11.1
  • homebrew : 2.7.1
  • node : 14.15.4
  • watchman : 4.9.0
  • Xcode : 12.3
  • cocoapods : 1.8.4

npx react-native init AwesomeProject

cd AwesomeProject
npx react-native start

cd AwesomeProject
npx react-native run-ios

result(err)

enter image description here

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening AwesomeProject.xcworkspace.

until npx react-native start there's no error
but npx react-native run-ios doesn't work.
I don't get what the problem is. Is Xcode version too high? please help

and how can I build AwesomeProject with Xcode app?. I tried but it failed too.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...