Can I use a DLL in a iOS game?

Hi guys, I’m thinking of integrating google docs within my game, can I use a C# DLL for iOS or I must do an XCode bundle?

1 Answer

1

Yes you can. I have been using Prime31’s Go Kit for iOS, Android and PC. They use DLL as a part of their package.
With that I have not experienced any issue what so ever. Hence I could say that, you will not have a problem.

I thought Prime31 used bundles in their products, thanks!

You can certainly use managed DLL's in iOS games though I recommend that you compile for the .NET 2.0 runtime whilst targeting the 3.5 framework though you can use the C# 4.0 compiler (when using Visual Studio). MonoDevelop doesn't give you as much flexibility so if your using MonoDevelop then you will need to target 2.0 framework/runtime and C# 3.0 compiler.

The Google API is a .msi package, no way to use it with mono/osx. Thanks for all your answers. I've asked because I remember that sometime in the past only the 'frameworks' allowed by apple could go in the .app, maybe i'm misunderstanding things. But I'm most sure the facebook plugin I used from Prime31 was a bundle made with ObjC., that is why I had this doubt.

I believe that Prime31 implement a lot of their stuff "unmanaged code" natively which of course will only work for the targeted platform. But "managed code" will work on iOS, Android, Windows, Mac, etc though I believe that there are some limitations when it comes to the Flash platform.