Getting unity3D to include .h files automatically in xCode (iOS)

Hey everyone :slight_smile:

I’m currently writing a plugin for unity, and having to include entire libraries statically to the generated iOS xCode project every single time I have to test it down on a device is a huge pain (Basically I have to test the plugin on the device every time since it accesses iOS specific functionality, specifically the StoreKit framework for in-app purchases.)

I know that if you put .mm or .m files into the Assets/Plugins/iOS, it will include these types automatically, but it won’t do this for .h files.

Is there any way in which I can get Unity to include header files automatically when building the project to xCode?

you don’t need include the .h files, unity will auto include it, even it not show in the xcode, it will not make you compile error.