expo: [ad hoc] Expo custom iOS client crash

The created ios custom client app does crash while starting. The app was deinstalled and re-installed. Did restart the iPhone, too. When opening the App the white Expo splash screen with the “A”-icon is visible for a second and then back to the home screen.

Device: iPhone XS with iOS 12.4.1

Then I suspect the problem is on the Profile file.So I cleared Certificates & Identifiers & Profiles on the apple developer account and use expo client:ios rebuild it for many many time. Undoubtedly failed. Just crash and crash When the Profile been installed, it just open a web page, but it didn’t show up at configuration profile like other Profile file And I tried it with Apple configurator 2. the same I very much hope that someone can come out and help us solve this problem. Thank you very much

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 4
  • Comments: 18 (6 by maintainers)

Most upvoted comments

changes are deployed now, adhoc builds should be back up.

Here are the steps I followed to workaround the issue, based on what @quinlanj said above:

  • Follow these instructions to generate and download the Google Firebase .plist file. Note that I already had a Firebase project; if you don’t, you’ll have to create one first. You can skip the prerequisites.
  • Create a new empty Expo app using Expo init from the CLI: expo init custom-expo
  • Copy the downloaded .plist file into the new Expo app’s folder
  • Open the app.json file in the new Expo app. In the ios section, add this entry to reference the .plist file: "googleServicesFile": "./GoogleService-Info.plist"
  • From the terminal/command line, make sure you are inside the folder of your new Expo app and run the following command to generate a new custom expo client: expo client:ios --config ./app.json

If you haven’t generated a custom Expo client before, there may be other prerequisites you need to follow, so you may want to familiarize yourself with the normal instructions here.

i took a look at the crash logs and the reason the client builds are erroring out is because we have a FaceDetector package that is erroneously attempting to configure a Firebase App on startup. (see https://github.com/expo/expo/pull/5829 for more details)

We will get this fixed soon, but in the meantime, a quick way to get unblocked is to pass in a valid GoogleService-Info.plist file in your manifest, under the field ios.googleServicesFile (this requires the latest cli). Sorry for the inconvenience.

also having the same issue here =(

sdk v35

Same problem with expo SDK v35 @brentvatne

This is most likely related to the ad hoc provisioning profile as you suspect. When you get this behavior it means your device UDID is not registered with the provisioning profile. Be sure to go through the UDID registration flow through the Expo website on your device and make sure your device UDID is associated with an ad hoc provisioning profile on the Apple developer site.

Hey @ide and @quinlanj, could you have a second look? Some more information is provided and more people having the issue. In my case Im still using the same phone with the same UDID as I used to generate a custom client with v34. Just ran a new build with the SDK v34 and getting crashes now. Thanks, alot