XCode 10 升级问题总结
生活随笔
收集整理的這篇文章主要介紹了
XCode 10 升级问题总结
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一、 library not found for -lstdc++.6.0.9
xcode 10 中刪除了內置 libstdc++.6.0.9.tbd,工程中一些SDK依賴這個庫,需要把xcode 9.4 的libstdc++.6.0.9.tbd 添加到xcode中,重啟xcode。 libstdc++.6.0.9.tbd 的下載地址:libstdc++.6.0.9
真機
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ 復制代碼模擬器
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib//Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/ 復制代碼二、 Multiple commands produce'/Users/user/Library/Developer/Xcode/DerivedData...
方法1
xcode 10 默認是新的編譯模式,選擇File > Workspace Settings > Build System > Legacy Build System.,改變為之前的編譯模式Legacy Build system。
方法2
Open target -> Build phase > Copy Bundle Resource 刪除output files 中的腳本,如果存在 info.plist 也一起刪除。
轉載于:https://juejin.im/post/5bb03fb9e51d450e9e4438a7
總結
以上是生活随笔為你收集整理的XCode 10 升级问题总结的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Lora移植笔记
- 下一篇: [react] 展示组件和容器组件有什么