ignite icon indicating copy to clipboard operation
ignite copied to clipboard

Ios app stuck on splash screen on mac with m1(works fine on intel mac)

Open MadhavNasit opened this issue 3 years ago • 10 comments

What's going on? Latest ignite app stuck on splash screen on ios, for android it working fine. It builds successfully for ios but stuck on splash screen for infinite time. This is only on macbook with M1 chip.

Steps to reproduce

  1. Create new project using npx ignite-cli new projectName after generating project cd projectName && npx react-native run-ios

ignite doctor results:

System
  platform           darwin                                                               
  arch               x64                                                                  
  cpu                8 cores            Apple M1                                          
  directory          DemoLatestIgnite   /Users/madhav/Documents/Projects/DemoLatestIgnite 

JavaScript (and globally-installed packages)
  node               14.17.0      /Users/madhav/.nvm/versions/node/v14.17.0/bin/node 
  npm                6.14.13      /Users/madhav/.nvm/versions/node/v14.17.0/bin/npm  
    npm              6.14.13                                                         
  yarn               1.22.10      /opt/homebrew/bin/yarn                             
    ios-deploy       1.11.4                                                          

Ignite
  ignite-cli         7.0.4        /Users/madhav/.npm/_npx/20329/bin/ignite                        
  ignite src         build        /Users/madhav/.npm/_npx/20329/lib/node_modules/ignite-cli/build 

Android
  java               1.8.0_275    /usr/bin/java                     
  android home       -            /Users/madhav/Library/Android/sdk 

iOS
  xcode              12.5       
  cocoapods          1.10.1       /usr/local/bin/pod 

MadhavNasit avatar Jul 01 '21 11:07 MadhavNasit

Could we get others with an M1 chip to confirm this is happening?

jamonholmgren avatar Jul 01 '21 18:07 jamonholmgren

@MadhavNasit Appreciate it! Do you have any ideas on what might be happening?

jamonholmgren avatar Jul 01 '21 18:07 jamonholmgren

@MadhavNasit Appreciate it! Do you have any ideas on what might be happening?

Not getting any error, so unable to trace anything. App build successfully using xcode or npx react-native run-ios. Then simulator and metro terminal opens and then app stuck on splash screen.

MadhavNasit avatar Jul 01 '21 18:07 MadhavNasit

Could we get others with an M1 chip to confirm this is happening?

Yes I am having mac M1 and also facing this error.

ViraliVasa avatar Jul 01 '21 18:07 ViraliVasa

Could we get others with an M1 chip to confirm this is happening?

Yes I am facing this error too.

Neel2497 avatar Jul 02 '21 03:07 Neel2497

I'd appreciate help debugging this, as I don't have an M1 at this point.

jamonholmgren avatar Jul 06 '21 22:07 jamonholmgren

Am also facing the same issue. works on a mac with intel chip but not on my m1

Caleb-Mantey avatar Sep 16 '21 10:09 Caleb-Mantey

I've got an M1 and have been trying to get going with ignite. I've run into other problems but at least for me, I wasn't stuck on the splash screen in the iOS simulator.

mrmurphy avatar Sep 29 '21 06:09 mrmurphy

I get stuck on this too. Any solution for this bug?

duong1090 avatar Oct 07 '21 09:10 duong1090

Same error.

MuhtasimTanmoy avatar Jun 27 '22 02:06 MuhtasimTanmoy

There has been a lot of changes since this issue last had activity. This is going to be closed for now, but please re-open if this still needs attention.

joshuayoes avatar Oct 04 '22 17:10 joshuayoes