arundevma
arundevma

Reputation: 933

Add Apple Watch to iOS app that has deployment target IOS 7

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.

Instagram

Instagram description. It says 7.0 or later

Upvotes: 4

Views: 1312

Answers (4)

arundevma
arundevma

Reputation: 933

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

Changing "iOS Deployment Target" field in build settings of Watchkit app target to 8.2 as mentioned here solved the issue.

Upvotes: 1

Kevin Machado
Kevin Machado

Reputation: 4187

I think you are confused between Deployment Target and Build SDK.

You can select the Deployment Target to iOS7 +

And you can also Build it using iOS 8.2 SDK

Just select the Deployment Target like this :

Deployment target for Apple Watch

And the Architecture to iOS 8.2 or 8.3

Build SDK for Apple Watch

You should have some deprecated warnings.

Upvotes: 3

ejanowski
ejanowski

Reputation: 538

deployment target must be 8.2 for the apple watch app target and apple watch extention.

And make sure that the Valid Architectures have arm64 for all watch target.

enter image description here

Upvotes: 1

bgilham
bgilham

Reputation: 5939

Your deployment target can be iOS 7.0, but you'll have to build your app using the iOS 8.2 SDK or higher.

Upvotes: 5

Related Questions