简体   繁体   English

更新Titan应用程序-无效的“ --pp-uuid”值

[英]Update titanium app - Invalid “--pp-uuid” value

I have to update an old project that was developed with titanium, but after a long time of researching I am not able to even run it in my device. 我必须更新一个用钛开发的旧项目,但是经过长时间的研究,我什至无法在我的设备中运行它。 That is why I have decided ask for help here. 这就是为什么我决定在这里寻求帮助的原因。

The error message that I am getting is: 我收到的错误消息是:

[ERROR] :  Invalid "--pp-uuid" value "0ca5b889-29b7-49f0-816b-29ec40783b84"
For help, run: titanium.js help build

I have read in another post in stackoverflow: Appcelerator [ERROR] : Invalid "--pp-uuid" after provisioning certificate update that I have to look at Run Configurations and change provisions there to make sure have green check all. 我已经阅读了stackoverflow中的另一篇文章: Appcelerator [错误]:置备证书更新后,无效的“ --pp-uuid” ,我必须查看“运行配置”并在此处进行更改以确保全部选中绿色。

That is done: 完成: 在此处输入图片说明

But I am still getting the error with the uuid, if I try to change the app id the I am getting the "Select Provisioning Profile" red, so I also can not run it. 但是我仍然会遇到uuid错误,如果我尝试更改应用程序ID,则会收到红色的“ Select Provisioning Profile”,因此我也无法运行它。 Thoughts in what I can do? 我能做什么的想法?

I was able to solve the problem: First I deleted all the provisions profiles, to make sure I am not using an old one: 我能够解决问题:首先,我删除了所有配置文件配置文件,以确保我没有使用旧的配置文件:

rm  ~/Library/MobileDevice/Provisioning Profiles/* 

Then I created a new certificate and a new provision profile linked to the certificate and the app id in the Apple membership account. 然后,我创建了一个新证书和一个新的配置文件,该配置文件链接到Apple会员帐户中的证书和应用程序ID。 And I download it an open, to be stored in the computer. 然后我将其下载为开放文件,并将其存储在计算机中。

Now I clean and run the project again with the command line: 现在,我使用命令行清理并再次运行项目:

appc ti clean
appc run -p ios -T device.

I chose the certificate and provision already created and it finally works. 我选择了已经创建的证书和设置,它终于可以工作了。

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

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