Marco Bonati created CB-12772:
---------------------------------

             Summary: 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-cli
    Affects Versions: 7.0.0
            Reporter: Marco Bonati


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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to