gpt4 book ai didi

ios - 如何在 WatchKit 扩展目标(XCode7 beta 6)中重置 watchOS 部署目标

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:13:56 24 4
gpt4 key购买 nike

我使用 watchOS 开发 iOS 应用。

将 XCode 升级到 version7 beta 6 后,watchOS Deployment Target(Build settings) 在 WatchKit extension target 中自动更改为 2.0。

虽然我试图返回到 1.0,但无法更改它。

任何解决方法? (无需创建或复制 watchkit 扩展目标)

I cannot select others without watchOS 2.0

最佳答案

根据 Xcode 7 Beta 6 发行说明:

You are not be able to debug a watchOS 1 app extension in a project that also has watchOS 2 app built in the same iOS app.
Workaround: The system prefers the watchOS 2 app when both are present, so you need to remove it from the iOS app bundle. Edit the Build Phases of the iOS App to remove the watchOS 2 app as a build dependency of the iOS App and remove it from the Embed Watch Content build phase. Clean the build products, and then Run to debug the watchOS 1 app extension. (21173814)

http://adcdownload.apple.com/Developer_Tools/Xcode_7_beta_6/Xcode_7_beta_6_Release_Notes.pdf

关于ios - 如何在 WatchKit 扩展目标(XCode7 beta 6)中重置 watchOS 部署目标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32457426/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com