为什么yarn ios报错,yarn android没有报错呢

来源:5-1 项目初始化

慕用0863198

2020-08-04

yarn run v1.22.4
$ react-native run-ios
error Could not find “Podfile.lock” at E:\自学喜马拉雅项目\ximalaya\ios\Podfile.lock. Did you run
"pod install" in iOS directory?
info Found Xcode project "ximalaya.xcodeproj"
error Could not get the simulator list from Xcode. Please open Xcode and try running project direc
tly from there to resolve the remaining issues. Run CLI with --verbose flag for more details.
Error: spawnSync xcrun ENOENT
at Object.spawnSync (internal/child_process.js:1031:20)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

写回答

1回答

今朝

2020-08-04

iOS只能在Mac系统上运行

0
1
慕用0863198
非常感谢!
2020-08-04
共1条回复

跨平台应用ReactNative+TypeScript仿喜马拉雅开发App

从入门到实战,掌握用TypeScript开发ReactNative应用

832 学习 · 339 问题

查看课程