<PBXResourcesBuildPhase UUID=..> attempted to initialize an object with an unknown UUID

Jayprakash Dubey picture Jayprakash Dubey · Apr 13, 2016 · Viewed 13.5k times · Source

I have taken SVN check-in for a project. Thereafter I have installed pod via terminal. After installation of pod there are few warning stating

    <PBXResourcesBuildPhase UUID=...> attempted to initialise an 
    object with an unknown UUID.

Screenshot for warning What might be reason? Is this warning critical?

Answer

Qiulang picture Qiulang · Aug 22, 2016

The reason that happened in my case was some developer updated a pod A while I installed a new pod B (without updated pod A). So when I merged his codes I got the warning.

An easy way to fix this is to

1. remove libPods.a from General->Linked Frameworks and libraries 
2. run `pod install` or `pod update "an-existing-pod"` again. 

For step #2 the purpose is to update .xcodeproj file not to install pod again. If pod is already there cocoapods will just update .xcodeproj file.