简体   繁体   English

查找原始应用ID-适用于iOS Apple应用

[英]find original app ID - for iOS Apple app

While upgrading an existing app, I'm getting the notorious: 在升级现有应用程序时,我臭名昭著:

"The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate." “您上传的二进制文件无效。签名无效,或者未使用Apple提交证书进行签名。”

I believe it is due to the fact that I am using the wrong App ID. 我认为这是由于我使用了错误的App ID。 I forgot the one I used in the original app. 我忘记了我在原始应用中使用的那个。 Is there a way to determine the original App ID? 有没有办法确定原始的应用程序ID? I now using xcode 4 the original app was done back in iOS 3.0 days. 我现在使用xcode 4,原来的应用程序是在iOS 3.0天内完成的。

If the app is available on from the store or if you still have the bundle you submitted open it up and find the binary. 如果该应用程序可以在商店中购买,或者您仍然拥有提交的捆绑软件,请打开它并找到二进制文件。 On the binary run 在二进制运行

strings - appBinary | 字符串-appBinary | grep -A 1 application-identifier grep -A 1应用程序标识符

this will show you the appID that was used. 这将显示您使用的appID。

Incidentally this didn't completely solve my problem. 顺便说一句,这并不能完全解决我的问题。 However closely examining the strings on the binary I was trying to submit revealed the app was being signed by my developer cert and not my distribution cert (despite the xcode settings) there fore I changed all builds to use my distribution cert's and it then worked. 但是,仔细检查我尝试提交的二进制文件中的字符串,发现该应用程序是由我的开发人员证书而不是我的发行证书(尽管使用了xcode设置)签名的,因此我更改了所有版本以使用我的发行证书,然后它就起作用了。

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

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