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

iOS project and Android project are not building #1

Closed
Fox9MonoGame opened this issue Oct 6, 2018 · 4 comments
Closed

iOS project and Android project are not building #1

Fox9MonoGame opened this issue Oct 6, 2018 · 4 comments

Comments

@Fox9MonoGame
Copy link

For the iOS project, I get this message:
ioserror

And for the Anfroid project I get some spriteFont error messages, for example this one:
/Users/.../Desktop/RevMobBuddySample-master-2/RevMobBuddyExample.SharedProject/Content/Fonts/ArialBlack10.spritefont: Error: Index was out of range. Must be non-negative and less than the size of the collection. (RevMobBuddyExample.Android)

And this error message in the following line in Activity1.cs:
<Exec Condition=" '%(ContentReferences.FullPath)' != '' " Command="$(MonoGameContentBuilderCmd) /@:&quot;%(ContentReferences.FullPath)&quot; $(Header)"
/Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/MonoGame.Content.Builder.targets(5,5): Error MSB3073: The command "/Library/Frameworks/Mono.framework/Versions/Current/bin/mono "/Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools/MGCB.exe" /@:"/Users/.../Desktop/RevMobBuddySample-master-2/RevMobBuddyExample.SharedProject/Content/Content.mgcb" /platform:Android /outputDir:"/Users/.../Desktop/RevMobBuddySample-master-2/RevMobBuddyExample.Android/Content/bin/Android" /intermediateDir:"/Users/.../Desktop/RevMobBuddySample-master-2/RevMobBuddyExample.Android/Content/obj/Android" /quiet" exited with code 8. (MSB3073) (RevMobBuddyExample.Android)

@dmanning23
Copy link
Owner

Ok, cleaned up the Xamarin Component error message.
Not sure what the spritefont error is though. I've used those spritefonts in dozens of projects and never had problems, but I am still running MonoGame 3.6. Do you have the Arial Black font installed on your computer? What version of MonoGame do you have installed?

@Fox9MonoGame
Copy link
Author

Fox9MonoGame commented Oct 6, 2018

MonoGame Pipeline Tool 3.7.0.1708 and MonoGame 3.7.0.1(in Visual Studio Community 2017 for Mac) are installed. Arial Black is installed.
I did a new installation of MonoGame and the spritefonts are working now.

@dmanning23
Copy link
Owner

I'm in the middle of a big project and can't update to 3.7 right now. You can remove that spritefont and add one of yours that is working, and change the Game.InitStyles() method to swap it out.

@dmanning23
Copy link
Owner

Updated all this to MonoGame 3.71 awhile ago.
Closing this ticket.

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