Testflight Sdk and iOS Simulator - How to Use

Installing a TestFlight app on iOS iPhone Simulator - Registration Failed

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.

iOS app working on simulator but not over TestFlight

When using the simulator and attached with the USB are you using the release scheme?

If not, in Xcode:

  1. Product
  2. Edit Scheme
  3. Select Run on left panel
  4. In the right panel select Info at the top and then Release (instead of Debug) for Build Configuration

Then, when you build in the simulator or on your (connected) iPad you will, most likely, get the same result as the TF install (or a deployment) and can find where your app is crashing. Don't forget to turn on All Exceptions in the Breakpoint Navigator.

I've done this and it works.

Getting Production data for iOS apps with Testflight sdk

After checking around, it looks like as of v1.1, you NEED to have the same build that is submitted to Appstore to be in testflight as well. The reason is that the event matching is done using the UUID of the build.
Their support indicated that they are working on handling orphaned build events as well.

How to deal with checkpoints in TestFlight when using iOS simulator?

It is important to not what you will never see any activity into testflight until you push the app into testflight.

It apply to remote logging, crash report, checkpoint and so on...

First you need to export your app into an ipa on your hard drive.

Follow the steps:

Sample Image

Your organizer will popup. Click the button "Distribute..."

Then sign your app with adhoc certificate (google to find how to do it)

Sample Image



Save on your hard drive "YOUR_APP.ipa"

Now upload your ipa into testflight:

https://testflightapp.com/dashboard/builds/add/

You will need a account to upload on it of course.
Now you need to download the ipa from testflight into your iPhone...
http://blog.testflightapp.com/post/1346521917/register-devices



Edit:

It look like actually you can get some information from your simulator. But I guess you have to upload the App at least one time on Testflight.

I'm just getting tiny information from my simulator into testflight so I still recommend to deploy on a real device.
Sample Image

If you don't upload to

Xcode 12 and iOS 15

No, you cannot have iOS 15 simulator in Xcode 12.4.

You can install it on physical iOS 15 device via TestFlight or by manually dragging the .ipa/product to the phone in Xcode “Devices” window or Finder. But when you do this, you cannot debug it interactively via the Xcode debugger.


Just as a heads-up:

Starting April 2022, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK.

So, you’ll need to fix your Xcode 13 issue by then. See App Store submissions now open for iOS 15 & iPadOS 15.



Related Topics



Leave a reply



Submit