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 Sat, 08 Apr 2017 00:16:41 GMT


ASF GitHub Bot commented on CB-11233:

Github user shazron commented on the issue:
    Tested this with the master branch CLI that has this `cordova-common` change:
    This change above will only be in cordova-cli@7.0.0
    If the platform does not have an `Embedded Frameworks` Copy Files Build Phase (Embedded
Binaries), it creates one.
    Tested according to [this table](
-- which includes plugins containing `<framework src="MyFramework.framework" custom="true"
embed="true" />` tags, and preserves existing behaviour.
    With `custom=true` and `embed=true`, the framework is added to the `Embedded Binaries`
section, but not the `Linked Frameworks and Libraries` section (`link` value will always be
the inverse of the `embed` value, link is not exposed as an attribute) and vice versa. Note
however, if you add a framework manually in Xcode to `Embedded Binaries`, it adds them to
both sections.
    ping @bhariharan

> Support installing frameworks into "Embedded Binaries" section of the Xcode project
> -----------------------------------------------------------------------------------
>                 Key: CB-11233
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaLib
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>              Labels: cordova-7.0.0
>             Fix For: cordova-ios@4.4.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