體驗(yàn)一下Xcode10, 持續(xù)更新中
重名文件檢測
Multiple commands produce '/Users/.../titlearrow_off.svg'
Xcode10之前有相同名字的照片只會報(bào)警告?10直接報(bào)錯(cuò)掠哥,還是不錯(cuò)的, 上面是titlearrow_off.svg重復(fù)了-
循環(huán)依賴 Cycle in dependencies targets
可以看到AFNetworking被循環(huán)依賴了,好像Block啊???♂?
-
building could produce unreliable results
Building導(dǎo)致不一致的后果腮介?
我的項(xiàng)目中解決方法是:pod installl
- 清理所有的Derived Data
- clean一下,然后build端衰,錯(cuò)誤沒有了叠洗,
參考鏈接: building could produce unreliable results
"React/RCTComponent.h"文件找不到
項(xiàng)目是RN搭建的,這個(gè)問題找了好久也找到解決辦法旅东,最后是關(guān)閉了2中的“Parallelize Build”才OK的灭抑,RN版本:0.49.0,因?yàn)闅v史問題玉锌,暫時(shí)不能升級到最新RN名挥,唉,無解
當(dāng)然新項(xiàng)目是好的主守,就不會有4這樣的問題node-moudles/third-party
third-party 的問題禀倔,運(yùn)行node_modules/react-native/scripts/ios-install-third-party.sh
能解決大部分的問題
Simulator
1. 模擬器打開全屏(Xcode和Simulator一起顯示在全屏,方便調(diào)試)
在終端輸入 defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES
來源 https://m.weibo.cn/status/4369226040644625?