Assertion failed报错
导入podAlipaySDK-iOS
编译抛出异常
报错: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 新建项目后,pod 引入部分第三方会报上面的错误
解决办法:Build Settings
搜索 sandbox
,把 Build Options 中的 User Script Sandboxing改为 NO
13.4之后时间控件改变,
UIDatePicker
@property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
滚轮模式可延续之前
UIDatePickerStyle
typedef NS_ENUM(NSInteger, UIDatePickerStyle) {
UIDatePickerStyleAutomatic, // 自动选择下面三种模式中一种
UIDatePickerStyleWheels, // 滚轮模式
UIDatePickerStyleCompact, // 袖珍模式
UIDatePickerStyleInline, // 内联模式
}