1,This app could not be installed at this time.
1.點(diǎn)擊模擬器:
選擇:
Hardware -> Erase All content and settings;清空模擬器的緩存
2.點(diǎn)擊項(xiàng)目:
把項(xiàng)目清一下
shift+cmd+K
shift+opt+cmd+K
3.重新運(yùn)行就OK
2,cocoapods發(fā)布命令
##########私有:
//驗(yàn)證
pod spec lint xxx.podspec --allow-warnings --verbose --use-libraries --sources='git@gitlab.xxx.com:xxx.git,https://github.com/CocoaPods/Specs'
//推送修改
pod repo push xxx --allow-warnings --verbose --use-libraries
//第一次添加庫
pod repo add xxx https://xxxx.git
##########公共:
//驗(yàn)證
pod spec lint xxx.podspec --allow-warnings --verbose --use-libraries
//發(fā)布
pod trunk push xxx.podspec --allow-warnings --verbose --use-libraries
//添加到本地pod和遠(yuǎn)程對應(yīng)(第一次)
pod repo add xxx git@xxx.git
##########私有庫制作:
1. 本地倉庫路徑------> cd ~/.cocoapods/repos
2. 添加遠(yuǎn)程索引庫----> pod repo add xxx git.xxx.git
3. 創(chuàng)建庫模板demo---> pod lib create xxx
//找不到庫?
rm ~/Library/Caches/CocoaPods/search_index.json
pod update --no-repo-update 更新
3, 靜態(tài)庫沒法使用 use_frameworks! 標(biāo)記
pod報(bào)錯(cuò): target has transitive dependencies that include static binaries