nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace
解決辦法:
在Xcode的菜單欄,依次進入:
【product】-【scheme】-【Edit Scheme】-【Run】-【Argument】-【Environment Variable】添加key Value【OS_ACTIVITY_MODE disable】
或快捷鍵操作:
快捷鍵 shift+command + 《
快速打開如下圖的界面,在相應的位置
添加對應的參數 OS_ACTIVITY_MODE disable
下圖的界面專業的說法是什么,求留言。謝謝你
遺留問題:
問題一:
還會出現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.
問題二:
真機調試無法,無法獲得打印。NSLog等
持續更新。。
如果發現文章有任何錯誤,不足,請積極留言提醒。感覺您的支持。