I open my project in Xcode 6.1. When I try to run the project, the button is grayed out. When I try to go to Product > Clean
, the option is grayed out. When I look at the list of simulators, all I get is My Mac
instead of the usually iOS Device
. How do I get my simulators to come back?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
Make sure that the project you are trying to run has
deployment target
equal to or less then the SDK version of your Xcode. In my case I tried to run a project which was built usingiOS8.4
but I have Xcode6.1 with SDK version 8.1I changed the deployment target to 8.1 and it start showing me simulators.
P.S before doing this, make sure that your code and external libraries are compatible with your new deployment target, else you have to update your Xcode.
Try This, It worked like a charm! for me,
Follow below step
1) Clean Derived Data as show below,
2) In Deployment Info change Deployment Target
It's equal to or less then the SDK version of Xcode
3) Quit Xcode
4) Reopen Xcode you will see list of simulators
Hope this is help for some one.
I had this happen to me after an update to a new Xcode. Running
fixed it for me.
In my case I had created a static library target for tvOS in Xcode 8.3.3, and the tvOS simulator was not showing up in the list. Eventually found out that
TARGETED_DEVICE_FAMILY
in the Build Settings was set to1,2
instead of3
. Leaving this here incase anyone else encounters the same problem.Check if in the app store under xcode it says GET instead of installed, delete your current version and get the new one
Small but a effective solution. In my case i updated to my xcode to 9.2 version and simulators disappeared.
I found this solution and it worked for me and for others also.
**
**