xcode10.0beta编译工程遇到的坑(持续更新中)

xcode10编译现有工程,28.4秒之后,

凉凉了,

提示有重复的info.plist文件。


问题:

Multiple commands produce '/Users/jiaxiaoyan/Library/Developer/Xcode/DerivedData/LJShell-emaksjqtieseunfuiotagpjkluwp/Build/Products/Debug-iphonesimulator/Lianjia_Beike_SecondHand_Private/Lianjia_HomeLink_House_Private.bundle/Info.plist':
1) Target 'Lianjia_Beike_SecondHand_Private-Lianjia_HomeLink_House_Private' has copy command from '/Users/jiaxiaoyan/Desktop/LJworkspace/repoWorkSpaceRootPath/mobile_ios/lianjia_ios_platc/Lianjia_Beike_SecondHand/Lianjia_Beike_SecondHand/Lianjia_Beike_SecondHand/Private/HousePrivate/LJSecondHandHouseComponent/HouseVideo/AliyunVodPlayerSDK.framework/Info.plist' to '/Users/jiaxiaoyan/Library/Developer/Xcode/DerivedData/LJShell-emaksjqtieseunfuiotagpjkluwp/Build/Products/Debug-iphonesimulator/Lianjia_Beike_SecondHand_Private/Lianjia_HomeLink_House_Private.bundle/Info.plist'

2) Target 'Lianjia_Beike_SecondHand_Private-Lianjia_HomeLink_House_Private' has process command with input '/Users/jiaxiaoyan/Desktop/LJworkspace/repoWorkSpaceRootPath/mobile_ios/lianjia_ios_platc/lianjia_ios_platc/Pods/Target Support Files/Lianjia_Beike_SecondHand_Private/ResourceBundle-Lianjia_HomeLink_House_Private-Info.plist'

由于重复文件是其他部门有依赖,所以修改了xcode的配置暂时解决了编译报错的问题。

xcode--file--Workspace Settings--Build System--legacy Build System


再次编译,提示,遇到问题

library not found for -l"stdc++.6.0.9"


 原因:Xcode10取消了6.0.9的支持,但是在xcode9上面可以找到


解决办法:

(打开Build Phases--Link Binary With Libraries,删除6.0.9依赖   添加Libc++.tdb,这些都没用)

如果依赖c++6.0.9的SDK是第三方SDK,需要联系第三方,等待第三方更新

如果是自己的文件引用了c++,请替换对c++库的使用,重新编译

参考文献 http://devhy.com/2018/06/05/28-xcode10-and-ios12/

你可能感兴趣的:(xcode10.0beta编译工程遇到的坑(持续更新中))