You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
austinbaccus opened this issue
Jan 12, 2024
· 7 comments
Assignees
Labels
area-mauibugSomething isn't workingduplicateThis issue or pull request already existsenhancementNew feature or requestmacMacOStriagedThe issue has been triagedvs-syncAdd this label to synchronize the issue to AzDovs-syncdLinked to AzDO
We have an iOS app for iPhone. We also have an iOS Action Extension project that goes along with it. The app is build using MAUI for VS Code (Mac).
When I try to build the main iOS app and deploy it to my iPhone for debugging, it builds and deploys to my iPhone. However, it seems like the app is corrupted and cannot be launched:
The app name is not {app name}. Instead, it's a random string of letters (usually something like "bjhdfjvhdsjhfvhjgdf").
The app icon is not our app icon. Instead, it's the default iOS app icon.
The app cannot actually be launched ore debugged. An error is thrown when you try to launch the app on the phone.
The fix is to remove the Action Extension project reference within the main app's .CSPROJ file.
Steps To Reproduce
Create iOS mobile project
Create iOS Action Extension project
Reference the Action Extension project within the mobile project's .CSPROJ file
Deploy to device
Observe weird app properties and inability to launch on device
Expected Behavior
Main app is deployed to device with the correct name, the correct icon, and is launchable even if the Action Extension project is referenced.
Hi @austinbaccus.
There's no default template for .NET iOS App Extensions, so I assume you adapted your .csproj to be SDK Style and also to target net8-ios, is that assumption, correct?
That said, are you getting a successful build if you build from command line? (dotnet build). If you can try that and share a binlog of the resulting build (passing -bl the command line build), I could see what is going on.
Finally, if by any chance you can share you solution, that would be helpful as well.
Thanks
Just as an update after some investigation, iOS Extensions for VS Code is not fully supported, so we need to convert this into a feature request. We'll work on it and provide updates when the support is ready. Thanks for your help and patience.
area-mauibugSomething isn't workingduplicateThis issue or pull request already existsenhancementNew feature or requestmacMacOStriagedThe issue has been triagedvs-syncAdd this label to synchronize the issue to AzDovs-syncdLinked to AzDO
Describe the Issue
We have an iOS app for iPhone. We also have an iOS Action Extension project that goes along with it. The app is build using MAUI for VS Code (Mac).
When I try to build the main iOS app and deploy it to my iPhone for debugging, it builds and deploys to my iPhone. However, it seems like the app is corrupted and cannot be launched:
The fix is to remove the Action Extension project reference within the main app's .CSPROJ file.
Steps To Reproduce
Expected Behavior
Main app is deployed to device with the correct name, the correct icon, and is launchable even if the Action Extension project is referenced.
Environment Information
| VS Bug 1999747
The text was updated successfully, but these errors were encountered: