Apple Health feature for iOS 7.1 support app - ios

In my app has a Apple Health feature, it is optional and will work only if running on iOS 8.0 and above. But I want to support iOS 7.1, the Apple Health feature will not work in those device.
I can create ipa file and send to Itunes Connect, but it show error:
ERROR ITMS-90098: "This bundle is invalid. The key UIRequiredDeviceCapabilities contains value 'healthkit' which is incompatible with the MinimumOSVersion value of '7.1'."
How to make it support iOS 7.1 minimum? I see some app from Azumio and Runstatics, it is support iOS 7.1 and has Apple Health support for iOS 8.0 and above.

You'll need to remove healthkit from the UIRequiredDeviceCapabilities array in your app's Info.plist and set the deployment SDK to iOS 7.1.

Related

Can I run a Bluetooth Central in Background in my WatchKit app while supporting WatchOS version < 8?

As of WatchOS 9 a WatchKit app can receive alerts via Bluetooth in background. This is really great for my use case.
However, apps running on watchOS 7 or earlier need a special entitlement for this that is not available for most apps and won't be available to mine.
The problem is > 10% of the active user base for this app has an Apple Watch series 2 or earlier. These devices are not compatible with watchOS 8. So raising the minimum target to >= 8 is not ideal.
If I ship the app without changing the target will:
the app pass review?
And will it work for those on < watchOS 8 (just with bg BLE disabled)?
Here is a message I got on this topic at build validation:
Missing entitlement. The Info.plist for the watchOS app bundle at
“--Redacted--” uses the bluetooth-central value for UIBackgroundModes
without the com.apple.developer.bluetooth-central-background
entitlement signed into the bundle. We encourage you to add the
entitlement to the app’s entitlements list, or set the watchOS
deployment target to 8.0 or later to use Bluetooth during Background
App Refresh.

Xcode: I set an iOS deployment target of iOS 13.0; The App Store shows a minimal requirement of iOS 11. Why

I set an iOS deployment target of iOS 13.0 and submitted the app to the Apple App Store.
My app was approved and the App Store shows a minimal requirement of iOS 11. Why?
What did I miss that determines which iOS version the Apple App Store shows?
(It might or might not be relevant that I once used Cocoapods and now use the Swift Package Manager for some libraries)
I asked Apple support and a few days later, Apple silently changed it to iOS 13 in the App Store.

How can I specify device in itunesconnect?

I have submitted an app in the app store only for iPhone 6 and above but there are all devices listed when I search on app store. From where I can set app compatibility.
This will depend on the iOS version given as minimum deployment target in the Xcode.
You have given the minimum supported version as iOS 8 and later. So it will be compatible with all devices that support iOS 8. So that was listed in the app store page.
You can not specify devices in App Store. It's availability depends upon the iOS version you provide support for. All the devices will be compatible which will have equal or greater OS version which you will define in your Deployment Target. You can restrict your app for iPhone or iPad . For this you need to change Device from your target setting.
You can see your settings in following screenshot.

UIRequiredDeviceCapabilities error while submitting to appstore

I have revamped my old application to use healthKit as base and hence I added healthKit as required device capability and moved up the deployment target to iOS 8.0 to make sure that healthKit is available and from iPhone4s all the devices support iOS 8.0 and healthkit.
My app is build for iPhone (not a universal app). Now when I try to submit the app I am getting the below error.
“The app's Info.plist can't contain values for the UIRequiredDeviceCapabilities key that would prevent this app from opening on any iOS device that was supported by previous versions. For more information, see Understanding the UIRequiredDeviceCapabilities Key.”
Does that mean, I need to remove healthkit capability and write code to support iPhone4 also ?? Please guide me.
I encountered the same problem on an iPhone only target, and resolved the issue by removing the UIRequiredDeviceCapabilities key.

AIR for iOS Info.plist adjustments?

So we're trying to release our app on iOS, but an old version supported devices AIR no longer supports and we're getting an error.
I've spoken to Apple and the fix for this is to limit our app to iOS 7 or above, which we've done with InfoAdditions. We still get the error because our AIR app still includes armv7 and opengles 2.0 as requirements in the Info.plist file.
Is there a way we can remove these UIRequiredDeviceCapabilities from the info.plist file? The app will still be limited to devices that support it due to the iOS 7 requirement we have added. From where I'm standing, it looks like we'd have to build the .ipa with AIR, edit the Info.plist and then re-package, but this has us completely lost.

Resources