Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 726
Jayprakash Dubey Avatar asked Apr 13 '16 11:04

Jayprakash Dubey


2 Answers

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.

like image 136
Qiulang 邱朗 Avatar answered Sep 20 '22 02:09

Qiulang 邱朗


Step 1: Deintegrate your project from CocoaPods. Removing all traces of CocoaPods from your Xcode project.

$pod deintegrate ProjectName.XCODEPROJ

Step 2: Install the pod Again

$pod install

Make sure you are replacing ProjectName.XCODEPROJ with your project name.

like image 34
Nullify Avatar answered Sep 17 '22 02:09

Nullify