0

PhonegapBuild now supports Plugins from the Cordova Plugin Site (This is sooo great :)!) But i have a problem installing the Helpshift Plugin "com.helpshift.HSPhoneGapPlugin". I always get an Error when pg tries to build the iOS-app... "Oh geez. Your build failed. Sorry, but a problem occurred on the build server".

This only happens when i include this plugin in the config.xml.

Here is the log from the build process: http://tny.cz/b33c494d

Thanks in advance, Max

4

2 回答 2

1

对于遇到这种情况的任何人,从 2015 年 7 月起,helpshift 几乎肯定不会在当前状态下的 Phonegap 构建上工作。

原因是他们没有使用插件正确设置 SDK。与所有 cordova/phonegap 插件一样,需要在插件说明中复制进行集成所需的文件,但是,根据 helpshift 文档,需要在 xCode 中执行许多手动步骤来制作整合采取。

我已经看到一个开源项目尝试解决这个问题,但是构建也对我不起作用。

现在的解决方案如下:(适用于iOS)

使用 Cordova(是的,这意味着如果您必须使用 PG 构建,您可以停止阅读)将 iOS 添加到您的项目中安装 Helpshift phonegap 插件使用

cordova plugin add <path to helpshift plugin>

完成后,跳转到 https://developers.helpshift.com/ios/getting-started/#automated-integration

并下载 helpshift 自动化集成助手。

运行它,安装 v4.9.1(后来有资源丢失的问题)

跳转到 xCode 并运行您的项目,它应该构建得很好......现在按照在 phonegap 中初始化 helpshift 的说明进行操作

https://developers.helpshift.com/phonegap/?_ga=1.99559902.1744288086.1387515146#initializing-helpshift-phonegap-plugin

*** 还有一点要注意,他们的插件只有单一平台。我已经制作了一份同时适用于 Android 和 iOS 的副本,但尚未弄清楚如何让 Android 与最新版本的 Cordova Android 一起启动。gradle 集成没有编译,他们网站上的指南找不到 SDK。一旦一切正常,我将发布插件的多平台版本的链接。

于 2015-07-23T05:34:21.313 回答
0

我是 Helpshift 的产品经理 Gireesh。我的团队试图重现这个问题。通过查看堆栈跟踪,我们得到的一个观察结果是

/project/Selfie/Plugins/com.helpshift.HSPhoneGapPlugin/HelpshiftPG.h:10:9:致命错误:找不到“Helpshift.h”文件

这可能是由于以下构建错误

CompileC build/Selfie.build/Release-iphoneos/Selfie.build/Objects-normal/armv7/HelpshiftPG.o Selfie/Plugins/com.helpshift.HSPhoneGapPlugin/HelpshiftPG.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

(1 次失败)

解决方案:您可以尝试正确包含文件并重试 SDK 集成吗?

或者,我们也有 Phonegap 的自动安装步骤。您可以在以下位置找到详细信息

https://developers.helpshift.com/phonegap/?_ga=1.99559902.1744288086.1387515146#add-helpshift-phonegap-plugin

请让我们知道如何进一步提供帮助。

供将来使用:获取 Helpshift SDK 问题解决方案的最快方法是写信至 support@helpshift.com。

于 2014-12-16T05:40:38.797 回答