cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-7428) Enable Swift development of Plugins
Date Tue, 10 Mar 2015 01:50:40 GMT


ASF GitHub Bot commented on CB-7428:

GitHub user cjpearson opened a pull request:

    CB-7428: Enable Swift development of Plugins

    I've included the changes listed under CB-7428 into the template projects. As part of
these changed, I've moved up the minimum deployment target to iOS 7.0 ( a requirement for
Swift.) It's also been over a year since iOS 5 support was dropped. I've been testing with
this [example plugin](  With these
changes you can now add Swift plugins without changing any settings in Xcode.

You can merge this pull request into a Git repository by running:

    $ git pull CB-7428

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #133
commit 40fab32f7a44f50c04758d2bb758df3fbc4a840a
Author: Connor Pearson <>
Date:   2015-03-09T22:40:40Z

    CB-7428: Update deployment target to 7.0

commit e078969543ba82465ec024b692896c0418c76051
Author: Connor Pearson <>
Date:   2015-03-09T23:07:53Z

    CB-7428: Add bridging header.  Make sure all deployment targets are 7.0 Add swift runtime
to search path


> Enable Swift development of Plugins
> -----------------------------------
>                 Key: CB-7428
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: iOS
>    Affects Versions: 3.5.0
>            Reporter: Erik Jan de Wit
> For developing plugins it would be nice to be able to use the Swift language. Right now
this already works, but one needs to set some Xcode settings by hand:
> * Deployment target needs to be 7.0
> * Add the bridging header file to the 'Swift Compiler - Code Generation' options
> * Add the Swift runtime to the search path (will probably not be needed for iOS8)
> see example plugin

This message was sent by Atlassian JIRA

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

View raw message