最近通過(guò)cmd pull代碼時(shí),自動(dòng)merge后拷获,解決podfile以及podfile.lock的沖突后,執(zhí)行pod install 命令出現(xiàn)了多行諸如以下的錯(cuò)誤
[!] `<PBXSourcesBuildPhase UUID=`A36C19951C570D2C0055FCA2`` attempted to initialize an object with an unknown UUID. `A3735B951DEEFA5500FFDB2D` for attribute: `files`. This can be the result of a merge andthe unknown UUID is being discarded.?
最后發(fā)現(xiàn)通過(guò)刪除workspace中所有項(xiàng)目(我們多個(gè)項(xiàng)目合在一個(gè)workspace中)Pods文件夾下的Pods-XXXX.debug.xcconfig 和 Pods-XXXX.release.xcconfig文件,然后執(zhí)行pod install命令配猫,就不會(huì)再報(bào)錯(cuò)了