[
https://issues.apache.org/jira/browse/CB-7428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354096#comment-14354096
]
ASF GitHub Bot commented on CB-7428:
------------------------------------
GitHub user cjpearson opened a pull request:
https://github.com/apache/cordova-ios/pull/133
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](https://github.com/edewit/cordova-plugin-hello/tree/swift). 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 https://github.com/cjpearson/cordova-ios CB-7428
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-ios/pull/133.patch
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 <[email protected]>
Date: 2015-03-09T22:40:40Z
CB-7428: Update deployment target to 7.0
commit e078969543ba82465ec024b692896c0418c76051
Author: Connor Pearson <[email protected]>
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: https://issues.apache.org/jira/browse/CB-7428
> 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 https://github.com/edewit/cordova-plugin-hello/tree/swift
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]