Anybody else have problems with iOS 13 using the ExpoKit instructions? (UPDATE: not fixed)

A month or so ago, I followed the Expo/ ExpoKit upgrade instructions here: https://blog.expo.io/expo-sdk-34-is-now-available-4f7825239319. I didn’t test on iOS 13 (stupid me!) because I didn’t have a test device and didn’t want to blow up my build environment. I released the app, somebody tried it on iOS13, and it crashed. So, I broke down and installed Xcode 11 beta 7 and tried things out. I forgot to copy the error down, but it was a dead-ringer for the attribute issue fixed here: https://github.com/expo/expo/commit/bc370a760787ed5c6d9603d164f9acf06586bc0e.

So, I ran expo init to create a new blank project and ejected it, installed pods, built it, and it worked great. I looked at the differences between my project at the new blank project, and the tag for the ExpoKit pod was “2.12.4”, where mine was “2.12.0”. So I changed that reinstalled my pods, still didn’t fix it. I then noticed in packages.json that the blank project had https://github.com/expo/react-native/archive/sdk-34.0.1.tar.gz for react-native, while I had 34.0.0 (which was from the upgrade instructions as I recall). I upgraded that, the reinstalled all my pods, and it worked!

Anyway, wanted to check to see if that jived with reality (did that iOS 13 fix really ship in 34.0.1 of the RN fork?) and to let folks know in case they’re running into problems.

1 Like

@llamaluvr seems like it’s very dependent on how you have your pod file configured plus what ejected frameworks you use. our setup is working fine with Pod expokit 2.12.0 and RN expo archive 34.0.0 w:

     "expo": "^34.0.3",
     ...
     "expokit": "^34.0.2",

by fine I mean several build problems that we’ve managed to fix :slight_smile:

So, I spoke a little too soon. After these fixes, our development build to the simulator worked, but our development build to a device did not. We got this fishhook.c error: https://github.com/facebook/react-native/issues/25182. I don’t see a commit where this was cherry-picked into Expo. Anybody else get this issue?

We are finding that we are getting this error only on an iOS beta 13.1 device (not on a simulator). Submitted an issue here: https://github.com/expo/expo/issues/5532

1 Like

@llamaluvr that is a known issue https://github.com/facebook/react-native/pull/25146 supposedly in RN 0.59.9, but that is not what expo archive 34.0.0 is using so I am maintaining the RCTModuleMethod.mm fix manually…for now.

The __unused error should be fixed in 34, I’m not seeing that error anymore. What I’m still seeing is the one related to fishhook.c. We’re working around it for now by commenting out the line that cashes in fishhook (see https://github.com/facebook/react-native/issues/25182)