appsquickly / XcodeEditor

An API for manipulating Xcode project files.
Apache License 2.0
880 stars 134 forks source link

Add file to dynamic framework target Public/Private/Project Build Phases > Headers? #71

Open meekapps opened 8 years ago

meekapps commented 8 years ago

Hello, I have a project which uses XcodeEditor for a code generation target that produces a static library. I am interested in migrating to using a more modern dynamic framework. I have it mostly working but the last hurdle is adding the headers to the target.

Is there currently a way to add a file (in my case a generated .h file, which is not under source control) to a dynamic framework target's Build Phases > Headers? I am able to add my .m files to Compile Sources using addMember:, but there does not seem to be a way to actually add the Headers (and specify their scope, i.e. Public/Private/Project).

Thank you, -keller