Not able to run app on macbook with m1, works fine on intel mac.
On runnpx 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 **
Not able to run app on macbook with m1, works fine on intel mac.
On run
npx react-native run-ios
it gives below errorsignite doctor result are as below