XCode 遇到的问题

1. 注释快捷键

Option + CMD + /

2. M1 安装依赖 

arch -x86_64 pod install
 记得先执行 sudo arch -x86_64 gem install ffi

 

错误

Could not find module 'SwiftCBOR' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, at: /Users/zhengguohuang/Library/Developer/Xcode/DerivedData/EXOTerra-ftjltjhdoqzkaydirssauejtfein/Build/Products/Debug-iphonesimulator/SwiftCBOR/SwiftCBOR.framework/Modules/SwiftCBOR.swiftmodule

解决方法

 自定义 Framework 需要设置内嵌

 

 如果 Framework 包含 xib 文件,还需要设置

 3. TestFlight 审核通过后,提示不接收新成员,需要在后台点击通知测试员

4. 运行出现以下错误

Command PhaseScriptExecution failed with a nonzero exit code

Showing All Messages

/Users/***/Github/***/Pods/Target Support Files/Pods-***/Pods-***-frameworks.sh: line 132: ARCHS[@]: unbound variable

 我这里是为了模拟器运行,这里添加了 arm64,删除即可 

 

posted @ 2023-04-07 13:25  sims  阅读(851)  评论(1编辑  收藏  举报