nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace
解決辦法:
在Xcode的菜單欄,依次進(jìn)入:
【product】-【scheme】-【Edit Scheme】-【Run】-【Argument】-【Environment Variable】添加key Value【OS_ACTIVITY_MODE disable】
或快捷鍵操作:
快捷鍵 shift+command + 《
快速打開(kāi)如下圖的界面,在相應(yīng)的位置
添加對(duì)應(yīng)的參數(shù) OS_ACTIVITY_MODE disable
下圖的界面專業(yè)的說(shuō)法是什么,求留言。謝謝你
遺留問(wèn)題:
問(wèn)題一:
還會(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.
問(wèn)題二:
真機(jī)調(diào)試無(wú)法持寄,無(wú)法獲得打印。NSLog等
持續(xù)更新。坚弱。
如果發(fā)現(xiàn)文章有任何錯(cuò)誤,不足关摇,請(qǐng)積極留言提醒史汗。感覺(jué)您的支持。