attempted to initialize an object with an unknown UUID

前端 未结 12 1991
情深已故
情深已故 2021-02-03 22:31

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

    

相关标签:
12条回答
  • 2021-02-03 23:08

    I commented out all pods and did "pod install" then uncommented all pods to previous state and did "pod install". That solved my problem

    0 讨论(0)
  • 2021-02-03 23:08

    For my case, I re-run pod install and find this warnings aren't showing. This is due to merging the project file.

    0 讨论(0)
  • 2021-02-03 23:10

    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:

    1. identify the file that the "unknown UUID" referred to, in the .pbxproj file; in our case, it was libPods-<TARGET_NAME>.a
    2. find that file in the file browser in XCode
    3. delete the file within XCode
    4. rerun pod install
    0 讨论(0)
  • 2021-02-03 23:11

    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.

    0 讨论(0)
  • 2021-02-03 23:12

    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 */,
    
    0 讨论(0)
  • 2021-02-03 23:22

    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/

    0 讨论(0)
提交回复
热议问题