You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/03/23 22:50:41 UTC
[jira] [Commented] (CB-12290) Custom iOS Framework Not Added to
'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939368#comment-15939368 ]
Shazron Abdullah commented on CB-12290:
---------------------------------------
Seems like this is by design -- there is an enhancement issue https://issues.apache.org/jira/browse/CB-11233
and also related: https://issues.apache.org/jira/browse/CB-10034
> Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
> ----------------------------------------------------------------------
>
> Key: CB-12290
> URL: https://issues.apache.org/jira/browse/CB-12290
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 4.3.0
> Reporter: Bharath Hariharan
> Assignee: Shazron Abdullah
> 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 - https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework.
> 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/Test8.app/Test8
> 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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org