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

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.

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

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 :
And the Architecture to iOS 8.2 or 8.3
You should have some deprecated warnings.

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.

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.

Related

This iMessage application is missing its required iMessage app extension

Using Xcode 8.0, running stickers app on iPhone (with iOS 10.0.2) gives me this error:
This iMessage application is missing its required iMessage app extension
It runs fine on simulator. What am I doing wrong? I'm using Xcode 8.1 Beta .
Please check if your deployment target is less than your device iOS version. If you are running Xcode Beta with deployment target 10.1, your device must be at least on same beta version. Reduce your deployment target to 10.0 otherwise.
Please make sure that the deployment target in your Xcode 8 is less than or equal to your device iOS version. You need to change the deployment target in both the "Project" and "Targets" in your Xcode to make a successful build.

Deployment target is 8.0,Will it get installed in iOS 7 devices?

I have set my project's deployment target to iOS 8.0,but using the development certificate when i am trying to make a build on a iOS 7 device,it is getting installed.Should it be like that?I do not want to give support to iOS 7 when i will finally put my app in Appstore.
Thank you in advance.
Have you set Deployment Target to iOS 8.0 in both Target and Project?
If not then try to do that and then again try to install app in iOS 7.0 device.
I have attached screen shots for you and are as below.
I hope this will help you.
1.In Project set Deployment target to iOS 8.0.
2.In Target set Deployment target to iOS 8.0.

WatchKit XCODE 6.3 ISSUE

I have a problem with WatchKit in XCODE 6.3 i can't build my app.
Xcode tell me
error: WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3).
Do someone knows something about this issue ?
Your iOS app can target versions less that 8.2, but the WatchKit app and WatchKit extension must target iOS 8.2 (or later I'm assuming). Please make sure you're satisfying those requirements.
See this Apple Developer Forums link for more info.
I also had the same issue. 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.
I suspect it to be a bug of Xcode 6.3, it generally appears if we add a target for watch app in a project which have previously deployment target less than 8.2 . To resolve the issue, you can change your deployment target for all the individual targets of your project (watch kit extension and iOS app) as 8.2, clean the project, restart the Xcode, hope your problem will be resolved.

Apple Watch app installation issue - NSExtensionPointIdentifier

I'm trying to install an app with WatchKit App and WatchKit Extension onto an iOS8.1 phone, from Xcode 6.2.
I have the Deployment Target set at 8.1
and the Base SDK at 8.2.
I get this error:
This app contains an app extension that specifies an extension
point identifier that is not supported on this version of iOS
for the value of the NSExtensionPointIdentifier key in its Info.plist
I've seen some similar questions but not found a solution that works. Is there a way to programmatically handle the lower iOS version?
To answer this (using #LoVo's comment) - I fixed the issue by changing the deployment target to 8.2 in the Extension's Build Settings (not in the main app's build settings).
The main app's deployment target can be set at a lower deployment target, mine is now 7.0.

Minimum target iOS version/device platform for iPhone-App to get uploaded at AppStore

what is the allowed minimum target iOS version and device platform for a new iPhone App to get uploaded on AppStore
Apple support iOS 4.3 see Setting Deployment Info. But support 64-Bit Binary minimum deployment target of iOS 5.1.1
Apple has officially announced apps need to be compiled with Xcode5 starting February 1, 2014:
So you must have Xcode5 for submission app in to app store. And in to xCode5 we can not define device platform like(iPhone4,iPhone4s,iPhone5,iPhone5s.. etc.) we can set deployment Target so you can setting minimum deployment target is 6.0 if you want to less then 6.0 and if you are not find that Option like Bellow image you can directly type in to Deployment Target filed.
Building with Xcode 5 is currently required for iOS App Store submission. Xcode 5 does not include an armv6 compiler, thus does not support building for the original iPhone (2G) or the iPhone 3G, which only run armv6 code, or for iOS versions below 4.3, which also require armv6 code. So the 3GS and iOS 4.3 and newer are the supported lower limits.
Note that using Xcode 5 to build arm64 binaries for the newest devices has a Deployment Target lower limit of iOS 5.1.1. Anything lower won't create a functional build.
However, there are reports that one can additionally build the app with old Xcode 4.3 or earlier, which does include an armv6 compiler, and then use lipo to combine the results with an Xcode 5 build archive to support both newer and older devices down to iOS 4.0. Manual plist editing before codesigning may also be required after using lipo. Apple might currently be approving a small number of such lipo builds, however it is unknown whether they will continue to do so.
Starting from June 1st, 2015, APP updates needs to be 64bit and built with ios8 SDK.
Please check the answer:
I think Minimum target iOS version which apple should support be 4.3.
Check this if you want to add more targets: XCode 5 deployment target limited only to iOS 7

Resources