Search Unity

Using OnPostprocessBuild and the XcodeAPI is adding an embedded framework possible?

Discussion in 'Unity Build Automation' started by Simurr, Jun 3, 2015.

  1. Simurr

    Simurr

    Joined:
    Jan 2, 2012
    Posts:
    9
    I'm new to the whole post build process stuff so maybe I just missed it somewhere.

    I used the example project to make a post process script and added a bundle and framework to the xcode project. That works fine.

    The problem is that this framework needs to be added as an embedded framework. Is that possible?

    sim
     
  2. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    745
    Yes, that should be possible. As far as I know you need to change a switch in the XCode settings to use a embedded framework. As mentioned in the other thread here you can alter XCode projects and other files with the XCode manipulation API! There are several threads about it already, so it should be possible to find all kind of information in those too! :)