CocoaPods / Xcodeproj

Create and modify Xcode projects from Ruby.
http://rubygems.org/gems/xcodeproj
MIT License
2.37k stars 458 forks source link

Issue while initializing the pod file in xcode 16 #962

Closed gtdev6 closed 2 months ago

gtdev6 commented 2 months ago

RuntimeError - PBXGroup attempted to initialize an object with unknown ISA PBXFileSystemSynchronizedRootGroup from attributes: {"isa"=>"PBXFileSystemSynchronizedRootGroup", "exceptions"=>["184DDBB42C9C427900B06A93"], "path"=>"Social", "sourceTree"=>"<group>"}

Italo-J-A-Fernandes commented 2 months ago

@gtdev6 How was it resolved?

gtdev6 commented 2 months ago

Here the solution that worked for me: right click projectname.xcodeproj file and select Show Package Contents you can see the file project.pbxproj and open with texteditor Remove the following lines in this file minimizedProjectReferenceProxies = 1; preferredProjectObjectVersion = 77; Also update the below version objectVersion = 77; to objectVersion = 56;

JOsacky commented 1 month ago

Here the solution that worked for me: right click projectname.xcodeproj file and select Show Package Contents you can see the file project.pbxproj and open with texteditor Remove the following lines in this file minimizedProjectReferenceProxies = 1; preferredProjectObjectVersion = 77; Also update the below version objectVersion = 77; to objectVersion = 56;

This seems like a workaround, not a solution. It would be nice if we supported objectVersion = 77 so that we won't need this workaround as people update