-
-
Notifications
You must be signed in to change notification settings - Fork 200
Manual Setup for iOS
Süleyman Yasir KULA edited this page Oct 6, 2020
·
6 revisions
- set the value of ENABLED to false in NGPostProcessBuild.cs
- build your project
- enter a Photo Library Usage Description in Xcode
- also enter a Photo Library Additions Usage Description, if exists (see: https://github.com/yasirkula/UnityNativeGallery/issues/3)
- set Prevent limited photos access alert property's value to 1, if exists
- insert
weak_framework PhotosUI -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 insertweak_framework PhotosUI -framework Photos -framework MobileCoreServices -framework ImageIO
):
- lastly, remove Photos.framework and PhotosUI.framework from Link Binary With Libraries of Unity-iPhone Target in Build Phases, if exists