Issues with Bundling iOS Broadcast Extension in .NET MAUI App

Justin m 10 Reputation points
2024-08-27T07:00:49.0733333+00:00

Hi everyone,

I'm encountering an issue while trying to bundle an iOS native broadcast extension with a .NET MAUI app. Here’s what I’ve done so far:

  1. iOS Broadcast Extension Implementation: We have an iOS broadcast extension implemented in Swift and the appex file has been generated.
  2. Bundling with .NET MAUI:
  • We copied the .appex file from the extension build to the Platforms/iOS folder of our .NET MAUI app.
    • In the .csproj file of the .NET MAUI project, we included the extension file with the following configuration:
    <ItemGroup>
    <None Include="Platforms/iOS/ScreenBroadcastExtension.appex"></None>
    </ItemGroup>

Has anyone else faced a similar issue? What steps did you take to ensure that the broadcast extension is correctly included in the final build output?

Any guidance or troubleshooting tips would be greatly appreciated!

Thanks in advance!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Justin m 10 Reputation points
    2024-08-28T10:49:47.8866667+00:00

    Please see the ongoing github issue link : https://github.com/dotnet/maui/discussions/3289

    0 comments No comments

  2. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,306 Reputation points Microsoft Vendor
    2024-08-29T06:09:20.56+00:00

    Hello,

    Yes, it's a known issue at GitHub- iOS Broadcast Upload Extension is not working / no project template · Issue #17512 · xamarin/xamarin-macios (github.com)

    And there is no such official doc to show how to implement this feature. Please follow the progress at GitHub and add comments to let them know your need and concerns.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.