cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Commented] (CB-3431) plugman - source-file framework=true - Build Error - can't find library during Linker phase
Date Tue, 21 May 2013 18:51:17 GMT


Filip Maj commented on CB-3431:

k so node-xcode has a method for adding stuff INTO the LIBRARY_SEARCH_PATHS but nothing to
remove it. I'll patch that on my fork, send a pull request to the core project, and update
plugman to use my fork for now.

It also doesn't append the {{arch}} stuff, and in my tests that seems to work fine in xcode,
so that's what we'll go with for now.
> plugman - source-file framework=true - Build Error - can't find library during Linker
> -------------------------------------------------------------------------------------------
>                 Key: CB-3431
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>         Environment: plugman 0.7.6
> Cordova master/2.8.0
>            Reporter: Shazron Abdullah
>            Assignee: Filip Maj
>         Attachments: LIBRARY_SEARCH_PATHS.png, PBXPROJ.png, Screen Shot 2013-05-21 at
11.26.54 AM.png
> This is separate from CB-3429 (which is fixed), and is apparent when you actually try
to build the project.
> Plugin tested with: using plugman 0.7.6
> The plugin installs fine, but when building, there is a linker error "library TestFlight
not found -lTestFlight".
> When manually adding a library to the Link Binary With Libraries section, there is an
additional step that Xcode automatically adds to your project, namely adding the path of the
library to the "Library Search Paths" of the project's build settings. See "LIBRARY_SEARCH_PATHS.png"
> Attached also is PBXPROJ.png where it shows how the setting looks like in the Debug and
Release configurations.
> Basically the fix is to add to the LIBRARY_SEARCH_PATHS build setting, and add the path
of the .a itself, but substitute $(SRCROOT) for the path of the project.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message