Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27050] iOS: App extension entitlements not picked up during build

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2020-12-04T19:51:02.000+0000
Affected Version/sRelease 8.0.0, Release 8.1.0
Fix Version/sn/a
ComponentsiOS
Labelscb-tooling
ReporterHans Knöchel
AssigneeUnknown
Created2019-05-01T19:21:07.000+0000
Updated2020-12-04T22:08:40.000+0000

Description

When using app extensions on iOS, the entitlements of the extension are not properly merged into the generated Titanium Xcode project. The root cause seems to be a falsy constructed entitlements path:
// wrong
CODE_SIGN_ENTITLEMENTS = extensions/MyExtension/MyExtension/MyExtension/MyExtension.entitlements;

// correct
CODE_SIGN_ENTITLEMENTS = extensions/MyExtension/MyExtension/MyExtension.entitlements;
Note that that there is one additional sub-directory that causes the issues.

Comments

  1. Hans Knöchel 2019-05-01

    A workaround is to create a "MyExtension/MyExtension.entitlements" structure inside the extension so it gets picked up.
  2. Vijay Singh 2019-05-01

    [~hknoechel] Can you check TIMOB-26948 if it fixes the issue you have mentioned.
  3. Hans Knöchel 2020-12-04

    Vijay, can you resolve this ticket as Duplicate? This is not an issue anymore!
  4. Vijay Singh 2020-12-04

    Duplicate of TIMOB-26948.

JSON Source