Skip to content
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

Real Device Failure with Share Extension After Adding Microsoft.Intune.Maui.Essentials.iOS Package, Works Only on Simulator #516

Open
alpayclsr1 opened this issue Jan 6, 2025 · 0 comments
Assignees

Comments

@alpayclsr1
Copy link

When I add the Microsoft.Intune.Maui.Essentials.iOS 20.2.1 package to my Share Extension project (outside of the main project), the extension works only on the iOS simulator. However, when running on a real device, the extension project fails to load properly — it opens briefly but then closes immediately. The main MAUI project works without any issues.

When I remove this package from the Share Extension project, the extension works fine on the real device, but the issue occurs specifically when this package is included in the extension project.

This issue does not appear in the main MAUI project. The problem seems to be related to the usage of the Microsoft.Intune.Maui.Essentials.iOS package in the Share Extension.

Steps to reproduce:

Add Microsoft.Intune.Maui.Essentials.iOS 20.2.1 to the Share Extension project.
Build and run on a real iOS device.
Observe that the extension fails to load properly (opens and closes immediately).
Remove the package from the Share Extension project.
The extension works as expected on the real device.
Expected behavior: The Share Extension project should work on both the simulator and real device when the Microsoft.Intune.Maui.Essentials.iOS package is included.

Questions to Ask Before Submission

  1. Does the app build and launch without including the Microsoft.Intune.Maui.Essentials.iOS package? yes
  2. Does the issue reproduce if you rebuild after deleting the bin and obj output folders? yes
@pmod2 pmod2 self-assigned this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants