When I try to add Apple Watch to my project that support IOS 7+, I get an error that in order to add Apple Watch deployment target should be minimum 8.2 When I checked instagram, it provides Apple Watch support and they support IOS 7 also. How can I add Apple Watch and at the same time run app on IOS 7 devices also.
当我尝试将Apple Watch添加到支持IOS 7+的项目时,我收到一个错误,为了添加Apple Watch部署目标应该是最小的8.2当我检查Instagram时,它提供Apple Watch支持,他们也支持IOS 7。如何添加Apple Watch并同时在IOS 7设备上运行应用程序。
4 个解决方案
#1
Your deployment target can be iOS 7.0, but you'll have to build your app using the iOS 8.2 SDK or higher.
您的部署目标可以是iOS 7.0,但您必须使用iOS 8.2 SDK或更高版本构建应用程序。
#2
I think you are confused between Deployment Target
and Build SDK
.
我认为您在Deployment Target和Build SDK之间感到困惑。
You can select the Deployment Target
to iOS7 +
您可以选择部署目标到iOS7 +
And you can also Build it using iOS 8.2 SDK
您还可以使用iOS 8.2 SDK构建它
Just select the Deployment Target
like this :
只需像这样选择部署目标:
And the Architecture
to iOS 8.2 or 8.3
和iOS 8.2或8.3的架构
You should have some deprecated warnings.
你应该有一些不赞成的警告。
#3
deployment target must be 8.2 for the apple watch app target and apple watch extention.
对于Apple Watch app目标和Apple Watch扩展,部署目标必须为8.2。
And make sure that the Valid Architectures have arm64 for all watch target.
并确保有效架构的arm64适用于所有监视目标。
#4
Found solution to the problem. It was actually a bug in Xcode 6.3. For some reason Xcode wanted deployment target of WatchKit App (and Not our app target) to be exactly 8.2
找到问题的解决方案。这实际上是Xcode 6.3中的一个错误。出于某种原因,Xcode希望WatchKit App(而不是我们的应用目标)的部署目标正好是8.2
Changing "iOS Deployment Target" field in build settings of Watchkit app target to 8.2 as mentioned here solved the issue.
如此处所述,将Watchkit应用目标的构建设置中的“iOS部署目标”字段更改为8.2解决了该问题。
#1
Your deployment target can be iOS 7.0, but you'll have to build your app using the iOS 8.2 SDK or higher.
您的部署目标可以是iOS 7.0,但您必须使用iOS 8.2 SDK或更高版本构建应用程序。
#2
I think you are confused between Deployment Target
and Build SDK
.
我认为您在Deployment Target和Build SDK之间感到困惑。
You can select the Deployment Target
to iOS7 +
您可以选择部署目标到iOS7 +
And you can also Build it using iOS 8.2 SDK
您还可以使用iOS 8.2 SDK构建它
Just select the Deployment Target
like this :
只需像这样选择部署目标:
And the Architecture
to iOS 8.2 or 8.3
和iOS 8.2或8.3的架构
You should have some deprecated warnings.
你应该有一些不赞成的警告。
#3
deployment target must be 8.2 for the apple watch app target and apple watch extention.
对于Apple Watch app目标和Apple Watch扩展,部署目标必须为8.2。
And make sure that the Valid Architectures have arm64 for all watch target.
并确保有效架构的arm64适用于所有监视目标。
#4
Found solution to the problem. It was actually a bug in Xcode 6.3. For some reason Xcode wanted deployment target of WatchKit App (and Not our app target) to be exactly 8.2
找到问题的解决方案。这实际上是Xcode 6.3中的一个错误。出于某种原因,Xcode希望WatchKit App(而不是我们的应用目标)的部署目标正好是8.2
Changing "iOS Deployment Target" field in build settings of Watchkit app target to 8.2 as mentioned here solved the issue.
如此处所述,将Watchkit应用目标的构建设置中的“iOS部署目标”字段更改为8.2解决了该问题。