Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24261] iOS: App rejected because of missing NSPhotoLibraryUsageDescription key

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-01-25T11:48:47.000+0000
Affected Version/sRelease 6.0.1
Fix Version/sRelease 6.0.2
ComponentsiOS
Labelsios, ios10, plist, privacy, ti.media
ReporterHans Knöchel
AssigneeHans Knöchel
Created2016-12-27T11:38:03.000+0000
Updated2017-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.

Comments

  1. Hans Knöchel 2016-12-27

    JIRA: https://github.com/appcelerator/titanium_mobile/pull/8714
  2. Hans Knöchel 2017-01-22

    Reopening for backport to 6.0.2
  3. Hans Knöchel 2017-01-23

    PR (6_0_X): https://github.com/appcelerator/titanium_mobile/pull/8769
  4. Lee Morris 2017-01-23

    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

JSON Source