ITMS-90482: 无效的可执行文件。该可执行文件包含位码。

huangapple go评论63阅读模式
英文:

ITMS-90482: Invalid Executable The executable contains bitcode

问题

I have a .NET MAUI application that is built and signed in release mode using XCode 14.2 on a Mac that targets .NET SDK 7.0.203. When I create the package locally (or via GitHub Action) and attempt to distribute via TestFlight, I get the following email from Apple:

ITMS-90482: Invalid Executable - The executable ***.app/Frameworks/ZipArchive.framework/ZipArchive contains bitcode.

Which puzzled me a bit as we dont have any dependency on that framework nor we are using any native library in the app. Upon a quick google (and poking in the app contents) the package that apple is referring to is this one. Which is a archive utility. It seems apple is using it to compress and decompress the package on device if I am to guess. I could find any references on how to disable the bitcode when building MAUI app for the iOS. Has anyone faced the same issue? Any pointer how you have been able to resolve it?

ITMS-90482: 无效的可执行文件。该可执行文件包含位码。

英文:

I have a .NET MAUI application that is built and signed in release mode using XCode 14.2 on a Mac that targets .NET SDK 7.0.203. When I create the package locally (or via GitHub Action) and attempt to distribute via TestFlight, I get the following email from Apple:

ITMS-90482: Invalid Executable - The executable '***.app/Frameworks/ZipArchive.framework/ZipArchive' contains bitcode.

Which puzzled me a bit as we dont have any dependency on that framework nor we are using any native library in the app. Upon a quick google (and poking in the app contents) the package that apple is referring to is this one. Which is a archive utility. It seems apple is using it to compress and decompress the package on device if I am to guess. I could find any references on how to disable the bitcode when building MAUI app for the iOS. Has anyone faced the same issue? Any pointer how you have been able to resolve it?

ITMS-90482: 无效的可执行文件。该可执行文件包含位码。

答案1

得分: 0

The solution is to add some build task via this comment.

英文:

It appears the solution is the add some build task via this comment

huangapple
  • 本文由 发表于 2023年4月13日 18:59:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/76004631.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定