cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/CB-11233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961582#comment-15961582
] 

ASF GitHub Bot commented on CB-11233:
-------------------------------------

Github user shazron commented on the issue:

    https://github.com/apache/cordova-ios/pull/299
  
    Tested this with the master branch CLI that has this `cordova-common` change: https://github.com/apache/cordova-lib/pull/535
    
    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](https://issues.apache.org/jira/browse/CB-11233?focusedCommentId=15948494&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15948494)
-- 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: https://issues.apache.org/jira/browse/CB-11233
>             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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message