Bug描述
这是在Xcode10中出现的问题,提示有重复的info.plist文件。
Showing All Messages:-1: ![Pasted Graphic 1.png](https://img.haomeiwen.com/i3363476/1fe5ae41b6d8fe7c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) '/Users/mac/Library/Developer/Xcode/DerivedData/FullAndFresh-hipctmmwmpvfxrersnhsbyiogvnq/Build/Products/Debug-iphoneos/FullAndFresh.app/Info.plist':
1) Target 'FullAndFresh' (project 'FullAndFresh') has copy command from '/Users/mac/Downloads/trunk 2/FullAndFresh/Info.plist' to '/Users/mac/Library/Developer/Xcode/DerivedData/FullAndFresh-hipctmmwmpvfxrersnhsbyiogvnq/Build/Products/Debug-iphoneos/FullAndFresh.app/Info.plist'
2) Target 'FullAndFresh' (project 'FullAndFresh') has process command with output '/Users/mac/Library/Developer/Xcode/DerivedData/FullAndFresh-hipctmmwmpvfxrersnhsbyiogvnq/Build/Products/Debug-iphoneos/FullAndFresh.app/Info.plist'
上面的这个问题看似是info.plist错误,但是我项目中不是这个问题导致的,下面罗列其他小伙伴的解决办法
认为是项目本身info.plist错误或者引用其他库包含的info.plist重复错误的解决办法
|>我的解决方法 参考链接
1.切换build system
Multiple commands produce.png Pasted Graphic 1.png
2.library not found for -libstdc++.6.0.9,iOS12.0中采用libc++代替lstdc++的动态库,删除了原先的libstdc++.6.0.9库,如果原先的项目没有用到这个库,后面需要用到,可以用libc++代替。如果原项目用到了,或者其他依赖库用到了这个libstdc++.6.0.9,需要手动导入到项目中。没有的可以私信我要。
网友评论