iOS: Mac Catalyst, Testing iOS app on Other Macs

Viewed 1928

I'm building an iOS app, and the client wants to enable the run on Mac feature. I enabled it and all run as expected on my Mac. How can I let them test it on their Macs? since TestFlight only runs on iOS devices.

4 Answers

Here are the steps I followed to create a Mac app of the iOS app for my client to test:

1- Enable Mac from the app target

enter image description here

2- Select My Mac as build device and then Archive:

enter image description here

enter image description here

3- Select your Mac app in the organizer -> Distribute App -> Copy App

enter image description here

How can I let them test it on their Macs?

TestFlight is not available for macOS apps. You can simply build a .app bundle for macOS and share it with directly with your client, and they can run it on their Mac.

A distribution service such as TestFlight is not needed for macOS apps, as unlike iOS/iPadOS, one can easily create and distribute apps for macOS.

To learn more about distributing testing build for macOS apps, you can refer to the following Apple Developer documents:

  1. Distributing Your App for Beta Testing and Releases.

  2. Distribute to registered computers (macOS)

Distribution to registered computers didn't work for us either.

We need the app to run on

  • MacOS 10.15 Catalina
  • MacOS 11.X Big Sur

What worked for us is to distribute via Developer ID distribution.

Then you may notarize it or

xattr -r -d com.apple.quarantine ~/Downloads/Your.app

Mac TestFlight Update from WWDC 2021

From WWDC 2021 , there actually is brand new TestFlight for macOS apple WWDC video . The uppload process of macOS app is basically the same as for iOS. Only limitation is that you can download TestFlight on mac only if you are using Mac running macOS 12.0 or later, so If you want to test on devices with older OS version I recommend using distribution techniques listed in other answers.

Related