我遇到過伟墙,是LLDB的問題,如果之前下載過某些軟件寫入了~/.lldbinit 中引入腳本的命令,每次XCode啟動并且使用LLDB進行debug時都會讀取~/.lldbinit文件中的配置執(zhí)行command script import 命令鸳址,如果命令后面的路徑不對或者你已經(jīng)把軟件卸載但是沒有卸載干凈就會報這個錯誤瘩蚪。
解決方法:進入~/.lldbinit 文件 刪除出錯的 command script import路徑 (你是不是安裝過realm或者reveal)
error: module importing failed: invalid pathnameXcode運行項目, 報這個錯誤, 導致項目啟動時間賊長, 求解!!! error: module importing failed: invalid pathname