Ever since the release of a new xcodeproj
ruby gem version 1.26.0 on 27th Oct 2024, we started seeing rsync.samba
errors on our Xcode projects when we were building using Xcode 15.x.
The solution for this was to explicitly add a version lock to xcodeproj version 1.25.0
in our project's Gemfile.
gem 'xcodeproj', '1.25.0'
Post this change we need to run:
bundle install
to update local gems for this project.bundle exec pod install
to regenerate Pods.xcodeproj
(If you are not using Gemfile or bundler to manage gems, check the version of locally installed xcodeproj version using xcodeproj --version
. And uninstall the 1.26.0 version using gem uninstall xcodeproj
.)
xcodeproj
gem to generate a Pods.xcodeproj/project.pbxproj
file.ENABLE_USER_SCRIPT_SANDBOXING
setting to YES
for most of the Pod targets for Xcode 16 compatibility. (Github PR)YES
, which helps resolve rsync.samba
build errors on Xcode 15.Xcode 16
, it is not recommended to lock xcodeproj
gem to 1.25.0
as projects which depend on Cocoapods can start failing.