6

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.

fullmoon
  • 8,030
  • 5
  • 43
  • 58

4 Answers4

5

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

fullmoon
  • 8,030
  • 5
  • 43
  • 58
  • But can't open the .app for me after these steps? Getting error with -1. – guhan0 Aug 11 '20 at 04:08
  • Not sure why, may be in security settings you need to enable running apps from any source. Also in my experience not all apps worked, some had issues with coco pods and libraries. – fullmoon Aug 11 '20 at 08:08
2

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)

Nimesh Neema
  • 1,528
  • 2
  • 17
  • 44
0

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
Ted
  • 22,696
  • 11
  • 95
  • 109
0

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.

Mr.SwiftOak
  • 1,469
  • 3
  • 8
  • 19