//xcode常用路徑
1刽射、Xcode10升級(jí)編譯報(bào)錯(cuò)
具體就是:
我們?nèi)code10以前的版本
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
下面找到
libstdc++.6.0.9.tbd
xcode10升級(jí)后項(xiàng)目編譯報(bào)錯(cuò)? 升級(jí)后xcode缺少libstdc++.6.0.9.tbd
http://www.cocoachina.com/bbs/read.php?tid-1759588.html
復(fù)制到Xcode10相對(duì)應(yīng)的目錄里面,然后就能正常跑起來(lái)項(xiàng)目了。
1.1
//真機(jī)地址:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
模擬器地址:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
同樣如果是模擬器跑的話,那么iPhoneSimulator.platform相對(duì)應(yīng)路徑也復(fù)制一份位喂。
2耙饰、
Mac系統(tǒng)升級(jí)git會(huì)找不到并且報(bào)錯(cuò):xcrun: error: invalid active developer path(/Library/Developer/CommandLineTools),missing xcrun
解決辦法:
xcode-select --install
3、Xcode真機(jī)調(diào)試包的路徑:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
4饱普、Xcode對(duì)模擬器緩存路徑:如果刪除下次運(yùn)行時(shí)間會(huì)較長(zhǎng),但不影響使用状共。
~/Library/Developer/Xcode/DerivedData
5费彼、Xcode中卸載多余模擬器位置
/資源庫(kù)/Developer/CoreSimulator/Profiles/Runtimes/
6、Xcode對(duì)真機(jī)設(shè)備支持:?連接設(shè)備時(shí)自動(dòng)生成對(duì)應(yīng)的版本支持文件口芍,如果刪除了箍铲,再次連接還會(huì)重新生成。
~/Library/Developer/Xcode/iOS DeviceSupport
7鬓椭、提交App Store或者Adhoc時(shí)打包的ipa文件路徑颠猴,刪除了不可恢復(fù),可重新打包小染。
~/Library/Developer/Xcode/Archives
8翘瓮、刪除多余配置證書路徑:
~/Library/MobileDevice/Provisioning Profiles
9、pod緩存路徑:
~/Library/Caches/CocoaPods/Pods/Release
10裤翩、清除模擬器運(yùn)行產(chǎn)生的文件 Xcode編譯項(xiàng)目緩存垃圾的目錄:
輸入"~/Library/Developer/CoreSimulator/Devices/"
11资盅、移除對(duì)舊設(shè)備的支持影響:可重新生成;再連接舊設(shè)備調(diào)試時(shí)踊赠,會(huì)重新自動(dòng)生成呵扛。我移除了4.3.2, 5.0, 5.1等版本的設(shè)備支持
~/Library/Developer/Xcode/iOS DeviceSupport