[TIMOB-27050] iOS: App extension entitlements not picked up during build
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2020-12-04T19:51:02.000+0000 |
| Affected Version/s | Release 8.0.0, Release 8.1.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | cb-tooling |
| Reporter | Hans Knöchel |
| Assignee | Unknown |
| Created | 2019-05-01T19:21:07.000+0000 |
| Updated | 2020-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.
A workaround is to create a "MyExtension/MyExtension.entitlements" structure inside the extension so it gets picked up.
[~hknoechel] Can you check TIMOB-26948 if it fixes the issue you have mentioned.
Vijay, can you resolve this ticket as Duplicate? This is not an issue anymore!
Duplicate of TIMOB-26948.