pod install报错,请问怎么解决

来源:2-2 开发环境搭建指导-Mac平台【持续更新】

慕粉4383609

2022-05-31

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230: warning: Insecure world writable dir /opt/homebrew/bin in PATH, mode 040777
Using Expo modules
Auto-linking React Native modules for target YyPhoto: RNCAsyncStorage, RNCMaskedView, RNCPicker, RNFS, RNGestureHandler, RNReanimated, RNScreens, react-native-background-upload, react-native-camera, react-native-cameraroll, react-native-image-crop-tools, react-native-safe-area-context, react-native-segmented-control, and react-native-slider
Analyzing dependencies
[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:

project 'path/to/Project.xcodeproj'

[!] 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.

写回答

2回答

CrazyCodeBoy

2022-06-06

课程群里小窗口我帮你看看哈
0
1
慕粉4383609
我在qq上私聊你了,麻烦看一下哈
2022-06-06
共1条回复

CrazyCodeBoy

2022-05-31

你的项目是通过Expo创建的还是课程中所使用的方式创建的呢
0
5
慕粉4383609
我在qq上私聊你了,麻烦看一下哈
2022-06-06
共5条回复

RN入门到进阶,打造高质量上线App

解锁React Native开发应用新姿势,React Native新版本热门技术

3172 学习 · 3258 问题

查看课程