[英]iOS - app works on device but not on simulator (anymore)
I know already that there are topics like that, but nothing helped in my case ... 我已经知道有这样的话题,但对我来说没有任何帮助...
Here the info: 这里的信息:
The app worked both on simulator and device the whole time. 该应用程序始终可在模拟器和设备上运行。 I renamed the project recently into another name. 我最近将项目重命名为另一个名称。 Still worked both fine. 仍然都很好。 Today I realized that it didn't change the folder name and then it couldn't run anymore because it had somewhere the location saved from before. 今天,我意识到它并没有更改文件夹名称,然后就无法运行,因为它具有以前保存过的位置。 Then I gave the folder the old name again and it could build and run it on the device again. 然后,我再次给该文件夹起了旧名称,它可以再次构建并在设备上运行。 But weirdly enough it doesn't run on the simulator anymore. 但是奇怪的是它不再在模拟器上运行。
Funny thing is also that it said that the profiles were expiring, which weren't even related to that project so I deleted them. 有趣的是,它说配置文件即将到期,甚至与该项目都不相关,因此我删除了它们。 No errors, nothing. 没有错误,没事。 It just builds and directly finishes on the simulator. 它只是在模拟器上构建并直接完成。
The app is build for iOS6 and doesn't support earlier versions. 该应用程序是为iOS6构建的,不支持早期版本。 So it can't be the armv6 armv7 architecture problem ... 所以这不可能是armv6 armv7体系结构的问题...
What I also tried is the following: I zip every bigger version change and save it on an external HD (in case anything dies) and also have it uploaded at bitbucket. 我还尝试了以下操作:我压缩每个较大的版本更改并将其保存在外部HD(以防万一),也将其上传到bitbucket。 I reset my project to those old working versions and it neither ran on the Simulator. 我将项目重置为那些旧的工作版本,并且该项目均未在模拟器上运行。
Thanks in advance for further tips! 在此先感谢您提供其他提示!
I guess the problem should be in your simulator but not necessarily in your app. 我想问题应该出在您的模拟器中,而不一定是您的应用中。 Please have a try to: 请尝试:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.