1
\$\begingroup\$

I seem to be having a problem porting to IOS. I have my game working on WP8 and Android with any major issues but when trying to run on iPhone I seem to get an error when initialising the GraphicsDevice

below is a screenshot to the problem. has anyone else had this issue and is there a workaround/fix? Thanks in advance! :)

http://i.imgur.com/6Kwk6D6.png

\$\endgroup\$
1
\$\begingroup\$

Most issues relating to the graphics devices and the SpriteBatch should be fixed in the development branch of the Github repository. If you compile the project, which is very easy, you can use that dll instead of the normal one (or whatever the Mac equivalent of a dll is). In addition, we are very close to porting Monogame to the Xamarin iOS Unified API, which may be the addition that fixes your error as well.

In short, you can compile the current development branch, and you should probably follow Pull Request #3139 to watch for news of the port being completed. Once this occurs, most issues should be fixed, if not all, and you should be able to compile cleanly for all three mobile platforms.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.