Installing a TestFlight app on iOS iPhone Simulator - Registration Failed
Asked Answered
L

3

31

I'm attempting to install a TestFlight app on XCode's iOS simulator using the iPhone simulator. The link to the TestFlight app takes me to a page that says "This device will need to be registered before it can install betas."

There is a friendly Register button. When I click the register button, it says "Registering Device" and then it takes me to the iPhone's General settings page. If I navigate back to the TestFlight page, it says "Registration Failed."

Does anyone know of a way to install a TestFlight app on the iPhone Simulator? Thanks.

Layoff answered 13/8, 2012 at 21:18 Comment(0)
F
23

The app you are trying to install is an app compiled for arm architecture, which is different from the simulator (the simulator is not an emulator). The simulator only runs x86 apps compiled for it. You will need to contact the developer of the application to send you the x86 binaries, and add them directly to the application directory of the iOS simulator. The directory (on Xcode 4.5 beta 4) is /Applications/Xcode45-DP4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Applications. Note that the simulator's sdk version has to match the version of iOS you are trying to use the simulator with.

Fineable answered 13/8, 2012 at 21:29 Comment(1)
I'd like to know if this works on Apple Silicon (new Macs that use the ARM64 architecture).Debouch
F
1

If you need test your Release application you can run your on a release build go to ->Product->Scheme -> Edit scheme-> in Run change debug to Release in this you can check your release build in simulator

Fierce answered 24/9, 2020 at 11:15 Comment(0)
S
-3

If I had to guess, I would presume that since the Simulator is not a valid device, it is not able to install the TestFlight Profiles onto the device, and therefore failing registration process (when you are directed to the iPhone's Settings, it tries to install a profile on your device).

May I ask why you are trying to install the app via the iPhone Simulator? If the app's code exists on GitHub, you can use the GitHub for Mac app to checkout the code, and XCode to compile the project and build it to the iOS Simulator. There should not really be any reason to have to install TestFlight on the iOS Simulator.

Strum answered 13/8, 2012 at 21:26 Comment(2)
there is a case where builds are made in CI environment and not on local machines.Unseemly
My case when I started to google the solution is that testing platform is providing the link to the testflight site and there no connection with developers: I can install it only on a real devise or to my simulator. And I don't have appropriate version of iPhone with required iOS version.Longitude

© 2022 - 2024 — McMap. All rights reserved.