cordova-issues mailing list archives

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

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

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.
See: http://www.raywenderlich.com/49850/whats-new-in-objective-c-and-foundation-in-ios-7


> Can't install .tbd dynamic libraries as plugin deps
> ---------------------------------------------------
>
>                 Key: CB-9772
>                 URL: https://issues.apache.org/jira/browse/CB-9772
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message