expo: Some apps created with `exp build:ios` after June 12 crash on launch

Environment

software version
expo 27.0.0, 28.0.0
react-native https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz
device iPhone 6s, iPhone 8

exp diagnostics output

screen shot 2018-06-05 at 12 32 49 pm

App’s target is iOS Standalone

Steps to Reproduce

  1. Run exp build:ios

  2. Upload build to iTunes Connect

  3. Install app on your phone with TestFlight

  4. Try to open it

Expected Behavior

iOS standalone app should start.

Actual Behavior

Running exp build:ios on Expo 27 without any changes in code creates ipa file that crashes each time I try to open it. I tried to build twice and results are the same.

Updating Expo to 28 didn’t help.

https://drive.google.com/open?id=1v3OIeKWIscSE6KTW1iMuqd3VdcM2v1KS

Yesterday the new builds were working.

Reproducible Demo

No demo. In Simulator all works fine. I tried with and without “Development mode” in Simulator and everything works fine. The problem is only with iOS standalone app.

Please fix it.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 50 (27 by maintainers)

Commits related to this issue

Most upvoted comments

hi all! I believe we have located the issue, it is caused by non-ascii characters in app manifest. working on a fix right now, apologies for this inconvenience!

@terribleben @brentvatne We appreciate your time and help

@terribleben I work with @samprimo

Here are the API’s we use during launch of the Application, in this order.

  1. Font.loadAsync
  2. Updates.checkForUpdateAsync
  3. Notifications.addListener

Not Expo 4. AsyncStorage.getItem

Again, we are on SDK 27 and a build that we did 5 days ago was working fine.

Everything works, including offline start. Thank you, guys!

I am closing this issue.

Hi, we’re experiencing the same issue with our app, in fact, it got rejected from the App Store as a result.

At first we were convinced the issue was related to our production server but further testing via Test Flight, using newly built IPAs (which were a pain to build due to the ongoing building delays) pointing to our staging server indicates nothing is actually wrong with our code and that there is something deeper causing the app to crash on launch.

As stated by others above, the app will simply display the splash screen and immediately dim to a black screen and crash. It’s been tested and replicated in an iPhone 7 Plus and an iPhone 5. Our last “working” build was built 4 days ago and no substantial code changes have been made between then and last night’s/today’s builds.

These are the Crash Logs that Apple attached to its rejection notice, see if anyone can make any sense of them:

Well done @brentvatne and @terribleben! The new build works as expected.

Hello everyone, same issue here… My IOS builds with expo sdk v27 made on last week is working fine, but yesterday I’ve made the sdk update (27 -> 28) and I starts having issues. The IOS builds won’t work anymore. My App starts opening, but seconds after, it closes without any feedback. It only happens on IOS… ;/

@brentvatne, my last IOS build links is: https://expo.io/builds/c5675473-16fd-463b-a4ce-ece40f83179e

@rodrix - build id / link to build page for one of these please?