In the CoreServices.h the #include <OSServices/OSServices.h>
(specifically not found) is causing a problem, which is preventing me from running the 64-bit simulator.
在CoreServices.h中,#include
"Lexical or Preprocessor Issue" OSServices/OSServices.h is not found
找不到“词法或预处理器问题”OSServices / OSServices.h
Seems like a lot of people are having this problem and I can't seem to find a solution.
好像很多人都有这个问题,我似乎无法找到解决方案。
Any help?
有帮助吗?
1 个解决方案
#1
1
If your Xcode is showing "My Mac 64-bit” as your current device, then this is a/the problem. First see if your iOS Simulator is available in the dropdown list. If not, then your project file has changed, potentially corrupted. Close Xcode and re-open, if this doesn't fix it, then look within your Project settings, and change it so that the Project is for iOS (this may require trial and error).
如果您的Xcode显示“我的Mac 64位”作为您当前的设备,那么这是一个/问题。首先看看您的iOS模拟器是否在下拉列表中可用。如果没有,那么您的项目文件已更改,可能已损坏关闭Xcode并重新打开,如果这不能修复它,那么在你的项目设置中查看,并更改它以便项目适用于iOS(这可能需要试用和错误)。
Once that's fixed, if you keep getting CoreServices issues, make sure the CoreServices framework is imported in your project (check through Project settings).
一旦修复,如果您不断遇到CoreServices问题,请确保在项目中导入CoreServices框架(通过项目设置检查)。
#1
1
If your Xcode is showing "My Mac 64-bit” as your current device, then this is a/the problem. First see if your iOS Simulator is available in the dropdown list. If not, then your project file has changed, potentially corrupted. Close Xcode and re-open, if this doesn't fix it, then look within your Project settings, and change it so that the Project is for iOS (this may require trial and error).
如果您的Xcode显示“我的Mac 64位”作为您当前的设备,那么这是一个/问题。首先看看您的iOS模拟器是否在下拉列表中可用。如果没有,那么您的项目文件已更改,可能已损坏关闭Xcode并重新打开,如果这不能修复它,那么在你的项目设置中查看,并更改它以便项目适用于iOS(这可能需要试用和错误)。
Once that's fixed, if you keep getting CoreServices issues, make sure the CoreServices framework is imported in your project (check through Project settings).
一旦修复,如果您不断遇到CoreServices问题,请确保在项目中导入CoreServices框架(通过项目设置检查)。