简体   繁体   English

0xE800003a当我尝试在设备上安装第二个应用程序时出错

[英]0xE800003a Error when I try to install a second app onto my device

0xE8000003A Error: 0xE8000003A错误:

I have developed AppOne for several weeks. 我已经开发了数周的AppOne。 I can debug on both the Simulator and on the device. 我可以在模拟器和设备上进行调试。

I now want to develop a small test app, AppTwo , with a feature which I later will port to AppOne. 我现在想开发一个小型测试应用程序AppTwo,该功能稍后将移植到AppOne。 This involves text entry into a TextView, so I definitely want to try AppTwo out on the device. 这涉及将文本输入到TextView中,因此我绝对想在设备上尝试AppTwo。

I can use the simulator fine, but each time I try to load AppTwo on the device I get 0xE8000003A Error: I clean all, I delete the build folder and still I get this error. 我可以很好地使用模拟器,但是每次尝试在设备上加载AppTwo时,都会得到0xE8000003A错误:我清理了所有内容,删除了构建文件夹,但仍然收到此错误。

My Provisioning Profile (PP) that I have been using, used the following appID : 2QUXJRP5YK.com.CompanyName.AppName 我一直在使用的配置文件(PP)使用以下appID:2QUXJRP5YK.com.CompanyName.AppName

I recently went to the portal and created a new PP hoping to solve this program the new PP has appID : 2QUXJRP5YK.com.CompanyName.* 我最近去了门户网站,创建了一个新的PP,希望解决这个程序,因为新的PP的appID为:2QUXJRP5YK.com.CompanyName。*

As I understand it, this PP will allow me to use the PP for any number of apps, not just the one named AppName 据我了解,此PP将允许我将PP用于所有数量的应用程序,而不仅仅是一个名为AppName的应用程序

In Organizer I now have both of the PPs listed in the Provisioning Profile List Box. 现在,在管理器中,我的两个PP都列在了Provisioning Profile List框中。 I believe this means both PPs are beening loaded onto the device. 我相信这意味着两个PP都已被加载到设备上。

I copied the Entitlements.plist from AppOne proj to AppTwo proj folder. 我将Entitlements.plist从AppOne proj复制到AppTwo proj文件夹。

The Build Configuration Page 1, for Architecture through CodeSigning there are zero differences between AppOne and AppTwo. 对于通过CodeSigning进行体系结构的Build Configuration Page 1,AppOne和AppTwo之间的差异为零。

Since AppTwo still works fine, it seems that I do not want to reset my device , but somehow tickle the Project Config for AppTwo. 由于AppTwo仍然可以正常工作,因此看来我不想重置设备,但不知何故为AppTwo设置了项目配置。

Do you have any advice for me, please? 请问您有什么建议吗?

Thanks very much, Mark 非常感谢,马克

Sometimes after adding entitltements/Bundle Identifier/provisioning for a new app, it's best to quit Xcode and relaunch. 有时在为新应用程序添加了诱因/捆绑标识符/配置之后,最好退出Xcode并重新启动。 This is the only way I can get Apple's samples to run without pulling my hair out. 这是我获得Apple的样品而又不用拔头发的唯一方法。 I add the Bundle Identifier, I change the code signing settings in the Build Info window, quit and relaunch. 我添加了Bundle Identifier,在Build Info窗口中更改了代码签名设置,退出并重新启动。

Taken from user Rapzid at the Unity Community: 来自Unity社区的用户Rapzid

In Xcode, right click on target and under the general(?) tab you will see a line about the developer or bundle identifier. 在Xcode中,右键单击target,然后在general(?)选项卡下,您将看到有关开发人员或捆绑包标识符的一行。 You need to make sure that it's correct. 您需要确保它是正确的。 If you restart xcode/unity/your iphone it might stop doing this. 如果重新启动xcode / unity /您的iPhone,它可能会停止执行此操作。 Otherwise you have to keep manually changing it everytime you build from unity. 否则,每次从统一构建时都必须继续手动更改它。

Make sure your bundle identifier is set in unity. 确保您的捆绑包标识符统一设置。 It's under edit->something->Player . 它在edit-> something-> Player下。 Then in the right main pane you will see the bundle identifier line. 然后,在右侧主窗格中,您将看到捆绑包标识符行。

Also, if your not using a wild card for your app IDs you will need a new provisioning profile. 另外,如果您没有为应用程序ID使用通配符,则需要一个新的配置文件。

Last night I got the same error, and battled with it for a couple of hours. 昨晚,我遇到了同样的错误,并与之抗争了几个小时。 I ended up creating the project from scratch again, crossed my fingers, and it synced up. 我最终再次从头开始创建了项目,用手指交叉,然后同步了。 Since its a simple test app, I would try and create a new dummy project that syncs, and then copy your code into it. 由于它是一个简单的测试应用程序,因此我将尝试创建一个新的虚拟项目进行同步,然后将您的代码复制到其中。 It doesn't take long to do and it may magically get things working for you. 它不需要很长时间就能完成,并且可能会神奇地为您工作。

Also, I believe that Entitlements.plist isn't needed until you start distributing. 另外,我认为在开始分发之前不需要Entitlements.plist。 In other words, you can install it on the device without it via XCode. 换句话说,您可以通过XCode在没有设备的情况下将其安装在设备上。

On another note, when I first started developing I got this error 100% of the time. 另外,当我第一次开始开发时,我100%的时候都遇到了这个错误。 Sometimes due to a bad or dirty pin on my iPhone, it will lose its connection (which would happen when I would pick it up to test). 有时由于我的iPhone上的针脚坏了或脏了,它会失去连接(当我拿起它进行测试时会发生这种情况)。 Now, I make sure that its connected in organizer. 现在,我确保将其连接到管理器中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 尝试将 iPhone 应用程序安装到我的开发设备上时出现“不正确的架构” - “Incorrect Architecture” when trying to install iPhone app onto my development device 我可以将为 iOS 模拟器构建的应用程序安装到第二个模拟器上吗? - Can I install an app built for iOS Simulator onto a second simulator? 无法在我的 iOS 设备上安装应用程序(“无法安装应用程序”错误) - Unable to install app on my iOS device ("unable to install the app" error) 关于将其安装到设备上时的ADHOC build -getting错误 - about ADHOC build -getting error when i install it to my device 我尝试编译我的应用程序时出现错误 - Im getting a error when I try and compile my app 尝试在设备上运行时JSQMessagesViewController构建错误 - JSQMessagesViewController build error when I try to run on device 我完成了我的应用程序,但是当我尝试运行模拟器时,此错误代码一直显示 - I finished my app, but this error code keeps showing up when I try to run the simulator 当我尝试通过iPhone为我的应用访问联系人时,kABAuthorizationStatusDenied? - kABAuthorizationStatusDenied when i try to access contacts from the iphone for my app? 在iPhone6设备上运行我的应用程序时出现错误 - Error appeared when running my App on iPhone6 device 我从我的应用程序中删除了flite文件,现在当我尝试重新导入它们时,我收到了一个错误 - I deleted flite files from my app and now when i try to re-import them, i'm getting an error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM