Plugman框架跳过Mac OS X符号链接

问题描述:

我正在使用此插件: com.ios.libgoogleadmobads ,它是 https://github.com/appfeel/admob-google-cordova的帮助程序插件(com.admob.google cordova admob插件)

I'm working on this plugin: com.ios.libgoogleadmobads, which is a helper plugin for https://github.com/appfeel/admob-google-cordova (com.admob.google cordova admob plugin)

您可以在此处看到: https://github.com/appfeel/google-iosadmobads/tree/master/src/ios/GoogleMobileAds.framework

有两个象征性的行.当我尝试安装插件时:

there are two symbolic lynks. When I try to install the plugin:

cordova plugin add com.ios.libgoogleadmobads

链接被跳过.有任何解决方法/解决方案吗?

The links are skipped. Any workaround/solution please?

更新

作为一种解决方法,我添加了一个钩子来通过bash创建链接,并且删除了预定义的符号链接.它在MAC中工作,而不在其他系统中工作.因此,我很想知道为什么安装远程插件时plugman不支持symbolik链接(它适用于本地插件).

As a workaround I've added a hook to create the links via bash and I've deleted the predefined symbolic links. It is working in MAC, not in other systems. So I'm curious to know why plugman doesn't support symbolik links when installing remote plugins (it works for local plugins).

想法:可能是由于tar.gz?可以通过任何方式解决吗?

Idea: Could it be due to tar.gz? Could it be fixed in any way?

最后,我设法通过更改

At the end I managed to solve it by changing the dependency tag in https://github.com/appfeel/admob-google-cordova in plugin.xml:

<dependency id="com.ios.libgoogleadmobads" url="https://github.com/appfeel/google-iosadmobads"/>

对于任何有帮助的人,我的结论是,cordova或phonegap插件所需的任何.framework库都需要放置在单独的存储库中,并引用url属性.

For anyone who can be helpful, my conclusion is that any .framework library needed in a cordova or phonegap plugin needs to be placed in a separate repo and refferenced with the url attribute.

在此处查看相关问题: https://issues.apache.org/jira/browse/CB-6092

See related issue here: https://issues.apache.org/jira/browse/CB-6092