1 info.plist文件重复报错信息如下:
:-1: Multiple commands produce '/Users/boboMa/Library/Developer/Xcode/DerivedData/工程名字-glmqokbkuyghocbsmqbuocmbtmyo/Build/Products/Debug-iphonesimulator/工程名字.app/Info.plist':
1) Target '工程名字' (project '工程名字') has copy command from '/Users/boboMa/Desktop/工程名字/platforms/ios/工程名字/Classes/ThirdPart/第三方文件/Info.plist' to '/Users/boboMa/Library/Developer/Xcode/DerivedData/PartySchool-glmqokbkuyghocbsmqbuocmbtmyo/Build/Products/Debug-iphonesimulator/工程名字.app/Info.plist'
2) Target '工程名字' (project '工程名字') has process command with output '/Users/boboMa/Library/Developer/Xcode/DerivedData/工程名字-glmqokbkuyghocbsmqbuocmbtmyo/Build/Products/Debug-iphonesimulator/工程名字.app/Info.plist'
解决办法:
有两种解决办法推荐第二种方式,从根本上解决问题!
1 ). 修改xcode的配置暂时解决了编译报错的问题。
xcode--file--Project Settings--Build System--legacy Build System
2 ).删除错误提示的plist等文件
2.编译报错 library not found for -l"stdc++.6.0.9"
原因是Xcode10取消了6.0.9的支持
解决办法:
打开Build Phases--Link Binary With Libraries,删除6.0.9依赖 添加Libc++.tdb
如果依赖c++6.0.9的SDK是第三方SDK等待第三方更新解决
网友评论