Xcode11.2 绝对是我经历过最垃圾的一个版本

2019-11-01 15:39:24 +08:00
 mcluyu

首先是 Xcode11.1 不支持 iOS13.2 调试,Xcode11.2 延迟推送更新不说,今早更新完就开始各种问题。

  1. UITextView 是使用 interface builder 添加的话,iOS13.2 以下必然崩溃。

    *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)'
    
  2. 打开 xib 的速度史无前例的慢。

  3. 模拟器打开速度慢不说,卡的要命。。

10378 次点击
所在节点    iOS
28 条回复
yumutoutou
2019-11-01 16:00:02 +08:00
第一个 bug 有解决的方法吗? md 真坑
1002xin
2019-11-01 16:02:22 +08:00
参考喵大微博,垃圾 11.2
neverfall
2019-11-01 16:06:56 +08:00
不要使用 xib 开发
sxiaojian
2019-11-01 16:24:52 +08:00
对于这种崩溃,真的不想改代码与 xib,所以就退回 xcode11.1 了
mcluyu
2019-11-01 16:38:03 +08:00
@yumutoutou 使用代码重写所有 UITextview || 下载一个 xcode11.1 || 等苹果爹更新解决
mcluyu
2019-11-01 16:38:41 +08:00
@sxiaojian 是啊,下载着呢。。还要半小时
coldmn3
2019-11-01 16:49:07 +08:00
至今不敢升 10.15 Xcode 看了吐槽暂时还是 11.1 吧
yumutoutou
2019-11-01 16:49:09 +08:00
本来想着是优化的版本 没想到是制造 bug 的版本
flowerains
2019-11-01 17:29:19 +08:00
xcode 如果没有必要,不需要频繁升级。
我司还在用 10.1 版本呢
yumutoutou
2019-11-01 17:31:39 +08:00
@mcluyu 老哥 你下载成功了吗? 快结束的时候 停止了
mcluyu
2019-11-01 17:49:44 +08:00
@yumutoutou 下完了,在开发者网站下载的,速度还算稳定
mcluyu
2019-11-01 17:51:53 +08:00
@flowerains 10.1 就过分了吧。。你调试的手机不升级系统吗? xcode11.1 不支持 iOS13.2,所以第一时间升级了,平时其实我也基本都是第一时间升级的,经过这次以后还是先等等吧,今天还得上线,真是被小坑了一把。
yumutoutou
2019-11-01 18:22:29 +08:00
@mcluyu 不崩溃了?
adamwang
2019-11-01 18:39:56 +08:00
别的不说了,就说 Xcode11 的断点,上次一个加了一个断点,之后 po 一个参数,等了一分钟毫无反应。。。。还遇到过很多次断点压根不走的情况。= =#
mcluyu
2019-11-01 18:41:13 +08:00
@yumutoutou 肯定的不了
sxiaojian
2019-11-01 19:40:30 +08:00
@flowerains 10.1 版本的,打不出支持 iOS13 新特性的包
flowerains
2019-11-01 19:42:28 +08:00
@sxiaojian 你说的没错,不过目前项目中没有用到新特性。

@mcluyu 其实调试用的手机,都是固定的几个系统,从 9-12。唯独没 13 的
lizhuoli
2019-11-02 19:46:26 +08:00
苹果自己不用 Storyboard,所以别想啦,看看 Xcode 11.0~11.2 三个小版本的 Bug

11.0:
There is an issue with UITabBarController where decoding an instance from a storyboard will create some extra views at the left end of the screen. Developers may remove these by applying a workaround. (55310448)

11.1:
Fixed a crash that sometimes occurred when compiling XIB files in iOS projects that backwards deploy to iOS versions earlier than 13.0. (55271752)

11.2
Setting the Selected Segment Tint Color of a segmented control in Interface Builder to a named color will cause a failure when the view is loaded on iOS 12 and earlier. (55254963)
mcluyu
2019-11-04 10:05:56 +08:00
@lizhuoli 苹果自己不用我觉得不可能,WWDC 演示都用你觉得他开发不用?但是他最新版本的 APP 只支持最新的 iOS 版本是真的,他根本不适配旧版系统。
lizhuoli
2019-11-04 13:19:05 +08:00
@mcluyu 演示是演示,开发是开发,你自己打开 Xcode.app ,find 一下所有.storyboardc,看看有没有?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/615285

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX