简体   繁体   English

无法为自组织分发加速器构建

[英]can't build for adhoc distribution appcelerator

I`m having lots of trouble with this one. 我对此很麻烦。 I tried compiling an app for adhoc distribution and started with this error: 我尝试编译用于​​自定义分发的应用程序,并从以下错误开始:

Failed to export archive to ipa [ERROR] : The selected provisioning profile "" is most likely not a valid Ad Hoc provisioning profile. 无法将归档文件导出到ipa [错误]:所选的配置文件“”很可能不是有效的临时配置文件。 [ERROR] : Please ensure you are using a valid Ad Hoc provisioning that is linked to the signing identity, then try again. [错误]:请确保您使用的是与签名身份相关联的有效Ad Hoc设置,然后重试。

I "solved that part" running appc run -p ios -T dist-adhoc through console line, but then I got 我通过控制台行“解决了那部分”运行appc run -p ios -T dist-adhoc ,但是后来我得到了

Cannot find module '/Users/ggomez22/Documents/Appcelerator_Studio_Workspace/MODI-Express-Dashboard/undefined' [ERROR] Alloy compiler failed 找不到模块'/ Users / ggomez22 / Documents / Appcelerator_Studio_Workspace / MODI-Express-Dashboard / undefined'[错误] Alloy编译器失败

also solved that one running sudo npm install alloy -g which also resulted in an error related to my defaultIcon.png (solved that) but now I'm stuck with 还解决了一个正在运行的sudo npm install alloy -g ,这也导致了与我的defaultIcon.png相关的错误(解决了该问题),但现在我陷入困境

Session invalid. 会话无效。 Please log in again. 请重新登录。

I already tried logging in and out several times but the problem persists, I also tried with appc logout -D and had to use the code sent to my email to log in again but that didn't solve the problem either. 我已经尝试了几次登录和注销,但是问题仍然存在,我还尝试了appc logout -D并且不得不使用发送到我的电子邮件中的代码再次登录,但这也不能解决问题。

I need help with this. 我需要这方面的帮助。 Thank you. 谢谢。

I will advise you to download Appc Studio & setup everything there. 我建议您下载Appc Studio并在此处进行所有设置。 It looks like you are trying things piece by piece. 看来您正在逐步尝试。 Solve one & move to other problem. 解决一个并转到其他问题。 so it's better to avoid this tedious process & use Appc Studio IDE to build your project. 因此最好避免这种繁琐的过程,并使用Appc Studio IDE来构建您的项目。

It's merely of 400MB & everything should be working fine. 它只有400MB,一切都应该正常工作。

Studio can also report you errors if there are any other because you can't be sure what's stopping you from building app from command line. 如果还有其他错误,Studio也会报告错误,因为您无法确定是什么原因阻止您从命令行构建应用程序。

Looking at that Session Invalid issue, I used to solve it using appc login without logout as it refreshes the tokens & necessary things. 看着那个会话无效的问题,我曾经使用appc登录而不注销来解决它,因为它刷新了令牌和必要的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM