a guest Sep 13th, 2017 296 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- string frameworkPath = project.AddFile(Application.dataPath + "PATH_TO_FRAMEWORK/test.framework", "Frameworks/test.framework", PBXSourceTree.Source);
- project.AddFileToBuild(target, frameworkPath);
- string embedPhase = project.AddCopyFilesBuildPhase (target, "Embed Frameworks", "", "10");
- project.AddFileToBuildSection (target, embedPhase, frameworkPath);
- project.AddBuildProperty (target, "FRAMEWORK_SEARCH_PATHS", "$(SRCROOT)/PATH_TO_FRAMEWORK/");
RAW Paste Data