English 中文(简体)
XCode未能在装置上运行,说正在破碎的方案没有运行。
原标题:XCode fails to run app on device, saying the program being debugged is not being run
  • 时间:2009-11-13 04:42:16
  •  标签:
  • iphone
  • xcode

我跑了X条码,试图把我的手套放在我的电话上。 I m 获取错误信息:“正在设计的方案没有运行”。

最佳回答

解决办法是,在我的电话与我的计算机连接时,用X条码机组窗从我的电话中删除我的制作人提供情况简介,然后重述我的制作人提供情况简介,我再从开发商下载。

问题回答

只是在我从装置中删除了另一个与规定的过期无关的提供简介时,我才为我工作。 Very weird.

我为解决这一问题而需要做的都是把我的装置重新boot。

我也曾几次遇到过这个问题,我认为我刚刚结束(几个月之后)就把我的头部围绕 Apple果逻辑。

在制定时,通常必须使用新的提供情况说明;这常常是因为你增加了新的测试者,或者一个老的测试者。 因此,你在你的提供情况说明中添加新的用户数据,下载,然后将数据输入X码。

然后,你点击了您的项目(或目标)的环境,并告诉它如何利用这一新的分发情况。 你可能像我所做的那样,利用“组合”下的“所有组合”。 谁。

这样做是为了把你的资助概况与所有汇编组合联系起来。 但是,分发情况没有变化。 你们必须保证,你不会凌驾于你的精彩组合之下。 如果你这样做,就回到你的项目,选择组合下的“建议”,并选择适当的DEVELOPER简介汇编。

希望,gu。 - 退伍军人协会

为了确定这一点,我删除了我用x条编码对配器使用过的最后一段,然后又重新建造了我目前的手表,并做了一些细微的工作。

另一些建议对我来说也不可行。

在我改变了应享权利中的“申请身份验证人”之后,它开始工作。 申请人名单见《提供情况简介》。 缺额是(AppIdentifier Prefix)美元,我改为“H2GC99UNHN.au.com.mydomain.myappname”。

The Xcode default: $(AppIdentifierPrefix)$(CFBundleIdentifier) would work if those variables resolved correctly. CFBundleIdentifier refers to the "Bundle identifier" in your Info.plist. I never found out where to set the AppIdentifierPrefix which should be something like H2GC99UNHN.

在X条码中找到你的申请,然后是组织者。 在正确的特设提供简介上,申请认证员是财产之一。

PS:为了在我的测试装置上获得用具,我正在Xcode中使用“Build和Run”(我不了解任何更好的情况)。 但是,由于我删除了我的贝塔组合中的欺骗符号,因此,该部分将失败。 只是让部分失败了,然后手工重开。

如果所签名的复制件与简介有关,并通过复制件取得证明,这种错误就有意义。

对于那些在尝试上述所有措施之后仍在犯这一错误的人来说,以下解决办法在我发现错误之后就对我定了。

我确实在监狱发展,因此绕过了强制性法规的签署,我已经根据/Developer/Platforms/iPhoneOS.platform修改了XCode sfo.plist。

为纠正错误,仅重述这些改动:用XCiPhoneOSCodeSignContext,将XCCodeSignContext的所有案例替换为SID.plist。

你们应当检查你使用什么证书,记住使用开发商的规定,对你的装置进行欺骗,并确保所有配置都进行。

我有两个发展者身份(工作和家庭),利用同样的发展手段。 我在家中还使用野生生物卡片标识(xxxxxxxx*),我经常使用同一特征建造不同的仪器。 有时,当我把地点(例如从工作转向家)时,我会发现上述错误。

从装置中删除和重置开发商的简介,从 Apple果中重载简介,重新启用装置(在各种组合中),对我来说没有解决问题。

能够操作和重新铺设装置的是:

  • go to project settings in Xcode (double-click project name)
  • search for "identity" to find the setting "Code Signing Identity" / "Any iOS"
  • tick "iPhone Developer: My Name (mydevid)" under the section for my home profile (for Application Identifiers * )
  • do not tick "iPhone Developer:" under "Automatic Profile Selector", even if it "currently matches" the same developer ID and profile

(I also quit Xcode and do rm -rfbuilding, 但可能不需要。)

我在安装了一台向我的装置分发的AdHoc器后就发生了这种情况。 我不得不恢复这一装置,以便再次进行夸张的工作。

我遇到同样的麻烦,而且上述任何工作都不可行(甚至放弃/恢复装置)。

然后,我看并看到,我错误地设定了“all>/em>我的目标,以利用代议分发情况。 哪怕是支持 de。

另见i 电话 偷窃: 如何解决未能完成进程的任务?

我只得把我的器具放下,重新启用。

我以这一命令试图:

  1. Delete app in Xcode.
  2. Delete build folder in Finder.
  3. Restart device.

只有3人为我工作。

imp: My Provisoning profiles are valid for almost a year and there was no reason for them to expire (I even cross-checked them to be doubly sure :)). If this hadn t work, I would have checked - as someone rightly suggested, if Developer provisioning profile was being used - which was, in my case.

Ah,最新版本:我有核心项目框架。 我的旧发展简介已经过期,我把新形象蒙上阴影,以最新的形象改变了该项目,但我有这种错误。

因此,我需要开放核心-Plot框架项目本身,改变在那里签字的法典,以更新情况,建立这一框架,回到我的原项目,重建这一框架,然后,所有项目都开始重新进行罚款。

我最后删除了我确定这一血亲头痛的目标。 添加一个新的目标,右翼目标,“新目标”,应用。





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...