Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect Rosetta2 and warn if x86_64 is used on arm64
Running `pod install` from inside Rosetta2 can lead to problems, try to avoid doing that by hinting users from use_react_native!() function. $ arch -x86_64 pod install Building RNTester with Fabric enabled. Building RNTester with Fabric enabled. Building RNTester with Fabric enabled. Analyzing dependencies Downloading dependencies Generating Pods project Integrating client project Pod installation complete! There are 63 dependencies from the Podfile and 50 total pods installed. [!] Do not use "pod install" from inside Rosetta2 (x86_64 emulation on arm64). [!] - Emulated x86_64 is slower than native arm64 [!] - May result in mixed architectures in rubygems (eg: ffi_c.bundle files may be x86_64 with an arm64 interpreter) [!] Run "env /usr/bin/arch -arm64 /bin/bash --login" then try again.
- Loading branch information