-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipa upload errors #4831
Comments
Thanks for reporting, I'm going to look into that. |
OK, I've fixed minimum OS version for frameworks and removed I created a copy of build template for you to test. Before re-building the app please clean Flutter pub cache:
or just delete Re-build your app with the following command:
Let me know. |
Seems to have fixed the version issue, however for some reason still getting the signing error, although a slightly different error code:
I cleaned the Xcode build/cache, and from the verbose output everything looks correct. I also just tried archiving and uploading another sample application to App Store connect and it seems to work without any signing errors, so I am not sure why this isn't working. |
Hm, can you drop me a log from |
|
Also, I went into the flutter/ios folder and opened the xcode workspace to try it there. Xcode is showing everything as signed and I was even able to build and run the application locally on my iPhone, but when I went to Product > archive to upload it that way, it gave me the same signing error. Not sure whats up with it. |
That's interesting. Could you check the contents of .ipa file to see what files are signed: How to See the List of Signed Files Inside an
|
I may have found the issue. It seems it is indeed being fully signed using the same ID as my teamid var, this is also the ID to my "Apple Distribution Certificate" as I see in my keychain. However, when looking in xcode, the Autosign in xcode seems to have picked my "Apple Development Certificate" which has a different ID, even though the correct team in xcode is selected. |
I'd compare the contents of Do Let me know. |
On second thought, i'm not sure if that is the issue, because it seems to be signed correctly in the terminal:
|
Ok I think I understand the bug. Upon further investigation, I compared the output details (from the terminal) of the codesign from both my other application that is working and this flet app as well. Thanks! |
How did you find out what should be fixed? |
I dont know fore sure what the issue is, and I am not sure how to test it to fix it. My best guess is something to do with the codesign signature authority. Maybe if there is a way to have an optional flag to set it manually. |
that's why I ask you to compare |
The one that worked was not a flet or flutter project though. It was just a native xcode application. Regarding this project, I opened in Xcode and it builds and runs, just does not upload because of the signing certificate issue. I didn't change anything in Xcode, I just opened it to confirm the certificates are being automatically signed by xcode. But did not change anything. The one I was comparing it to that worked was just a sample hello world native xcode app. |
OK, I'll play with my own app to see what's going on. Thanks for your time anyway. |
Thank you! |
facing the same issue in https://github.com/flet-dev/serious-python
|
Re: serious-python - it downloads the same Python build bundle from here: https://github.com/flet-dev/python-build/releases which does not contain Cleanuo pub cache, so Python distro is re-downloaded next time:
|
@FeodorFitsner if it helps with debugging at all; I made another admin user on my Apple Developer Account, created a new fresh user on my computer, cloned my project and all the configs, and tried uploading the ipa with a fresh xcode, certificate, user, and everything and still got the same 409 error (not signed at all). It seems the issue is for sure the way |
No worries, I've been able to reproduce the error and are currently working on the fix(es). |
Amazing! Thanks! |
Flet 0.27.0 is out and updated iOS packaging docs published: https://flet.dev/docs/publish/ios Give it a try and share feedback. |
Discussed in #4830
Originally posted by yoberner February 5, 2025
Question
Hi all,
I have been getting errors every time I try uploading my .ipa build file to Transporter. I can't seem to figure out what the issue is.
Here are the 2 errors:
And for reference here is my project.toml:
I have uploaded other Apps successful to App Store Connect from xcode on this machine so I know that the auto signing does work correctly. Therefore Im not sure what the error is referring to.
Also, is the app supposed to be renamed to "Runner" by flet?
Thanks for your help!
Code sample
No response
Error message
------------------------------------------------------
The text was updated successfully, but these errors were encountered: