iOS & Xcode 常见问题整理(持续更新……)
来源:互联网 发布:网络的分层结构 编辑:程序博客网 时间:2024/06/06 05:55
iOS & Xcode 常见问题整理(持续更新……)
使用iOS & Xcode的时候经常遇到奇奇怪怪的问题,在这整理一下方便查询。
1. This application’s application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.
解决方案:
1、Xcode-Window->Devices
2、选中你的设备,在右边的installed Apps中删除这个App
3、重新编绎即可
2. Xcode has encountered an unexpected error (0xC01C)
解决方案:
重启Xcode
拔线重插
clean之后运行
3. Unable to simultaneously satisfy constraints.
[LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it.
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. 2017-09-14 19:07:39.448008+0800 StudentLive_Sim[28985:4843290] [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it.
解决方案:
降低相关约束的优先级
例如(Masonry
):
[lineView mas_makeConstraints:^(MASConstraintMaker *make) { make.left.equalTo(@(MARGIN_COMMON)); make.right.equalTo(@(- MARGIN_COMMON)); make.bottom.equalTo(@(-ParameterFor(44, 45))); make.top.equalTo(self.dateLabel.mas_bottom).offset(ParameterFor(80, 85)).with.priority(999); make.height.equalTo(@(SINGLE_LINE_WIDTH)).with.priority(999); }];
4.The use of Swift 3 @objc inference in Swift 4 mode is deprecated.
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the “Swift 3 @objc Inference” build setting to “Default” for the “EasyChartsSwift” target.
- iOS & Xcode 常见问题整理(持续更新……)
- Myeclipse常见问题整理----持续更新
- iOS 常见问题汇总 持续更新
- R语言常见问题(持续更新整理)
- Maven常见问题、异常、错误整理【持续更新】
- xcode使用 (持续更新中……)
- iOS常见问题总结....持续更新中
- iOS常见问题解决大全(持续更新)
- 【iFD出品】iOS开发者Xcode常见错误整理(持续更新中)
- [ios] xcode实用插件(持续更新)
- ios 常见错误整理 持续更新
- iOS - Useful Tips (原创整理,持续更新)
- IOS自动布局整理-持续更新
- iOS常用的宏(整理)--持续更新
- ios 常见错误整理 持续更新
- iOS开发面试题整理(持续更新)
- ios 常见错误整理 持续更新
- 面试常见问题及相关答案整理(持续更新中)
- oracle 中 效率和速度
- HTTPS优势逐步凸显,传输安全倾向HTTPS(上)
- 源码免杀--反调试代码,免杀爱好者必备的利剑
- java解析XML之DOM解析和SAX解析(包含CDATA的问题)
- 用JSmooth转换可执行jar包为exe文件
- iOS & Xcode 常见问题整理(持续更新……)
- linux(ubuntu)环境下安装及配置JDK
- JS保留字与关键字
- 记一次系统重装
- Office常用函数
- layDate开始时间和结束时间
- while 每秒执行一次
- AJAX 原生js以及Jquery解析html,xml,txt,json格式文本
- SDUT_2121数据结构实验之链表六:有序链表的建立 (对建立的单项链表结构进行排序)