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
Cannot build net6.0-ios project on Mac OS X #7982
Comments
I get the same error when trying to build a net 6.0 DesktopGL project on an M1 mac. Does anybody know a workaround, or is there hope for a fix? |
Visual Studio for Mac is being retired next year. MonoGame has already removed the VS for Mac templates from the Would suggest if using a mac to either switch to VSCode or Rider is possible. Reference: |
Oh, I forgot to mention: I got this error when just running "dotnet build" from the command line, so it does not seem to (only) be a problem with Visual Studio. |
I stand corrected, the error resulted from an error with a relative path in my mgcb file! So it was unrelated to this issue. I am sorry for the confusion! 🙏 |
Do you mind retrying with the latest develop packages and net8? (and with rosetta enabled) |
You need to manually install x64 dotnet 6 sdk for content compilation on M1 macs. |
I've added that note to the getting started documentation: MonoGame/monogame.github.io#67 macOS checklist:
|
Please refer to #8124 while this issue is being worked on. |
Device: Macbook M1
OS: Mac OS X Ventura 13.1
Project: net6.0-ios
After i add image texture to Content.mgcb file we receive build error
/Users/user/.nuget/packages/monogame.content.builder.task/3.8.1.303/build/MonoGame.Content.Builder.Task.targets(5,5): Error MSB3073: The command "dotnet mgcb /quiet /@:"/Users/user/Documents/Projects/game/src/testgame/Content/Content.mgcb" /platform:iOS /outputDir:"/Users/user/Documents/Projects/game/src/testgame/Content/bin/iOS/Content" /intermediateDir:"/Users/user/Documents/Projects/game/src/testgame/Content/obj/iOS/net6.0-ios/Content" /workingDir:"/Users/user/Documents/Projects/game/src/testgame/Content/"" exited with code 1. (MSB3073) (testgame)
dotnet mgcb utility not ready to work with .net6.0-iOS projects?
The text was updated successfully, but these errors were encountered: