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.
Related
I'm trying to upload a Sticker Pack to app store, but I'm facing the issue
Invalid Bundle. The bundle App.app does not support the minimum OS
version specified in the Info.plist
I've created a Sticker Pack project directly in XCode, and all Deployment Targets, from the App and the Sticker Extension are the same. See screenshots below. Why do I keep facing this issue? Im running last release from XCode 9.
I would think your problem is that you are trying to target iOS 9.0 in your app and sticker pack, when stickers weren't available until iOS 10. Can you try bumping both of them to 10 and see if you still have the same problem?
I have a project on Swift 3.0 and Xcode 8. The deployment target for this project is from 8.0.
Is possible that Siri Extension can be used in this app?
It means, only if users installed the app on ios10-iphone, then siri extension works.
Thanks
The minimum deployment target for Siri is iOS 10. Apple has exposed SirKit in iOS 10 so we can't set the minimum deployment target to something less than iOS 10.
Having said that, you can keep your original app target as it is i.e. 8.0 but when you create Siri extension ( also Siri UI extension), you need to set deployment target to minimum of 10.0. This way all the targets build successfully. Please note that you need minimum of xcode8.
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.
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.
I released an iOS 8 version of my app today and wanted to limit it only to users running iOS 8 (because it uses some new Core Motion APIs that only work with iOS 8). It seems like iOS7 users are still able to download my app, even though the deployment target is iOS8 and the App Store says "Compatibility: Requires iOS 7.0 or later". Can I force app to run in iOS8 only? Does the Deployment Target option in Xcode still control which version of the OS is required on the App Store?
The answer is, you have to set the Deployment Target in three different places, in the project, in the app target, and (in my case) in the extension. If you don't set it in all three locations the app won't show as iOS 8 only.
Deployment target on all your TARGETS is the correct option. It's important to understand the different between "Deployment target" and "Base SDK". Both regard a iOS SDK version, but they have different meanings. To learn what read here.