iphone 应用程序不想构建我的 ipa

发布于 2024-12-27 01:42:58 字数 1078 浏览 1 评论 0 原文

我想在设备上测试我的应用程序,因此我在门户上对我的设备进行编码, 我在临时模式下创建了一个新的分发配置文件。我下载了, 并将其安装到我的 XCODE 上。

我检查了有关项目和目标的信息(所有听起来都正确,但我不是这些配置的专家):

第一枪 第二次拍摄

当我构建配置时(appname>IOS设备旁边“播放”按钮),它给我:

error: error reading property list '/Users/...iphone application V1.0/e-mars/emars.entitlements' - property list has no object
Command builtin-productPackagingUtility failed with exit code 1

你能帮我吗?

*编辑:* 产品:构建:当我选择 emars > 时运行构建分析(以及使用模拟器的正常构建)播放按钮旁边的 iPhone 模拟器

*编辑 2:* 我尝试更改捆绑包标识符: 我有 com.elsingor.${PRODUCT_NAME:rfc1034identifier} 并放置了 com.elsingor,但这是同样的问题...

编辑 3 我创建了一个新的权利,并编辑 plist 中对新权利的引用,然后... 现在,我通过单击“构建”进行归档,使用 myApName>IOS 设备进行构建。

我又遇到问题了;我在管理器中没有看到存档!请帮助我:-/

最终编辑:

我尝试简单地按 Build instread of build > >建立档案,它对我有用!

I want to test my app on a device, so I encode my device on the portal,
I made a new a distribution provisioning profile on ad-hoc mode. I download it,
and install it on my XCODE.

I checked on the informations about project and targets (all sounds correct but I'm not a specialist of those configuration) :

first shot second shot

And When I build for provisionning (with appname>IOS Device next to the "Play" button), it gives me :

error: error reading property list '/Users/...iphone application V1.0/e-mars/emars.entitlements' - property list has no object
Command builtin-productPackagingUtility failed with exit code 1

Could you please help me?

*EDIT : *
Product : Build for : Build for Profiling (and normal build with the emulator) run when I select emars > iPhone Simulator next to the play button

*EDIT 2 : *
I've tried to change the Bundle identifier :
I had com.elsingor.${PRODUCT_NAME:rfc1034identifier} and I put com.elsingor but it's the same issue...

EDIT 3
I'va created a new Entitlements and edit the reference in the plist to the new entitlements and...
Now I build with myApName>IOS Device on clicking on Build for archiving.

I again have a problem; I didn't see the Archive in the Organizer! Please help me :-/

FINAL EDIT :

I tried to press simply Build instread of build > build archive and it works for me !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

疯到世界奔溃 2025-01-03 01:42:58

我按照本教程进行了临时构建
http://www.musicalgeometry.com/?p=1237

但你当然可以另请查看 testflightapps.com 上的文档
http://support.testflightapp.com/ kb/tutorials/how-to-create-an-ipa-xcode-4

您将在第一篇文章中看到他们谈论创建 entitlements.plist 文件,也许这就是您的问题所在。我还想说,因为我遇到了这个问题,当一切都完成并且“存档”的时候,请确保未选择模拟器。需要选择 iOS 设备才能存档,以免灰显。
使用 Xcode 4 进行 iPhone 即席构建

我从未进行过即席构建就其本身而言,我总是使用 testflightapps.com 来分发(因此为此您还需要分发证书)我的应用程序,我建议使用它们。总的来说,这是一个相当简单的过程,而且他们确实有免费帐户,因此没有理由不使用他们的服务。

i followed this tutorial to do my ad hoc builds
http://www.musicalgeometry.com/?p=1237

but you can of course also take a look at the documentation at testflightapps.com
http://support.testflightapp.com/kb/tutorials/how-to-create-an-ipa-xcode-4

you will see in the first post they talk about creating an entitlements.plist file and maybe thats where your problems is. i would also say because i ran into this problem, when everything is done and its time to "Archive" make sure the simulator is not selected. iOS Device needs to be selected for Archive to not be greyed out.
iPhone ad hoc build using Xcode 4

i have never done an adhoc build on its own, i always use testflightapps.com to distribute (so for this you will need a distribution cert as well) my apps and i recommend using them. Overall it was a fairly simple process and they do have free accounts so theres no reason not to use their service.

半葬歌 2025-01-03 01:42:58

如果您想在您的设备上进行测试,请进行开发构建而不是临时构建。

转至开发中心的 iOS 配置门户 (https://developer.apple.com)

1) 首先您需要添加设备。

2) 创建开发配置文件 - 包含此设备。

3)下载并安装在xcode中。

4) 在项目和目标构建设置的代码签名部分中选择此配置文件

5) 将您的设备连接到您正在使用的计算机

6) 选择与您的设备相对应的方案设备(如果您有 iPhone,它将读取
iPhone your.ios.version)

7) 点击运行 - 代码将构建、在您的设备上安装应用程序、运行它并连接调试器。

If you want to test on your device, do a development build instead of adhoc.

Go to the iOS Provisioning Portal in the dev center (https://developer.apple.com)

1) First you need to add your device.

2) Create a Development Profile - include this device in it.

3) Download and install in xcode.

4) Select this profile in the Code Signing section of Project and Target Build Settings

5) Connect your device to the computer you are working on

6) Select scheme that corresponds to your device (if you have an iphone it will Read
iPhone your.ios.version)

7) Hit Run - the code will build, install the app on your device, run it and will connect the debugger.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文