Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

How to copy folder from Asset to xcode project as folder references?

$
0
0
Hi guys,

I have googling and messeing around for a while and here is a code I end up with

Code (CSharp):
  1.     [PostProcessBuild]
  2.     public static void MyPostProcess(BuildTarget buildTarget, string pathToBuiltProject) {
  3.         if (buildTarget == BuildTarget.iOS) {
  4.      
  5.             string projPath = PBXProject.GetPBXProjectPath(pathToBuiltProject);
  6.             PBXProject proj = new PBXProject();
  7.    
  8.             proj.ReadFromString(File.ReadAllText(projPath));
  9.             string target =...
How to copy folder from Asset to xcode project as folder references?

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>