Skip to content

Commit

Permalink
Fixed build error if PhotosUI framework was added explicitly on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirkula committed Dec 9, 2023
1 parent b6e0fd9 commit f70766d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Plugins/NativeGallery/Editor/NGPostProcessBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public static void OnPostprocessBuild( BuildTarget target, string buildPath )
}

pbxProject.RemoveFrameworkFromProject( targetGUID, "Photos.framework" );
pbxProject.RemoveFrameworkFromProject( targetGUID, "PhotosUI.framework" );

File.WriteAllText( pbxProjectPath, pbxProject.WriteToString() );

Expand Down

0 comments on commit f70766d

Please sign in to comment.