使用 RoboVM 将 App 上传到 Apple App Store 的问题 [英] Problems uploading App to Apple's App Store using RoboVM

查看:42
本文介绍了使用 RoboVM 将 App 上传到 Apple App Store 的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Eclipse、libGDX 1.2.0 和 RoboVM 0.0.14.

I'm using Eclipse, libGDX 1.2.0 and RoboVM 0.0.14.

在过去的几天里,我试图将我的应用上传到应用商店,但没有成功.

In the last couple of days I was trying to upload my app to the app store with no success.

老实说,我真的不知道我做错了什么,所以我决定附上以下资源,希望这里有人能够帮助我解决这个问题.

To be completely honest, I don't really know what am I doing wrong, so I decided to attach the following resources and hope that someone here will be able to assist me with this issue.

谢谢.

下面你会发现:

  1. 应用程序加载器错误消息.
  2. build.gradle 文件.
  3. App ID 详细信息(来自 developer.apple.com).
  4. iOS 证书(来自 developer.apple.com).
  5. iOS 配置文件(来自 developer.apple.com).
  6. 应用信息(来自 itunes connect).
  7. 钥匙串访问文件(在我的 Mac 上).

应用程序加载器错误消息:

错误 1:捆绑标识符不能从当前的值,'com.tzamots.nGame'.如果您想更改捆绑包标识符,则需要在 iTunses Connect 中创建一个新应用程序."

Error 1: "The bundle identifier cannot be changed from the current value, 'com.tzamots.nGame'. If you want to change your bundle identifier, you will need to create a new application in iTunses Connect."

错误 2:无效的代码签名权利.您的权利应用程序包签名与包含在配置文件.根据配置文件,捆绑包包含不允许的键值:'J3P5A3B6AS.com.tzamots.noniGame.iOSLauncher' 用于密钥Payload/iOSLaouncher.app/IOSLaouncher"中的应用程序标识符"

Error 2: " invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: 'J3P5A3B6AS.com.tzamots.noniGame.iOSLauncher' for key 'application-identifier' in 'Payload/iOSLaouncher.app/IOSLaouncher"

iOS目录下的build.gradle文件:

 robovm {
 iosSignIdentity = "iPhone Distribution: Tzamots (J3P5A3B6AS)"
 iosProvisioningProfile = "nGame_Dis (J3P5A3B6AS.com.tzamots.nGame)"
 iosSkipSigning = false
 stdoutFifo = ""
 stderrFifo = ""
 }

应用 ID 详细信息(来自 developer.apple.com)

名称: noniGame

前缀: J3P5A3B6AS

Prefix: J3P5A3B6AS

ID: com.tzamots.nGame

ID: com.tzamots.nGame

iOS 证书(来自 developer.apple.com)

1.

名称:Tzamots

类型:iOS 开发

2.

名称:Tzamots

类型:iOS 分发

iOS 配置文件(来自 developer.apple.com)

1.

名称:iOS 团队供应配置文件:com.tzamots.nGame

Name: iOS Team Provisioning Profile: com.tzamots.nGame

类型:开发

应用 ID noniGame (com.tzamots.nGame)

App ID noniGame (com.tzamots.nGame)

状态:活动(由 Xcode 管理)

Status: Active (Managed by Xcode)

2.

名称: nGame_Dev

类型:开发

应用 ID noniGame (com.tzamots.nGame)

App ID noniGame (com.tzamots.nGame)

状态:活动

3.

名称: nGame_Dis

类型:分发

应用 ID noniGame (com.tzamots.nGame)

App ID noniGame (com.tzamots.nGame)

状态:活动

应用信息(来自 iTunes Connect)

SKU: 123456

捆绑 ID: com.tzamots.nGame

Bundle ID: com.tzamots.nGame

钥匙串访问文件(在我的 Mac 上)

1.

名称:iPhone 开发者:Tzamots (W72YA5HF6K)

Name: iPhone Developer: Tzamots (W72YA5HF6K)

2.

名称: iPhone 发行版:Tzamots (J3P5A3B6AS)

Name: iPhone Distribution: Tzamots (J3P5A3B6AS)

推荐答案

所以..我终于解决了:)

So.. I finally solved it :)

我不得不从我的 iOS 目录中的 build.gradle 中删除代码,并将其替换到我的根目录下 project(":ios") 然后我更改了 iosSignIdentity 等于我的 Keychain Access 上显示的分发证书的名称,iosProvisioningProfile 等于 developer.apple.com 上的 iOS Provisioning Profiles 中显示的名称.

I had to remove the code from the build.gradle in my iOS directory and replace it in my root directory under project(":ios") then I changed the iosSignIdentity to be equal to the name of the distribution certificate as shown on my Keychain Access and the iosProvisioningProfile to the name shown in iOS Provisioning Profiles on developer.apple.com.

对于解决方案的第二部分(错误 1),我必须打开 iOS 根目录下的 robovm.properties 文件并更改 app.id 使其与我使用的一样在我的配置文件中

for the second part of the solution (Error 1) I had to open the robovm.properties file under the iOS root and to change the app.id so it will be like the one I used on my Provisioning Profile

这篇关于使用 RoboVM 将 App 上传到 Apple App Store 的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆