daily pastebin goal
19%
SHARE
TWEET

Untitled

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