1,This app could not be installed at this time.
1.点击模拟器:
选择:
Hardware -> Erase All content and settings;清空模拟器的缓存
2.点击项目:
把项目清一下
shift+cmd+K
shift+opt+cmd+K
3.重新运行就OK
2,cocoapods发布命令
##########私有:
//验证
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
##########公共:
//验证
pod spec lint xxx.podspec --allow-warnings --verbose --use-libraries
//发布
pod trunk push xxx.podspec --allow-warnings --verbose --use-libraries
//添加到本地pod和远程对应(第一次)
pod repo add xxx git@xxx.git
##########私有库制作:
1. 本地仓库路径------> cd ~/.cocoapods/repos
2. 添加远程索引库----> pod repo add xxx git.xxx.git
3. 创建库模板demo---> pod lib create xxx
//找不到库?
rm ~/Library/Caches/CocoaPods/search_index.json
pod update --no-repo-update 更新
3, 静态库没法使用 use_frameworks! 标记
pod报错: target has transitive dependencies that include static binaries