Skip to content

Commit

Permalink
Updated iOS build scripts to include additional checks and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dsarfati committed Oct 31, 2017
1 parent 1a4187d commit 11c4e8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Assets/Zapic/Editor/iOSBuildSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ private static void ConfigureXcodeSettings(BuildTarget buildTarget, string pathT
//Find the existing framework id
var frameworkId = proj.FindFileGuidByProjectPath("Frameworks/Plugins/iOS/Zapic.framework");

//Try lowercase
if(string.IsNullOrEmpty(frameworkId)){
frameworkId = proj.FindFileGuidByProjectPath("Frameworks/Plugins/iOS/zapic.framework");
}

if (string.IsNullOrEmpty(frameworkId))
{
Debug.LogError("Zapic: Unable to find iOS framework");
Expand Down

0 comments on commit 11c4e8c

Please sign in to comment.