Assertion failed報(bào)錯(cuò)
導(dǎo)入podAlipaySDK-iOS
編譯拋出異常
報(bào)錯(cuò):Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits")
可在Build Settings 中的Other Linker Flags 種添加"-ld64",即可解決。
Sandbox:rsync.sanba deny(1) file-write-create xxx
使用 Xcode15 新建項(xiàng)目后掩宜,pod 引入部分第三方會(huì)報(bào)上面的錯(cuò)誤
解決辦法:Build Settings
搜索 sandbox
斗忌,把 Build Options 中的 User Script Sandboxing改為 NO
13.4之后時(shí)間控件改變鼻忠,
UIDatePicker
@property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
滾輪模式可延續(xù)之前
UIDatePickerStyle
typedef NS_ENUM(NSInteger, UIDatePickerStyle) {
UIDatePickerStyleAutomatic, // 自動(dòng)選擇下面三種模式中一種
UIDatePickerStyleWheels, // 滾輪模式
UIDatePickerStyleCompact, // 袖珍模式
UIDatePickerStyleInline, // 內(nèi)聯(lián)模式
}