mac M4芯片,xcode 版本16.3执行npm run ios报错
来源:2-2 开发环境搭建指导-Mac平台【持续更新】

慕田峪3981059
2025-05-23
— xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, arch:arm64, id:7D6324C1-3C2C-4539-BD70-4A942887E31C, OS:18.4, name:iPhone 16 }
{ platform:iOS Simulator, arch:x86_64, id:7D6324C1-3C2C-4539-BD70-4A942887E31C, OS:18.4, name:iPhone 16 }
** BUILD FAILED **
The following build commands failed:
CompileC /Users/xxx/Library/Developer/Xcode/DerivedData/GitHub_RN-etjkekqrmqshmpbtkhogqjhsiakz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/fmt.build/Objects-normal/x86_64/format.o /Users/xxx/Downloads/rn-trackshare/ios/Pods/fmt/src/format.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target ‘fmt’ from project ‘Pods’)
Building workspace GitHub_RN with scheme GitHub_RN and configuration Debug
(2 failures)
1回答
-
CrazyCodeBoy
2025-05-26
1.新建一个RN项目运行试试看是否还有这个问题。
2.另外检查下项目的ios目录下运行pod install是否正常。022025-05-27
相似问题