I have downloaded the xcode5_GM_seed and install it, but I cannot find iOS7 simulator in components.
Where can I find iOS 7 simulator?
XCode 5 comes with iOS 7 sdk and simulator automatically. However, since iOS 7 is not supported in old "iPhone" and supported in "iPhone Retina..." and "iPad.." so you need to select appropriate iOS simulator in your project... (your old/existing projects seems to be selecting to "iPhone" simulator)
Since iOS 7 does not support non-retina devices, you need to select one of the retina devices to see iOS7 simulator option.
If you can't find a simulator version you're looking for, chances are that you need to download it from the components section. Navigate to Preferences → Downloads and make sure you download all the simulator builds that you may need.
In Xcode preferences > downloads. But until the OS is released, you will need a paid ios developer account.
For Xcode 6:
In iOS Simulator, go to Hardware | Device | Manage Devices...
Click the + in the bottom left and choose whatever Simulator you want.
Related
Environment: Version 8.2 beta (8C30a)
My schema list only devices.
How do I change the iOS version in simulator?
I can see the available iOS Simulators...
...but they're not listed in the schema list.
Nor is their a way to discriminate amongst the iOS versions within schema manager.
The list of available simulators is dictated by three factors:
It will not show you simulators whose iOS version is prior to that of your current app's deployment target. If you want to see some recent, prior iOS simulators, make sure your app's deployment target is set accordingly.
If you go to Xcode "Preferences" - "Components", you can confirm which iOS simulators are installed on your machine.
In Xcode's "Devices" window (shift+command+2), as shown in the snapshot in your original question, you can configure particular simulator devices for your Xcode environment.
Open your xcode and press command + shift + 2.
Click on left bottom + button and your new simulator with required iOS version.
Click create, now you are ready to use the new simulator.
After adding the #availability & #availability flags which allowed me to get a successful compiled under and older distribution target, I noticed that the iOSes came back:
The new 9.1 simulator with Xcode 7.1 has the feature to simulate a force touch like the iPhone 6s / 6s+ but the option is greyed / disabled.
iOS Simulator > Hardware > Force Touch Pressure [disabled]
Screenshot for reference
Anybody know how to enable this option?.
Note: Im testing this on a iPhone 6s simulator
Simulator does not support interaction with iOS Devices using 3D Touch prior to Xcode 7.3. The menu item that you are referencing relates only to Apple Watch devices.
select simulator(watch) --> Hardware --> Force Touch Pressure --> Deep Press, and then click and hold on simulator, menu will be popup. you don't need to real device to test context menu.
On the Apple Developer website, it says:
NOTE
With Xcode 7.1 you must develop on a device that supports 3D Touch. Simulator in Xcode 7.1 does not support 3D Touch.
Apparently, the new Simulator 9.1 does not support 3D Touch. You can actually implement such a behavior but (unfortunately) you have to test it on real a device that supports 3D Touch.
I guess we all have to wait for the next issue of Xcode.
See here for similar discussion and way to test force touch only for quick actions (on the app icon).
It is true that by far (Xcode 10.1) iOS simulator still does not support 3D touch if your Mac doesn't have touchpad with this capability.
However, there are a few libraries like this that swizzle system's touch event handling and inject 3D touch feature. Of course, you don't want this code to be included in your production code to avoid being rejected on app's review, but you can certainly use this for development!
The library I mentioned works great for my Swift 4.1 project.
Installed the Xcode 7 beta. Can't run any code because Xcode only seems to allow me to choose "iOS Device" destination and none of the sim devices I would normally expect. The project is set to iOS 9.0 target and Universal. And it's a basic, new project.
Here's what I tried:
Changing the target to iOS 8.0, then I see sim devices. But I want to run iOS 9.0
Xcode Menu > Preferences > Downloads > only see iOS 8.3, 8.2 downloadable... don't see mention of iOS 9.0
Xcode Menu > Open Developer Tools. See option for iOS Simulator and iOS Simulator (Watch). If I open iOS Simulator (not the watch), it opens up iOS Simulator 9.0 but running a watch
So looks like the iOS 9 simulator is installed but only for the watch. Odd.
Xcode Menu > Preferences > Locations > switched Command Line Tools to Xcode 7.0
OK found it... go to window > devices, hit "+" there and add an iOS 9.0 simulator. Weird... don't remember ever having to do this before (the simulators for all the iOS version / physical device types) just were there automatically.
if your project deployment target is set to above 9.0, then you won't be able to see the list of simulators. You need to change the Xcode project deployment target to 8.0.
Found Solution,
Go to ~/Library/Developer/CoreSimulator and delete "devices" folder, And restart Xcode, Now you can see all simulators.
I installed Xcode 6 gm version. I created new project and I run it on iPhone 6 or iPhone 5s simulator with ios 8. Everything is fine.But When I simulate on iphone 5s deployment target ios 7.1.Device screen is not full screen.it runs like as 3.5inc screen.Do you know reason of that? Is it XCode 6's bug?
you should put launch screen for iphone 5 - 640x1136 named Default-568h#2x or use catalog assets alternatively.
Figured out a solution in my case
Go to General tab of project's target
Scroll down to App Icons and Launch Screens section
Click on Use Asset Catalog drop down option under Launch Images Source
In prompt choose Migrate - this will create LaunchImage category under .xcassets image set (default Images.xcassets in my case)
Launch the app - ifullscreen issue gone in my case
I have recently downloaded the testScrollView and WalkCycle examples from https://github.com/C4Code, but the dropdown window in the topmost toolbar lacks the option to select iPad simulator as the target device. Do I have to have something enabled in order for this menu to display correctly, or is this an issue of incompatibility between C4/XCode versions?
I recently upgraded to iOS 6, so all the projects I build and put up online will be targeted for iOS 6.0 simulator.
Check the following link, the answer there will show you how to change your settings so that it builds for the iOS 5.1 simulator:
Xcode 4 - IOS - Simulator not available as build target