Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Not able to run latest ignite app on macbook with M1 chip #398

Open
MadhavNasit opened this issue Jun 4, 2021 · 1 comment
Open

Not able to run latest ignite app on macbook with M1 chip #398

MadhavNasit opened this issue Jun 4, 2021 · 1 comment

Comments

@MadhavNasit
Copy link

MadhavNasit commented Jun 4, 2021

Not able to run app on macbook with m1, works fine on intel mac.

On run npx react-native run-ios it gives below errors

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
/Users/madhav/Documents/xyz/champ-yash/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'react-native-splash-screen' from project 'Pods')
/Users/madhav/Documents/xyz/champ-yash/ios/CHAMP.xcodeproj: error: The linked library 'libPods-CHAMP.a' is missing one or more architectures required by this target: arm64. (in target 'CHAMP' from project 'CHAMP')
/Users/madhav/Documents/xyz/champ-yash/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'boost-for-react-native' from project 'Pods')


objc[2761]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f93aec10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1181082b8). One of the two will be used. Which one is undefined.
objc[2761]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1f93aec60) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x118108308). One of the two will be used. Which one is undefined.
** BUILD FAILED **

ignite doctor result are as below

System
  platform           darwin                                              
  arch               arm64                                               
  cpu                8 cores      Apple M1                               
  directory          champ-yash   /Users/madhav/Documents/xyz/champ-yash 

JavaScript (and globally-installed packages)
  node               16.3.0       /opt/homebrew/bin/node 
  npm                7.15.1       /opt/homebrew/bin/npm  
    nf               0.0.3                               
    node-gyp         8.0.0                               
    npm              7.15.1                              
  yarn               1.22.10      /opt/homebrew/bin/yarn 
    ios-deploy       1.11.4                              

Ignite
  ignite-cli         7.0.1        /Users/madhav/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite      
  ignite src         build        /Users/madhav/.npm/_npx/e31027f3785124a8/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 
@trungtruc91
Copy link

you can try with remove flipper in Pofile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants