Ejected IOS app fails when run from XCode

I have an app that started failing recently when I am trying to start it in XCode.
Initially I thought it’s some of my recent changes that caused this, but neither rolling back the repository, nor re-ejecting it helped.

Finally, I managed to minimally reproduce it:

  1. expo init myawsomeapp
  2. cd myawesomeapp
  3. yarn start (runs in simulator well)
  4. expo eject (choose eject to expokit)
  5. cd ios; pod install
  6. open ios/myawesomeapp.xcworkspace in XCode
  7. start the app in simulator


    0x7fff523bc7f0 <+0>:  movl   $0x2000148, %eax          ; imm = 0x2000148 
    0x7fff523bc7f5 <+5>:  movq   %rcx, %r10
    0x7fff523bc7f8 <+8>:  syscall 
->  0x7fff523bc7fa <+10>: jae    0x7fff523bc804            ; <+20>
    0x7fff523bc7fc <+12>: movq   %rax, %rdi
    0x7fff523bc7ff <+15>: jmp    0x7fff523b6a89            ; cerror_nocancel
    0x7fff523bc804 <+20>: retq   
    0x7fff523bc805 <+21>: nop    
    0x7fff523bc806 <+22>: nop    
    0x7fff523bc807 <+23>: nop    

Any advice on troubleshooting this would be really appreciated!


Kind of reminds me of the error I get when Expo isn’t already running when I start the app. Between steps 6 and 7, did you run yarn start again?

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.