[TIMOB-24261] iOS: App rejected because of missing NSPhotoLibraryUsageDescription key
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-01-25T11:48:47.000+0000 |
Affected Version/s | Release 6.0.1 |
Fix Version/s | Release 6.0.2 |
Components | iOS |
Labels | ios, ios10, plist, privacy, ti.media |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-12-27T11:38:03.000+0000 |
Updated | 2017-01-25T11:48:51.000+0000 |
Description
Although using 6.0.1.GA, [~hazemkhaled] experienced an issue with rejected apps because of the
NSPhotoLibraryUsageDescription
key. This was originally fixed by TIMOB-23925, but there seem to be another unwrapped code-snippet that needs to be wrapped by our precompile macros.
Fortunately, the workaround is simple by just adding the key to the plist (since it won't prompt anyway), but a fix should be in place for 6.1.0.
JIRA: https://github.com/appcelerator/titanium_mobile/pull/8714
Reopening for backport to 6.0.2
PR (6_0_X): https://github.com/appcelerator/titanium_mobile/pull/8769
I can validate that this is fixed as I uploaded an app, without the NSPhotoLibraryUsageDescription key, to the App store and this was accepted. Environment; MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.0.2.v20161221155621 Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80