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 Tue, 11 Apr 2017 21:51:41 GMT


ASF GitHub Bot commented on CB-11233:

Github user shazron commented on the issue:
    For others to test the `embed` attribute for framework tag, you need the latest `cordova-common`
module in your Cordova CLI:
    git clone /tmp/cordova-lib
    cd `which cordova`/../..
    npm install /tmp/cordova-lib/cordova-common
    (unfortunately cordova-common does not have a nightly, nor does the cordova@nightly include
the latest cordova-common)
    You will also need the nightly cordova-ios platform:
    cordova platform add ios@nightly
    So after updating your CLI, you can do this:
    cordova create test
    cd test
    cordova platform add ios@nightly
    cordova plugin add
    # verify in Xcode
    open -a Xcode platforms/ios 
    # deploy

> 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