cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Updated] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
Date Mon, 27 Feb 2017 21:21:45 GMT


Shazron Abdullah updated CB-12290:
    Fix Version/s: cordova-ios@4.4.0

> Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
> ----------------------------------------------------------------------
>                 Key: CB-12290
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.3.0
>            Reporter: Bharath Hariharan
>            Assignee: Shazron Abdullah
>            Priority: Critical
>             Fix For: cordova-ios@4.4.0
> My Cordova plugin includes a few custom framework binaries. I am trying to add them to
the plugin as described here -
> For example:
> {code}
> <framework src="src/ios/frameworks/SalesforceSDKCore.framework" custom="true" />
> {code}
> I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my plugin. The framework
is added correctly to the dependencies in the project and is linked correctly as well. As
a result, compilation works fine. However, when I run the app, it complains with the following
error message:
> {code}
> dyld: Library not loaded: @rpath/SalesforceAnalytics.framework/SalesforceAnalytics
>   Referenced from: /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/
>   Reason: image not found
> {code}
> Basically, the issue is that the custom frameworks I added in plugin.xml are not added
to the 'Embedded Binaries' section, and I can't seem to find a way to do that via plugin.xml.
> A custom framework inclusion should automatically be added to the 'Embedded Binaries'
section of the generated app in Xcode.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message