[英]Xcode 8 no longer builds to device
I'm currently running Xcode 8.1 beta and have a stable release of Xcode 8 installed as well. 我目前正在运行Xcode 8.1 beta,并且还安装了稳定的Xcode 8版本。
Out of nowhere, without modifying any code inside the project, I am unable to build my project and run on a device. 无论如何,如果不修改项目内部的任何代码,我将无法构建项目并在设备上运行。
iOS version is 10.1 beta but the issue was not present when originally working with this version. iOS版本是10.1 Beta,但最初使用此版本时不存在此问题。
Xcode 8 and 8.1 are experiencing the same issue and I previously did not have a problem running the project on a physical device. Xcode 8和8.1遇到相同的问题,我以前在物理设备上运行项目时也没有遇到问题。
The provisioning profiles were up to date and I created new ones throughout the troubleshooting process. 供应配置文件是最新的,我在故障排除过程中创建了新的配置文件。
I have also gone through the basic troubleshooting options (restart the machine, restart the device, cleaned project, tried different lightning cable/USB port, reinstalled Xcode, and deleted Xcode preference files). 我还介绍了基本的故障排除选项(重新启动计算机,重新启动设备,清理项目,尝试使用其他避雷线/ USB端口,重新安装Xcode和删除Xcode首选项文件)。
The project builds and runs very quickly to the simulator and when attempting to run on the device I received no errors. 该项目可以快速构建并运行到模拟器,并且在尝试在设备上运行时,我没有收到任何错误。
When trying to run on a device, the build goes through the first tenth of the process and just sits there until I cancel it. 当尝试在设备上运行时,构建过程将经历该过程的前十分之一,并且一直停留在该位置,直到我取消它为止。
I've even created new test projects to test against a known good and the issue persists. 我什至创建了新的测试项目来对已知商品进行测试,问题仍然存在。
If anyone has experienced, a similar issue your insight would be greatly appreciated. 如果有人遇到过类似的问题,将不胜感激。
我遇到了同样的问题,但安装了最新的Xcode 8.1,问题已解决
The issue ended up being with a large number of dictionaries. 最终,这个问题伴随着大量的词典。 The compiler was attempting to go through a rather large number of dictionaries and was unable to complete. 编译器正在尝试阅读大量词典,但无法完成。 I restructured my data model and the issue was resolved. 我重组了数据模型,问题得以解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.