[ https://issues.apache.org/jira/browse/CB-13533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-13533. ----------------------------- Resolution: Duplicate Closing as duplicate of CB-12772 > Embedded binaries not correctly added to Xcode project > ------------------------------------------------------ > > Key: CB-13533 > URL: https://issues.apache.org/jira/browse/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 > Labels: embedded, ios > > 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 https://issues.apache.org/jira/browse/CB-11233). > 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: > http://code.hootsuite.com/an-introduction-to-creating-and-distributing-embedded-frameworks-in-ios/ > 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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org