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

Remove ios simulator resources when building in Hot Restart mode #2384

Merged
merged 2 commits into from
May 22, 2023

Conversation

mattjohnsonpint
Copy link
Contributor

@mattjohnsonpint mattjohnsonpint commented May 22, 2023

The native resources from our Sentry Cocoa SDK (Sentry.xcframeworks) do not need to include files that are for the iOS simulator, when we're building for "Hot Restart" mode in Visual Studio - since that is specifically for going direct to device.

The simulator files add a few extra layers of directories, which can easily exceed Windows max path. Removing them avoids this, without affecting functionality.

Tested locally on Visual Studio 17.6.0 on Windows.

Fixes #2363

@mattjohnsonpint
Copy link
Contributor Author

mattjohnsonpint commented May 22, 2023

For posterity, here's the portion of the build log (using the ms binlog viewer) showing what is removed:

image

@mattjohnsonpint mattjohnsonpint merged commit ffd186a into main May 22, 2023
@mattjohnsonpint mattjohnsonpint deleted the fix/maui-hotrestart branch May 22, 2023 04:02
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

Successfully merging this pull request may close these issues.

[iOS] Path too long for MAUI device connected deploys
3 participants