Hi all,
I am using the method PBXProject.AddFrameworkToProject, as described on this page: Unity - Scripting API: iOS.Xcode.PBXProject.AddFrameworkToProject
I have observed that the boolean ‘weak’ does the opposite of what’s described in the documentation. When my post-process method includes the line
proj.AddFrameworkToProject(projectTarget, "VideoToolbox.framework", false)
…it exports an Xcode project where videotoolbox.framework is required. If I change that line to
proj.AddFrameworkToProject(projectTarget, "VideoToolbox.framework", true)
…it exports an Xcode project where videotoolbox.framework is optional. Is this a problem with the PBXProject class or with the documentation?
I am running Unity 5.5.0f3 on a Windows 7 virtual machine, and Xcode 8.2.1 on a Mac running OSX 10.11.6.