- Home /
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?
Answer by Karsnen_2 · Mar 20, 2013 at 03:40 PM
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). $$anonymous$$onoDevelop doesn't give you as much flexibility so if your using $$anonymous$$onoDevelop 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, $$anonymous$$ac, etc though I believe that there are some limitations when it comes to the Flash platform.
Your answer
Follow this Question
Related Questions
Dll distribution of Conditionally Compiled project 0 Answers
Distribute terrain in zones 3 Answers
Does a DLL work in an iOS build? 1 Answer
Using external assembly on IOS (ExecutionEngineException) 0 Answers
Multiple Cars not working 1 Answer