You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/12/14 22:26:00 UTC

[jira] [Closed] (CB-13626) Entitlements are missing in ipa file

     [ https://issues.apache.org/jira/browse/CB-13626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-13626.
-----------------------------
    Resolution: Not A Problem

Cordova right now uses .plist files for the entitlements and it's incompatible with .entitlements files, there is an issue open to change that, once that is implemented your problem will go away. (well, you will have to write on the file instead of copying it)

Cordova CLI will use the settings from build.xcconfig and not from the project, so the changes you make have no effect.

As a workaround you should continue using Xcode to build, or try to write on the entitlement.plist files instead of using a new .entitlements file

Closing as not a problem as it's a known incompatibility 

> Entitlements are missing in ipa file
> ------------------------------------
>
>                 Key: CB-13626
>                 URL: https://issues.apache.org/jira/browse/CB-13626
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova-ios@4.5.4
>         Environment: xcode 9.1
> cordova 7.0.0
> cordova-ios 4.5.4
>            Reporter: Liventsev
>            Assignee: Suraj Pindoria
>
> I have an external *.entitlement file and I copy it to platform/ios/MyProject/MyProject.entitlement after installing platform (cordovacli:addPlatform).
> I also add CODE_SIGN_ENTITLEMENTS="MyProject/MyProject.entitlement" value to MyProject.xcodeproj/project.pbxproj using npm-xcode (https://www.npmjs.com/package/xcode).
> The problem is that entitelments defined in this file are missing in generated *.ipa. But only if I use cordovacli:compile.
> But building generated MyProhect.xcodeproj using xcode 9 is correct without any changes in project.
> Please feel free to contact me if you need any additional information



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org