You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2019/11/29 12:23:00 UTC

[jira] [Closed] (CB-12772) iOS Dynamic Framework Embedding/Linking

     [ https://issues.apache.org/jira/browse/CB-12772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-12772.
-----------------------------
    Resolution: Cannot Reproduce

I can't reproduce in latest cli/ios versions.
If you still face the issue, report it on github https://github.com/apache/cordova-ios/issues and provide a sample project/plugin

> iOS Dynamic Framework Embedding/Linking
> ---------------------------------------
>
>                 Key: CB-12772
>                 URL: https://issues.apache.org/jira/browse/CB-12772
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: 7.0.0
>            Reporter: Marco Bonati
>            Priority: Major
>
> Hi all
> in my plugin project i need to add a dynamic ios framework (DECommons.framework). 
> In plugin.xml i added this   
>     <framework src="src/ios/DECommons.framework" custom="true" />
> but in Xcode project the framework appears only in Linked Frameworks section, but this is not sufficient, i need to add the framework also into Embedded Binaries section.
> Then i tried with this configuration
>     <framework src="src/ios/DECommons.framework" custom="true" embed="true"/>
> but in this way the framework in Xcode appears only in Embedded Frameworks and not in Linked (then a compilation error occurs).
> I need an Xcode configuration that requires my framework in Embedded and Linked framework. 
> I've already tried all the possible combinations of "custom", "embed" and "link" parameters (although it is not officially exposed) in plugin.xml without any results.
> Obviously I need this to happen automatically when installing the plugin and it does not force the user to open Xcode to correct the project settings.
> Note: Before CLI version 7.0.0 I used a special hook that now no longer works.
> I have already seen on Jira several open tickets on the subject but I have not found any solution. Does anyone know how to help me?
> Cheers
> Marco



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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