Xcode 官方文档
BitCode
官方解释:
Bitcode is an intermediate representation of a compiled program. apps you upload to App Store Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the App Store.
For iOS apps, bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and frameworks in the app bundle (all targets in the project) need to include bitcode.
翻译:
Bitcode是编译后的程序的中间表现,包含Bitcode并上传到App Store Connect的Apps会在App Store上编译和链接。包含Bitcode可以在不提交新版本App的情况下,允许Apple在将来的时候再次优化你的App 二进制文件。 对于iOS Apps,Enable bitcode 默认为YES,是可选的(可以改为NO)。对于WatchOS和tvOS,bitcode是强制的。如果你的App支持bitcode,App Bundle(项目中所有的target)中的所有的Apps和frameworks都需要包含Bitcode。
参考网址:www.jianshu.com/p/4fa8168e2…
LLDB常用调试命令
1、po : 打印对象的值
2、p :打印对象的详细信息
3 、image lookup --type WKUserScript :查看类的类型
4、image lookup -a 用于寻找栈地址对应的代码位置,崩溃调试的时候很有用
5、bt 命令,可以打印出线程的堆栈信息,该信息比左侧的Debug Navigator 更详细
6、x :查看地址在内存的情况,一般查看对象地址和对象的属性地址
x/4gx: 打印4个16进制地址; x/8gx: 打印8个16进制地址
...
参考网站: