mac pro m1 flutter 3.7.7 Xcode 14.3
error: Target release_unpack_ios failed: Exception: Failed to codesign
Previously, when using flutter 2.x, there was no problem at all with the archive. After upgrading flutter, a problem occurred, so I upgraded to the current Xcode version. I also created a new certificate and proceeded with reference to the reference. I keep getting the error below:
It's a web view app, so I wonder if this is a problem
I tried it with the basic count app that came out with flutter create. Still getting the same error.
In the peripheral vein Both the archive with my certificate and the archive of my code with his certificate succeeded. Even if I proceed with the authentication request in the same way, I am finished.
This has nothing to do with the WebView. I have been having the same problem on CI machines and it is usually related to keychain problems.
Steps that may help:
Check if the identity is installed security find-identity -p codesigning login.keychain
or whatever keychain you use.
Manually lock/unlock keychain.
Try to sign a random file with codesign --force --sign 94FF... foo.txt
and press "Always allow" in the dialog that shows up.