Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19911

iOS: Set Entitlements.plist keys from tiapp.xml like we do for Info.plist


    • Type: New Feature
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.2
    • Fix Version/s: Release 6.1.0
    • Component/s: iOS, Tooling
    • Labels:
    • Environment:

      Xcode 7.1
      iOS 9.X

    • Story Points:
    • Sprint:
      2016 Sprint 26 Tooling


      Currently the only way to add e.g. associated domains for Universal Links or the HealthKit entitlement for the HealthKit Module is by using a custom Entitlements.plist file in the project root:


      The problem is that the Entitlements.plist if you do so Titanium will no longer automatically add any other require entitlements, like TIMOB-19311.

      What we need is for this to work exactly like we handle Info.plist:

      1. Load/Create our default Entitlements.plist.
      2. Merge custom Entitlements.plist in the project root.
      3. Merge keys set in tiapp.xml under <ios>/<entitlements>
      4. Do whatever we automatically generate, but only if the key does not already exist (alternatively, do this step after the first so it will be overwritten by the user's keys)

      Ideally we would rename <ios>/<plist> to <ios>/<info> but that would break all apps


          Issue Links



              • Assignee:
                cbarber Chris Barber
                rramirez Ricardo Ramirez
                Hans Knöchel
              • Watchers:
                12 Start watching this issue


                • Created:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration