我用react native写了一个android项目,它工作得很好,但后来我想用ios,我去了ios文件夹运行pod安装代码,然后我回到主文件夹说yarn ios,但我面临这个错误,解决方案是什么?
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 66. To debug build logs further, consider building your app with Xcode.app, by opening myappv2.xcworkspace.
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace myappv2.xcworkspace -configuration Debug -scheme myappv2 -destination id=600597F7-E729-4AB6-85FA-A68EBA352C05
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
` 2022-06-16 15:28:05.261 xcodebuild[10727:218865] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-16 15:28:05.261 xcodebuild[10727:218865] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
xcodebuild: error: Scheme myappv2 is not currently configured for the build action.
3条答案
按热度按时间bwleehnv1#
首先;
1.开放Xcode
1.转到首选项
1.转到位置选项卡
1.在标记为"命令行工具"的选项中选择一个Xcode版本
M1芯片上的React Native是痛苦的....祝你好运!
t1rydlwq2#
如果更新可用,则只需安装更新,然后启动Xcode;它会要求您安装额外的软件。安装完成后,错误将得到解决。
chhqkbe13#
你可以试试