Skip to content

Manual Setup for iOS

Süleyman Yasir KULA edited this page Oct 9, 2019 · 6 revisions
  • set the value of ENABLED to false in NGPostProcessBuild.cs
  • build your project
  • enter a Photo Library Usage Description in Xcode

PhotoLibraryUsageDescription

  • also enter a Photo Library Additions Usage Description, if exists (see: https://github.com/yasirkula/UnityNativeGallery/issues/3)
  • insert -weak_framework Photos -framework AssetsLibrary -framework MobileCoreServices -framework ImageIO to the Other Linker Flags of Unity-iPhone Target (if your Deployment Target is at least 8.0, it is sufficient to insert -framework Photos -framework MobileCoreServices -framework ImageIO):

OtherLinkerFlags

  • lastly, remove Photos.framework from Link Binary With Libraries of Unity-iPhone Target in Build Phases, if exists
Clone this wiki locally