Search Unity

plugins for ios

Discussion in 'Editor & General Support' started by Gamer_, Feb 26, 2011.

  1. Gamer_

    Gamer_

    Joined:
    Dec 4, 2009
    Posts:
    74
    HI all,
    How to compile a c++ code from unity ? have to do it in xcode means how i can link it with unity ?.Confusing pls help Thanks in advance.


    regard's
    rajesh
     
  2. markharkness

    markharkness

    Unity Technologies

    Joined:
    Nov 2, 2010
    Posts:
    176
  3. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    For iOS you don't need to do that unless you want to, you can drop the c / cpp / m / mm file into Plugins/iOS directory within your Assets directly and it will be integrated into the XCode project and compiled by the iOS SDKs GCC compiler along the rest of the application

    But this part is explained as well in the documentation linked by Harris (just wanted to point it out to prevent the missassumption that you have to feed in precompiled .a libraries to do plugins for iOS)
     
    Last edited: Feb 28, 2011