出了又不能用,手机升级到iOS13,mac不升级系统15,就无法更新xcode11,xcode10无法使用iOS13,真机就测不了了。
xcode11测试版下载:1.登录开发者账户:


xcode11 改变:
http://www.cocoachina.com/articles/27056
1.Library .xcode10
这个什么时候用,我是主要用在复制粘贴的时候需要暂存一下代码。

鼠标右键

起别名

使用

2.“Xcode”意外退出(无限意外退出)
2.1找到打开项目的那个按钮


2.2删除xcuserdata文件夹
2.3发现app打不开了😅
2.4 删除

然后重装 ,打开终端,cd 到项目中 pod install
2.5 成功
ios13
一.友盟iOS13报错([_LSDefaults sharedInstance]: unrecognized selector sent to class)。
这个报错友盟已经提示了,需要把UMCCommon更新到最新版本2.1.1。
但是我的pod配置一直是pod 'UMCCommon'。并没有指定版本。这个配置并不会在每次pod install的时候把相应的库更新到最新。这时候只需要指定版本号如下:pod 'UMCCommon', '~> 2.1.1'。然后pod install就好了
https://www.jianshu.com/p/531d717aee65
pod 报错
一。-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
解决方案:
1、更新gem:sudo gem update —system
执行此步报错信息:
ERROR: While executing gem … (Errno::EPERM)
Operation not permitted @ rb_sysopen - /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/gem
解决方案:
sudo gem update -n /usr/local/bin —system
2、删除gem源:gem sources —remove https://ruby.taobao.org/
3、修改gem源:gem sources -a https://gems.ruby-china.org
4、查看gem源是否是最新的:gem sources -l
5、升级cocoapods:sudo gem install -n /usr/local/bin cocoapods —pre
6、查看升级后的cocoapods版本:pod —version
网友评论