fastlane: Doesn't support the new Xcode 16 folder format (unknown ISA `PBXFileSystemSynchronizedRootGroup`)

New Issue Checklist

Issue Description

Xcode 16 introduces an interesting feature to convert groups in a project into regular folders.

https://developer.apple.com/documentation/xcode/managing-files-and-folders-in-your-xcode-project

This should significantly reduce the size of the Xcode project file. And most importantly, we will be able to say goodbye to conflicts in the project file forever and forget about the problem of lost files

As I can see Fastlane doesn't supported it

Command executed
Complete output when running fastlane, including the stack trace and command used
 bundler: failed to load command: fastlane (/opt/homebrew/lib/ruby/gems/3.0.0/bin/fastlane)
/opt/homebrew/lib/ruby/gems/3.0.0/gems/xcodeproj-1.25.0/lib/xcodeproj/project/object.rb:359:in `rescue in object_with_uuid': \e[31m[!] `PBXGroup` attempted to initialize an object with unknown ISA `PBXFileSystemSynchronizedRootGroup` from attributes: `{"isa"=>"PBXFileSystemSynchronizedRootGroup", "exceptions"=>["ECD642032CA44CD6006063AE"], "explicitFileTypes"=>{}, "explicitFolders"=>[], "path"=>"BelkaCar", "sourceTree"=>"<group>"}` (RuntimeError) 

Environment

 

Xcode 16

bundler 2.5.20 faraday_middleware 1.2.1 faraday_middleware 1.2.1 fastlane-plugin-sentry 1.25.1 fastlane 2.223.1 xcode-install 2.8.1

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 54
  • Comments: 16

Most upvoted comments

Still unresolved in the fastlane 2.225.0

Is there a way to force-update xcodeproj that fastlane uses inside GitHub runner image?

Folders are one of the most useful improvements in Xcode project history and I can’t understand why updated xcodeproj is not included in last releases.