我现在从网上找了一份 swift 代码
项目地址如下
https://github.com/JakeLin/SwiftLanguageWeather
然后我执行 build 操作
返回的结果如下,并且一直卡着
+ xcodebuild clean build-for-testing -workspace SwiftWeather.xcworkspace -scheme SwiftWeather -destination 'platform=iOS Simulator,name=iPhone 13,OS=12.3.1' -destination-timeout 360 COMPILER_INDEX_STORE_ENABLE=NO
2023-02-17 11:27:26.586 xcodebuild[19265:372393] 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
2023-02-17 11:27:26.587 xcodebuild[19265:372393] 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
想请问这是什么原因。
1
mcluyu 2023-02-17 11:43:09 +08:00
项目里 How to build 不是描述的很清楚了吗,你直接用 xcodebuild 还选了 build-for-testing 没找到调试器啊。
用 Xcode 运行, 不修改配置不签名你直接 xcodebuild 就算打包出来你也无法在手机上运行。 |
2
awanganddong OP |
3
awanganddong OP @mcluyu
我该怎么配置调试器呢, 现在我从新建个项目 test,然后 scheme 是 test 但是报错是这样的 xcodebuild: error: The workspace named "test" does not contain a scheme named "test". The "-list" option can be used to find the names of the schemes in the workspace. |