I’m running ios build with codemagic and I got this error (You are in ‘detached HEAD’ You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.) state, I’ve tried every method I could find online but the error is still persist
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Cloning into '/var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/d20240704-2232-a621ab'...
Note: switching to 'a0bc79961d7be727d258d33d5a6b2f1023270ba1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Cloning into '/var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/d20240704-2232-6t9me9'...
Note: switching to 'b7e1104502eca3a213b46303391ca4d3bc8ddec1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Error running pod install
Build failed :|
Failed to build for iOS