gpt4 book ai didi

android - 使用 RoboVM 将 App 上传到 Apple 的 App Store 时出现问题

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:04:10 27 4
gpt4 key购买 nike

我正在使用 Eclipse、libGDX 1.2.0 和 RoboVM 0.0.14。

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

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

谢谢。

下面你会发现:

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

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

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."

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 = ""
}

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

Name: noniGame

Prefix: J3P5A3B6AS

ID: com.tzamots.nGame

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

1.

Name: Tzamots

Type: iOS Development

2.

Name: Tzamots

Type: iOS Distribution

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

1.

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

Type: Development

App ID noniGame (com.tzamots.nGame)

Status: Active (Managed by Xcode)

2.

Name: nGame_Dev

Type: Development

App ID noniGame (com.tzamots.nGame)

Status: Active

3.

Name: nGame_Dis

Type: Distribution

App ID noniGame (com.tzamots.nGame)

Status: Active

应用信息(来自 itunes connect)

SKU: 123456

Bundle ID: com.tzamots.nGame

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

1.

Name: iPhone Developer: Tzamots (W72YA5HF6K)

2.

Name: iPhone Distribution: Tzamots (J3P5A3B6AS)

最佳答案

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

我必须从我的 iOS 目录中的 build.gradle 中删除代码,并将其替换到 project(":ios") 下的根目录中,然后我更改了 iosSignIdentity 等于分发证书的名称,如我的钥匙串(keychain)访问中所示,iosProvisioningProfile 等于 developer.apple.com 上的 iOS 配置文件中显示的名称。

对于解决方案的第二部分(错误 1),我必须打开 iOS 根目录下的 robovm.properties 文件并更改 app.id,这样它就会像我使用的那样在我的配置文件上

关于android - 使用 RoboVM 将 App 上传到 Apple 的 App Store 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25460154/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com