最近将mac系统升级到了macOS Monterey 12.0.1,原先能愉快使用的xcode12就不能使用了
早先苹果就已经告知我们:
怎么办呢,只能来填xcode13的坑了,那xcode13有那些坑呢。
可以告诉你的是原本正常在xcode12能正常运行的项目在xcode13 各种报错。
xcode13的新特性:
推荐你们可以看这两篇文章:
好了,进入正题
##1.运行报 Legacy Build System错
The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Workspace Settings.
怎么解决:
##2. 报 Info.plist 错
Multiple commands produce '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/Info.plist':
1) Target 'Eschool' (project 'Eschool') has copy command from '/Users/zhangrong/WorkDv/NNN/RongHeDv/RongHeEzJ_ios_Teacher/Eschool/Info.plist' to '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/Info.plist'
2) Target 'Eschool' (project 'Eschool') has process command with output '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/Info.plist'
怎么解决:
##3. 报 has copy command from to xxx.app/XXX ,我的是(.app/LICENSE)
Multiple commands produce '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/LICENSE':
1) Target 'Eschool' (project 'Eschool') has copy command from '/Users/zhangrong/WorkDv/NNN/RongHeDv/RongHeEzJ_ios_Teacher/Eschool/RefLibrary/Pods/AFNetworking/LICENSE' to '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/LICENSE'
2) Target 'Eschool' (project 'Eschool') has copy command from '/Users/zhangrong/WorkDv/NNN/RongHeDv/RongHeEzJ_ios_Teacher/Eschool/RefLibrary/Pods/VExtensions/LICENSE' to '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/LICENSE'
3) Target 'Eschool' (project 'Eschool') has copy command from '/Users/zhangrong/WorkDv/NNN/RongHeDv/RongHeEzJ_ios_Teacher/Eschool/RefLibrary/Pods/VFileManager/LICENSE' to '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/LICENSE'
4) Target 'Eschool' (project 'Eschool') has copy command from '/Users/zhangrong/WorkDv/NNN/RongHeDv/RongHeEzJ_ios_Teacher/Eschool/RefLibrary/Pods/VWebService/LICENSE' to '/Users/zhangrong/Library/Developer/Xcode/DerivedData/Eschool-dzauntwiznfeobbqokwhohezgrvk/Build/Products/Debug-iphoneos/Eschool.app/LICENSE'
怎么解决:
成功运行
----------------未完,待完善