XCode导出应用程序,通配符错误 [英] XCode export app, wildcard error

查看:133
本文介绍了XCode导出应用程序,通配符错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个用于内部发布的Swift iOS应用程序,我在导出应用程序时遇到问题 - 我得到:通配符应用程序ID不能用于创建内部配置文件。请使用显式应用程序ID。

I am developing a Swift iOS app for in-house distribution and I am having trouble exporting the app - I get: "Wildcard App IDs can not be used to create In House provisioning profiles. Please use an Explicit App ID."

在会员中心,我创建了一个明确的应用ID:

In the Member Center, I have created an explicit App ID:

在会员中心,我也创建了用于分发的iOS配置文件:

In the Member Center, I have also created an iOS Provisioning Profile for Distribution:

在XCode中,我已经下载了分发配置文件(在优先级下) nces>账户):

In XCode, I have downloaded the distribution provisioning profile (under preferences > Accounts):

这是一个Swift iOS应用程序(我的第一个),我正在尝试导出应用程序(.ipa& .plist文件),以便我可以从Intranet站点部署它。注意:我没有MDM(此时我也不想购买)。 Xcode版本:7.2.1。

This is a Swift iOS app (my first) and I am trying to export the app (.ipa & .plist file), so that I can deploy it from an Intranet site. Note: I do not have an MDM (nor do I want to purchase one at this time). Xcode version: 7.2.1.

我缺少什么?

编辑2/15 / 2016年: SO帖子是一个类似的问题,但那里概述的步骤并没有解决我的问题。

Edit 2/15/2016: This SO Post is about a similar issue, but the steps outlined there did not resolve the issue for me.

推荐答案

我遇到了同样的问题,几乎花了一天时间来解决问题。

I faced the same problem and almost spent one day to solve the problem.

当我遇到问题时,我认为这是与无效的分发证书或配置文件相关的错误。我更新了证书和所有其他东西。什么都没有用!证书和配置文件都不是根本原因。

When I encountered the problem, I thought it was an error related with invalid distribution certificate or provisioning profile. I renewed certificates and all other stuff. Nothing worked! Neither certificates nor provisioning profiles were the root cause.

我见过公告。 Apple的WWDR证书即将到期,并且该页面上提供了最新版本。我更新了证书并且它有效!

I have seen an announcement on Apple Developer page. Apple's WWDR Certificate was expiring and newest one available on that page. I updated that certificate and it worked!

您应遵循的步骤:


  1. 打开钥匙串从证书中访问并删除过期的 Apple全球开发者关系证书颁发机构

  2. 按照建议下载新证书。

  3. 确保 Apple全球开发者关系认证中心位于系统下钥匙串,不登录

  4. 打开 XCode (如果已经,关闭然后再打开)

  5. 清理项目。

  6. 选择有效的签名证书和配置文件。 (您不需要根据建议的公告刷新您的证书或个人资料)

  7. 点击存档按钮!

  1. Open Keychain Access and remove expired Apple Worldwide Developer Relations Certification Authority from certificates.
  2. Download new certificate as suggested.
  3. Be sure that Apple Worldwide Developer Relations Certification Authority is located under Systems keychain, not in login.
  4. Open XCode (If already, close and then open)
  5. Clean your project.
  6. Select your valid signing certificates and provisioning profiles. (You don't need to refresh your certificates or profiles as annoucement suggested)
  7. Hit Archive button!

希望这可以帮助别人。

这篇关于XCode导出应用程序,通配符错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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