Xcode 运行旧项目遇到的问题总结

1.Xcode10 打开旧项目报错Multiple commands produce定位到Info.plist解决方案  

问题显示:

:-1: Multiple commands produce '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist':

1) Target 'spor' (project 'spor) has copy command from '/Users/apple/Downloads/NoAppNoPush/spor/External/Masonry/Info.plist' to '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist'

2) Target 'spor' (project 'spor') has process command with output '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist'

解决办法:

选择 xcode -> File -> Project Seetongs.... -> Shared Project Seetings: -> Build System -> Legacy Build System ->Done

原文:https://blog.csdn.net/saw471/article/details/82762741

2.Xcode10证书错误

XXX is automatically signed, but provisioning profile YYY has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor, or switch to manual signing in the project editor.

其中XXX是项目名称,YYY是一串字符。

链接:https://www.jianshu.com/p/dd407809588e

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容