cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-9772) Can't install .tbd dynamic libraries as plugin deps
Date Fri, 26 Feb 2016 19:23:18 GMT


Shazron Abdullah commented on CB-9772:

Even though the references are not added properly, it still will link properly (at least for
system frameworks and libraries. This is because of the CLANG_ENABLE_MODULES and CLANG_MODULES_AUTOLINK
Build Settings in the default template in cordova-ios-4.x, which sets both of those settings
to true.

So, even if you didn't add the framework in Build Phases, if your code had:
#import "zlib.h"
#import <UIKit/UIKit.h>

Xcode will automagically convert that to @import statements and link them in.

> Can't install .tbd dynamic libraries as plugin deps
> ---------------------------------------------------
>                 Key: CB-9772
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS
>            Reporter: Adriano Di Giovanni
>            Assignee: Shazron Abdullah
>              Labels: PlatformAPI, cordova-ios-4.1.0
> .dylib are now .tbd in iOS 9.
> I wrote a custom plugin in order to integrate Parse SDK into my Cordova app. The plugin
used libsqlite3.dylib and libz.dylib so I've updated it to work with iOS 9. Thus, I changed
related lines in plugin.xml from
> <framework src="libsqlite3.dylib" />
> <framework src="libz.dylib" />
> to
> <framework src="libsqlite3.tbd" />
> <framework src="libz.tbd" />
> Installation completes successfully but frameworks aren't linked correctly in XCode.

This message was sent by Atlassian JIRA

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

View raw message