iOs - widget - .appex' is not signed using an Apple submission certificate #35765
Unanswered
rokmeglicbit
asked this question in
Q&A
Replies: 1 comment 4 replies
|
@rolfbjarne is this related to dotnet/macios#23424? |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Knowledge / References
I have a valid, properly signed Widget Extension with the correct distribution certificate and provisioning profile.
The widget works on Development profile.
Codesign shows correct profile.
codesign -dv --verbose=4 Payload/.../WidgetExtension.appexThe problem starts when we upload this to the App Store.
What's strange is that both approaches produce a valid

.appexbundle before the MAUI build:However, after building the MAUI app, the resulting

.appexinside the application bundle becomes 0 KB:As a result, App Store Connect validation fails with:
The original
WidgetExtension.appexis correctly signed and contains all expected files (Info.plist, executable,_CodeSignature, etc.).The issue appears to occur during the MAUI build/publish process, where the
.appexbundle is copied into the final.apppackage as an empty (0 KB) bundle, causing the signature to be lost.Has anyone successfully bundled an existing signed Widget Extension into a .NET MAUI iOS application using either
AdditionalAppExtensionsorBundleResource? Is there an additional MSBuild step required to preserve the contents and signature of the.appexbundle?All reactions