[jira] [Comment Edited] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile

2018-02-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-11893 at 2/9/18 2:06 AM:
---

[~swinx] MyPluginThatUsesADynamicFrameworkCocoaPod is just a name. This is how 
you specify a CocoaPod in a plugin's plugin.xml. If that plugin needs 
use_frameworks, we need to know about it, thus overloading the type. It's still 
a "podspec", it just has this extra annotation.

If a plugin's cocoapod has this type and annotation, we flag it if other 
plugins install other cocoapods *without* it.

We don't have resources to work on everything, especially this, so this is the 
easiest proposal considering long Apache release rules and testing, but if you 
want to submit a PR and do everything, and test it, that will be appreciated as 
well. No backports.


was (Author: shazron):
[~swinx] MyPluginThatUsesADynamicFrameworkCocoaPod is just a name. This is how 
you specify a CocoaPod in a plugin's plugin.xml. If that plugin needs 
use_frameworks, we need to know about it, thus overloading the type. It's still 
a "podspec", it just has this extra annotation.

If a plugin's framework has this type and annotation, we flag it if other 
plugins install other cocoapods *without* it.

We don't have resources to work on everything, especially this, so this is the 
easiest proposal considering long Apache release rules and testing, but if you 
want to submit a PR and do everything, and test it, that will be appreciated as 
well. No backports.

> CocoaPods support: Provide a way to add use_frameworks! on the Podfile
> --
>
> Key: CB-11893
> URL: https://issues.apache.org/jira/browse/CB-11893
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-ios
>Reporter: jcesarmobile
>Priority: Major
>  Labels: backlog
> Fix For: cordova-ios@5.0.0
>
> Attachments: Integrating Static Library With Cocoapods 
> Use_frameworks.pdf
>
>
> If the library you want to use on the plugin uses Swift or you want to use 
> dynamic frameworks you have to add use_frameworks! on the Podfile
> I don't think there is a way of adding it right now.
> We should provide a way of adding it 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile

2018-02-06 Thread Ilya Isupov (JIRA)

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

Ilya Isupov edited comment on CB-11893 at 2/7/18 2:09 AM:
--

Hi [~shazron],

But if I need to have a dependency on swift framework, is there any way to work 
around this issue and add use_frameworks! statement to podfile? In my case 
project builds correctly if I manually modify Podfile and install pods.

Regarding this issue in general - I guess if plugin has swift dependency (for 
example PromiseKit in my case) and since requires use_frameworks! to present in 
podfile this might be nice to allow plugin to specify it. Maintainer of the 
plugin might explicitly state in documentation that plugin does such 
modification.

Thank you!


was (Author: swinx):
Hi [~shazron],

But if I need to have a dependency on swift framework, is there any way to work 
around this issue and add use_frameworks! statement to podfile? In my case 
project builds correctly if I manually modify Podfile and install pods.

Regarding this issue in general - I guess if plugin has swift dependency and 
since requires use_frameworks! to present in podfile this might be nice to 
allow plugin to specify it. Maintainer of the plugin might explicitly state in 
documentation that plugin does such modification.

Thank you!

> CocoaPods support: Provide a way to add use_frameworks! on the Podfile
> --
>
> Key: CB-11893
> URL: https://issues.apache.org/jira/browse/CB-11893
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-ios
>Reporter: jcesarmobile
>Priority: Major
>  Labels: backlog
> Fix For: cordova-ios@5.0.0
>
> Attachments: Integrating Static Library With Cocoapods 
> Use_frameworks.pdf
>
>
> If the library you want to use on the plugin uses Swift or you want to use 
> dynamic frameworks you have to add use_frameworks! on the Podfile
> I don't think there is a way of adding it right now.
> We should provide a way of adding it 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile

2018-02-06 Thread Ilya Isupov (JIRA)

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

Ilya Isupov edited comment on CB-11893 at 2/7/18 2:08 AM:
--

Hi [~shazron],

But if I need to have a dependency on swift framework, is there any way to work 
around this issue and add use_frameworks! statement to podfile? In my case 
project builds correctly if I manually modify Podfile and install pods.

Regarding this issue in general - I guess if plugin has swift dependency and 
since requires use_frameworks! to present in podfile this might be nice to 
allow plugin to specify it. Maintainer of the plugin might explicitly state in 
documentation that plugin does such modification.

Thank you!


was (Author: swinx):
Hi [~shazron],

But if I need to have a dependency on swift framework, is there any way to work 
around this issue and add use_frameworks! statement to podfile? In my case 
project builds correctly if I manually modify Podfile and install pods.

Thank you!

> CocoaPods support: Provide a way to add use_frameworks! on the Podfile
> --
>
> Key: CB-11893
> URL: https://issues.apache.org/jira/browse/CB-11893
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-ios
>Reporter: jcesarmobile
>Priority: Major
>  Labels: backlog
> Fix For: cordova-ios@5.0.0
>
> Attachments: Integrating Static Library With Cocoapods 
> Use_frameworks.pdf
>
>
> If the library you want to use on the plugin uses Swift or you want to use 
> dynamic frameworks you have to add use_frameworks! on the Podfile
> I don't think there is a way of adding it right now.
> We should provide a way of adding it 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile

2017-08-17 Thread jcesarmobile (JIRA)

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

jcesarmobile edited comment on CB-11893 at 8/17/17 10:05 PM:
-

Xcode 9 supports static library targets which contain Swift code, so we might 
not need this after all.

Xcode 9 beta 4 release notes 
https://download.developer.apple.com/Developer_Tools/Xcode_9_beta_4/Xcode_9_beta_4_Release_Notes.pdf

CocoaPods issue about it (still open) 
https://github.com/CocoaPods/CocoaPods/issues/6899


was (Author: jcesarmobile):
Xcode 9 supports static library targets which contain Swift code, so we might 
not need this after all.

Xcode 9 beta 4 release notes 
https://download.developer.apple.com/Developer_Tools/Xcode_9_beta_4/Xcode_9_beta_4_Release_Notes.pdf

> CocoaPods support: Provide a way to add use_frameworks! on the Podfile
> --
>
> Key: CB-11893
> URL: https://issues.apache.org/jira/browse/CB-11893
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-ios
>Reporter: jcesarmobile
>  Labels: backlog
> Fix For: cordova-ios@5.0.0
>
> Attachments: Integrating Static Library With Cocoapods 
> Use_frameworks.pdf
>
>
> If the library you want to use on the plugin uses Swift or you want to use 
> dynamic frameworks you have to add use_frameworks! on the Podfile
> I don't think there is a way of adding it right now.
> We should provide a way of adding it 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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