cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Rouse (JIRA)" <>
Subject [jira] [Created] (CB-13533) Embedded binaries not correctly added to Xcode project
Date Fri, 03 Nov 2017 10:34:00 GMT
Craig Rouse created CB-13533:

             Summary: Embedded binaries not correctly added to Xcode project
                 Key: CB-13533
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: cordova@7.0.0
         Environment: Mac OS High Sierra, cordova-cli@7.0.1, cordova-ios@4.4.0, Xcode 9
            Reporter: Craig Rouse
            Assignee: Suraj Pindoria
            Priority: Minor

In Cordova 7.0.0, a feature was added to allow plugins to specify that frameworks should be
added to the Embedded Binaries section of an Xcode project file (see

This feature should have been great, but it doesn't work as expected. If you add a dynamic
framework to Embedded Binaries using Xcode, it will also add the library to the "Linked Frameworks
and Libraries" section. Relying on Cordova to do this, however, only places the framework
in Embedded Binaries, and skips the "Linked Frameworks" section.

I distribute a Cordova plugin, and in my case, this resulted in my framework not working properly.

A workaround exists, which is to list the framework twice in the plugin file: once with "custom=true
embed=true" and once without. This then forces Cordova to add the framework to both sections,
but it is messy and shouldn't be necessary.

For evidence of how this should work, please see this description:
under "Consuming the Framework". Please note I'm not affiliated with Hootsuite - just using
their document as an example.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message