Xcode15問題匯總以及控件適配

Assertion failed報錯

導(dǎo)入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);

滾輪模式可延續(xù)之前

UIDatePickerStyle

typedef NS_ENUM(NSInteger, UIDatePickerStyle) {
    UIDatePickerStyleAutomatic, // 自動選擇下面三種模式中一種
    UIDatePickerStyleWheels, // 滾輪模式
    UIDatePickerStyleCompact, // 袖珍模式
    UIDatePickerStyleInline, // 內(nèi)聯(lián)模式
}

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容