Reputation: 53
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.
Upvotes: 4
Views: 21583
Reputation: 47
I figured out a fix that it's works for me on Xcode 16
Upgrade minimum deployments version:
12.0 -> 13.0
Upvotes: -1
Reputation: 51
if you using one drive in macOS, try to build an app outside One drive, for example, the desktop , works for me this screen shows that flutter app works on IOS simulator
Upvotes: 5
Reputation: 11
I got this problem after upgrading flutter and upgrading some packages, after hours from searching i got nothing to fix this problem, but i fixed the problem by the following steps:
ios
folder.ios
folder before upgrading flutter from local or remote repo and copy it.Upvotes: 0
Reputation: 7553
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.
Upvotes: 6