-
Notifications
You must be signed in to change notification settings - Fork 516
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
[NativeAOT] App Store Connect error ITMS-90999: Invalid executable #19387
Comments
I've never seen that ITMS message before, and according to Google not many other people has either (https://developer.apple.com/forums/thread/740085 is the only other hit). Would you be able to attach/provide the .ipa you uploaded? |
I sent you the .ipa file in a private message. Has Store submission of a NativeAot .ipa been tested by Microsoft? |
Thanks!
Yes, but we might have missed warnings. |
I wonder if this is the reason:
This is an executable segment, but the @filipnavara any reason we can't put the |
The reason is that the Fixed number of the marshalled delegates fits into the pre-generated code/data table, and then it gets mapped again at a different memory location. The second mapping needs to a) use the same relative offsets between the code and the data, b) still needs the code part to have valid code signature. If Apple started blocking that we have a problem. I don't know on any method to ensure an executable layout that would allow the remapping. |
Isn't this what Mono has been doing for years (with no app store warnings)? |
I frankly have no idea. I think Mono may have some fixed limit... @lambdageek, any pointers how marshalled delegates are implemented on Mono/iOS? |
Also got this on uploading to testflight. Something new between dotnet8-rc1 and latest dotnet8. |
The /cc @ivanpovazan |
This issue was moved to dotnet/runtime#94655 |
I read about the NativeAOT experimental feature here and wanted to give it a try right away.
The app can be downloaded via TestFlight and is significantly smaller than before (with the Mono AOT) - awesome! I also don't see any functional issues
Steps to Reproduce
<PublishAot>true</PublishAot>
to .csprojdotnet publish
Expected Behavior
No warning/error
Actual Behavior
Email from Apple:
Environment
.NET8 RC2.1
The text was updated successfully, but these errors were encountered: