XCode 16 beta 4 Carthage update issue
I was facing issues with carthage update as well as pod install.
Friends link: HERE
I am on MacOS Sonoma 14.6 , Apple M3 Pro 36GB version.
I was using the latest carthage release which is 0.39.1 at the moment (6th August 2024).
Carthage 0.39.1
is not compatible with Xcode 16.0. Carthage compatible with Xcode 16 has not yet been released. However, the master branch is compatible, so you can delete Carthage once and install the master branch version of Carthage. This command builds Carthage itself, so it is recommended that you run it when you have time.
brew uninstall carthage
brew install --head carthage
Once this is done. The carthage version will show as 0.39.1 itself. But the head is different.
Do carthage cleanup and try carthage update again.
rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf ~/Library/Caches/org.carthage.CarthageKit
rm -rf ~/Library/Caches/carthage
carthage update --no-use-binaries --platform ios --use-xcframeworks
Just FYI,
My ruby version is 3.3.0 and I use rvm for managing the ruby.
rvm install 3.3.0 --with-openssl-dir=$(brew --prefix openssl)
rvm 3.3.0 --default
Hope it helps someone.
Thanks.