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 2013/05/21 21:21:17 UTC

[jira] [Closed] (CB-3431) plugman - source-file framework=true - Build Error - can't find library during Linker phase

     [ https://issues.apache.org/jira/browse/CB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah closed CB-3431.
--------------------------------


Works great! Thanks Fil!
                
> plugman - source-file framework=true - Build Error - can't find library during Linker phase
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-3431
>                 URL: https://issues.apache.org/jira/browse/CB-3431
>             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: https://github.com/shazron/TestFlightPlugin 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.
> 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: http://www.atlassian.com/software/jira