I want to release my first iOS app on App Store. I would like to make it iOS only. Without an option to download and run on iPad and Mac.
However, TestFlight shows me this app on both iPad and Mac.
Why can I test my iOS app on iPad when I specifically disabled iPad in Target’s Deployment Info? How to disable it? How to prevent the app from distributing to iPad and Mac?
Deployment info is set to iPhone only. On App Store Connect I didn’t add macOS app. And yet, it’s still available in TestFlight and under compatibility it says: iPhone, iPad, macOS.
2
Answers
There is an option to prevent the app from being available to M1 macs in App Store Connect under Pricing and availability
Deselect the checkbox and the app won’t appear in the Mac App Store.
Preventing your app from being installed on iPads is more difficult. Even if your app is not a Universal app with direct iPad support, iPads can download and run iPhone apps in a compatibility mode.
You may be able to limit your app availability by specifying
telephony
forUIDequiredDeviceCapabilities
For XCode 14.x this seems to be configured under General –> Supported Destinations – see Configure the supported destinations for a target section here https://developer.apple.com/documentation/xcode/configuring-a-multiplatform-app-target