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

Shane Delamore commented on CB-8718:
------------------------------------

I am still getting this problem with plugman 0.23.2.

I have these two frameworks in my plugin.xml file:
  <platform name="ios">
   ...
    <framework src="libz.dylib" />
    <framework src="libsqlite3.dylib " />
  </platform>

If I add them manually via xcode > build-phases > link binary with libraries > 
+ > [libz / libsqlite3] they both work fine.

When I have plugman install the plugin, libz.dylib gets install identically to 
the manual method above:
  - location "relative to SDK", usr/lib/libz.dylib

But libsqlite3.dylib gets installed incorrectly. It should be:
  - location "relative to SDK", usr/lib/libsqlite3.dylib
but is:
  - location "relative to group", libsqlite3.dylib (and appears red because it 
can't be located)

NOTE: There appears to also be a libsqlite3.0.dylib (extra ".0") when I add it 
manually. Perhaps this is the problem?

Xcode 6.4 (6E35b)
OSX: Yosemite 10.10.4 (14E46)
npm: 2.5.1
cordova: 5.1.1
plugman: 0.23.3
node: v0.12.0

FYI: I'm running into this because I am making a plugin that automatically 
installs the Parse.com iOS frameworks following this tutorial: 
https://www.parse.com/apps/quickstart#parse_data/mobile/ios/swift/existing . If 
I install libsqlite3.dylib manually, it all works.

> Plugman fails to add libsqlite3 framework reference to Xcode project
> --------------------------------------------------------------------
>
>                 Key: CB-8718
>                 URL: https://issues.apache.org/jira/browse/CB-8718
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>         Environment: OS X Yosemite, Xcode 6.2, Plugman 0.20.2
>            Reporter: Paul Roub
>              Labels: framework, ios, plugman
>
> The plugin includes 3 system, 1 custom frameworks in its iOS section:
> <framework src="libz.dylib" />
> <framework src="libsqlite3.dylib" />
> <framework src="CFNetwork.framework" />
> <framework src="src/ios/libs/ZumeroSync.framework" custom="true" />
> After installing via plugman, all but libsqlite3 are added to the Xcode 
> project. The same plugin add, to the same empty project, with "phonegap 
> install" works as expected.
> The plugin-in-progress is at: https://github.com/zumero/PhoneGap-ZumeroSync



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to