xcode8 崩溃问题
【1】、Xcode8代碼出現(xiàn)ubsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0 2016-09-14 17:18:55.843428 MyApp[6880:340837]
解決辦法:【product】-【scheme】-【Edit Scheme】-【Run】-【Argument】-【Environment Variable】添加keyValue【OS_ACTIVITY_MODE?? disable】可以停止輸出打印此日志
遺留問題:還會(huì)出現(xiàn)Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x10a39a910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x10a1c4210). One of the two will be used. Which one is undefined.
【3】iOS10字體隱藏問題
label的話寫一個(gè)擴(kuò)展類
另外需要注意的是iOS10字體寬度比之前多一個(gè)像素,高度不變,這個(gè)是個(gè)坑,需要注意一下!
?[4]?StroyBoard問題
<1>Xcode 打開SB頻繁出現(xiàn)崩潰現(xiàn)象
<2>Xcode 打開SB后 約束出現(xiàn)大量警告??
?[5]?NSLog打印問題
[plain]?view plain?copy ?
解決方法1:
在文件開頭加入 #ifdef DEBUG #define NSLog(FORMAT, ...) fprintf(stderr,"%s\n",[[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]); #else #define NSLog(...) #endif 即可。
解決方法2:
第一步:
第二步:
第三步:
添加參數(shù):
Name :OS_ACTIVITY_MODE?
Value : ?disable
?[6]?xcode8莫名其妙crash
以前也會(huì)有這個(gè)問題,具體不清楚
命令行
總結(jié)
以上是生活随笔為你收集整理的xcode8 崩溃问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oracle values函数,Orac
- 下一篇: list转json字符串,实体类包含li