Home > Mobile >  Xcode, iOS app - How to disable iPad and Mac compatibility?
Xcode, iOS app - How to disable iPad and Mac compatibility?

Time:02-19

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.

enter image description here

CodePudding user response:

There is an option to prevent the app from being available to M1 macs in App Store Connect under Pricing and availability enter image description here

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 for UIDequiredDeviceCapabilities

  • Related