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.
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.
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.
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.
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.
The way I solved that is not described in the thread
Commented all pods and run pod install
. Pods
folder eventually removed. But still having the warning in the terminal
Uncommented the pod. re-run pod install
. The warning is now gone.
This error happened to me after resolving some merge conflicts in the project file.
In Xcode 11.4.1, I removed Pods_TARGETNAME.framework
under Project Settings > General > Frameworks, Libraries, and Embedded Content.
I then ran pod install
, after which everything was fine again.
It still happens from time to time to me. My solution is to search after the unknown UUID in your project file and simply delete all lines you'll find.
Terminal-command:
cat YOUR_PROCJECT_NAME.xcodeproj/project.pbxproj | grep 'UNKNOWN_UUID'
You should find something like this:
UNKNOWN_UUID /* (null) in Resources */,
My colleague and I spent hours trying to figure out how to fix a similar error:
[!] `<PBXBuildFile UUID=`050DCB84CE258104B4E8C808`>` attempted to initialize an object with an unknown UUID. `12B87A081D0745C6D77F7885` for attribute: `file_ref`. This can be the result of a merge and the unknown UUID is being discarded.
What fixed it for us:
libPods-<TARGET_NAME>.a
pod install
Just run
pod clean
pod install
.
And those errors should go.
[!] Unknown command: clean
; how do you have this command ? –
Tweedsmuir I don't know if you fixed this or not, but for future reference, I has the same issue.
On my case, after opening .pbxproj file on a text editor, realised that the first UUID pointed to the 'Copy Bundle Resources' of the 'Build Phases'.
Removing that and adding again fixed the issue for me.
I commented out all pods and did "pod install" then uncommented all pods to previous state and did "pod install". That solved my problem
Open xprj file in ordinary editor and find file with your UID = "C39D10ED1BD5F1F0000C4DD9". In my case file does not exist and left from merge process
For my case, I re-run pod install
and find this warnings aren't showing. This is due to merging the project file.
There could also be problem with multiple xcode version installations. Try this link for more details -
https://www.ryadel.com/en/xcode-sdk-iphoneos-cannot-be-located-mac-osx-error-fix/
© 2022 - 2024 — McMap. All rights reserved.