Hi guys,
I have googling and messeing around for a while and here is a code I end up with
How to copy folder from Asset to xcode project as folder references?
I have googling and messeing around for a while and here is a code I end up with
Code (CSharp):
- [PostProcessBuild]
- public static void MyPostProcess(BuildTarget buildTarget, string pathToBuiltProject) {
- if (buildTarget == BuildTarget.iOS) {
- string projPath = PBXProject.GetPBXProjectPath(pathToBuiltProject);
- PBXProject proj = new PBXProject();
- proj.ReadFromString(File.ReadAllText(projPath));