Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to debug an iOS app or use TestFlight on a MacBook M?

So I have an iOS app that runs on iPhone/iPad, and runs also on M1 Macs. I have an M1 MacBook Air, and I can install the app just fine from the App Store, but I have some issues to track down that only show up on the M1. For example, when I stretch the screen beyond what an iPad can show. I would love to either install the app from Xcode, and debug it directly, or install it from TestFlight or by another method other than from the public App Store so that I can at least try some things before releasing the app. Is there any way to do this that anyone has figured out?

like image 357
Andrew Smith Avatar asked Nov 15 '22 00:11

Andrew Smith


2 Answers

I did not find a way to install it from TestFlight but running from Xcode is easy. Just select My Mac (designed for iPad) as the run target. It's at the top of the dropdown list where you'd normally select the Simulator.

like image 170
Tom van Zummeren Avatar answered Jan 03 '23 08:01

Tom van Zummeren


I just found out today that you can download TestFlight from AppStore on Mac M1 with Monterey.

like image 26
bobwki Avatar answered Jan 03 '23 08:01

bobwki