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/

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值