Test target xxxxxTests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
上面是報錯信息,這個錯誤是因爲在Build Settings 裏設置了 Mach-O Type 爲 Static Library,改回原來的Bundle就可以了
錯誤的
設置回原來的bundle
Test target xxxxxTests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
上面是報錯信息,這個錯誤是因爲在Build Settings 裏設置了 Mach-O Type 爲 Static Library,改回原來的Bundle就可以了
錯誤的
設置回原來的bundle
https://github.com/wangshuaidavid/DLNA_iOS_Platinum 本人自建的一個iOS交流羣165332140,歡迎各位大神進羣交流指導。
有時候由於打包的需要,將工程改爲release後忘改回debug模式,造成斷點調試時,變量的值沒法打印。寫出來避免以後再出現類似問題。具體設置:
SimplePingHelper--檢測服務器連接並獲取設備的ip地址,檢測當前設備網絡是否可用