cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-11233) Support installing frameworks into "Embedded Binaries" section of the Xcode project
Date Thu, 02 Nov 2017 16:51:00 GMT


ASF GitHub Bot commented on CB-11233:

craigrouse commented on issue #299: CB-11233 - Support installing frameworks into "Embedded
Binaries" section of the Xcode project
   @shazron I have just been testing this (CLI 7.0.1), and found that one of my embedded frameworks
was not working at all, even though it appeared in the "Embedded Binaries" section in the
Xcode project when opened in Xcode. I noticed that when I removed and re-added the framework
using Xcode, the framework started working as expected. I inspected the source for the Xcode
project, and found that the difference was that Xcode also added the file to the "PBXFrameworksBuildPhase"
section, which seems to map to the "Link Binary With Libraries" build phase in the Xcode GUI.
Now in my plugin.xml, if I specify the framework twice; once with embed=true/custom=true and
once without, in places the binary in both sections and works as expected. This feels like
it is probably a Cordova bug, but perhaps it's expected behaviour? I would have expected it
to work the same way as the Xcode UI when you hit "+" in the "Embedded Binaries" section of
the project, and it doesn't appear to, so I personally believe this is a bug. Your thoughts
and feedback would be most welcome. Craig.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Support installing frameworks into "Embedded Binaries" section of the Xcode project
> -----------------------------------------------------------------------------------
>                 Key: CB-11233
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-lib
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Major
>              Labels: cordova-7.0.0
>             Fix For: cordova-ios@4.4.0, cordova@7.0.0
> Right now, this:
> {code}
> <framework src="Foo.framework" custom="true" />
> {code}
> .. links the framework statically into the program.
> There needs to be a similar directive that will install the framework into the "Embedded
Binaries" section of the Xcode project. Frameworks that are installed in the "Embedded Binaries"
section are dynamically loaded when needed by your iOS program.
> Two ways this can be done:
> 1. Overload the "custom" attribute (icky but we won't have to introduce a new attribute)
to be a string, and the new value would be "dynamic"
> 2. Have a new "dynamic" attribute (boolean)

This message was sent by Atlassian JIRA

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

View raw message