ios项目在XCode13运行的哪些坑

最近将mac系统升级到了macOS Monterey  12.0.1,原先能愉快使用的xcode12就不能使用了

早先苹果就已经告知我们:

 怎么办呢,只能来填xcode13的坑了,那xcode13有那些坑呢。

可以告诉你的是原本正常在xcode12能正常运行的项目在xcode13 各种报错。

xcode13的新特性:

推荐你们可以看这两篇文章:

Xcode 13 更新了哪些内容

Xcode 13 正式版发布,来看看有什么新特性

好了,进入正题

##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'

 怎么解决:

成功运行

 ----------------未完,待完善 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

荣•厚德载物

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值