UIActionSheet does not show in iOS 7.1 - ios-simulator

This is a result image once I call the code for [actionsheet showInview:self.view]in iOS 7.1 simulator.
This is a piece of code for iOS 8, works perfect, and for iOS 7.1, for which I am facing the issue.

Related

CSS is breaking in the iPad after updating IOS 13.4 Beta version

We developed an iPad application, and
After upgrading 13.4 we saw that few CSS is breaking like ngx bootstrap modal, radio button Textbox
We are using
"typescript": "~3.5.3"
"Cordova": "^9.0.0",
"cordova-ios": "^5.0.0",
"ngx-bootstrap": "^4.1.1",
Below IOS 13.4 version everything works fine, we strongly believe its not a code issue because we have tested the app in iPad Safari browser with same IOS 13.4 beta version everything works perfectly but breaks only when we install the app (dmg file)
We are still not sure why this is breaking the code. is this because of Cordova or ngxBootstrap or any other issue
Does anyone facing any similar issue? can we expect a fix from IOS itself after IOS 13.4 public release?
Any little information about this would be helpful.

Can't add an iOS 9.3 iPad Pro (9.7-inch) simulator in Xcode 8

I recently downloaded the Xcode 8 beta and as I was adding iOS 10 simulators, I noticed I didn't have a simulator (9.3 or 10.0) for the 9.7-inch iPad Pro. I added the iOS 10 simulator, but when I tried to add a 9.3 simulator, I saw that that wasn't an option for the iPad Pro (9.7-inch; the 12.9-inch works fine).
Is this intended, or is it a bug, or am I doing something wrong?
Thanks in advance!
There's no functional difference between the iPad Pro 9.7" in the iOS 9.3 Simulator and the iPad Air 2 in the iOS 9.3 Simulator. The differences only manifest (in the simulator) in iOS 10. Thus, there was no reason to add it for iOS 9.3 (and Xcode 7.3).

XCode 7.0.1 showing 8.4 simulator as downloaded, but it is not available in drop down list

XCode 7.0.1 shows the iOS 8.4 and 8.3 Simulators as already downloaded. But the iOS 8.4 simulator is not available to create new simulator instances in the drop down menu.
The iOS 8.3 simulator works as expected.
I would like to redownload this simulator to see if that makes it functional.
I found similar situations for XCode 6, but those solutions do not seem to work with XCode 7.0.1.
The iOS 8.3 simulator works just fine.
Output of "xcrun simctl list"
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
== Runtimes ==
iOS 7.1 (7.1 - 11D167) (com.apple.CoreSimulator.SimRuntime.iOS-7-1) (unavailable, failed to open liblaunch_sim.dylib)
iOS 8.1 (8.1 - 12B411) (com.apple.CoreSimulator.SimRuntime.iOS-8-1) (unavailable, failed to open liblaunch_sim.dylib)
iOS 8.2 (8.2 - 12D508) (com.apple.CoreSimulator.SimRuntime.iOS-8-2) (unavailable, failed to open liblaunch_sim.dylib)
iOS 8.3 (8.3 - 12F70) (com.apple.CoreSimulator.SimRuntime.iOS-8-3)
iOS 9.0 (9.0 - 13A340) (com.apple.CoreSimulator.SimRuntime.iOS-9-0)
watchOS 2.0 (2.0 - 13S343) (com.apple.CoreSimulator.SimRuntime.watchOS-2-0)
== Devices ==
-- iOS 7.1 --
-- iOS 8.1 --
Resizable iPad (A4954C9D-8B9A-4F8F-8527-5B3FFF3C38C4) (Shutdown) (unavailable, device type profile not found)
Resizable iPhone (04586F63-3C12-40F7-B5DC-38933ED4C468) (Shutdown) (unavailable, device type profile not found)
-- iOS 8.2 --
Resizable iPad (1A09F236-AE84-47BB-B83F-F9A37DC77A27) (Shutdown) (unavailable, device type profile not found)
Resizable iPhone (AF1776A0-03CF-49F7-B50C-33AAFE49A8C6) (Shutdown) (unavailable, device type profile not found)
-- iOS 8.3 --
Resizable iPad (F8D8DF8E-BA5E-4C56-AEE4-11D7D4B89B6C) (Shutdown) (unavailable, device type profile not found)
Resizable iPhone (DFFC3E78-E340-433E-B06C-0E8F12A46496) (Shutdown) (unavailable, device type profile not found)
-- iOS 9.0 --
iPhone 5 (AB9992C0-D015-4E41-B3EA-04BA7981B609) (Shutdown)
iPad 2 (31F97C8D-7324-4922-ACAC-579C0FDDA8E8) (Booted)
-- watchOS 2.0 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-8-4 --
Resizable iPad (5474A95A-D3A9-43BA-8CD1-C3DCA435C63D) (Shutdown) (unavailable, runtime profile not found)
Resizable iPhone (241D1154-C8CB-4E05-9D7F-C4C14586A42D) (Shutdown) (unavailable, runtime profile not found)
== Device Pairs ==
Posting the steps here in case anyone else has similar issues and also to mark this as answered.
There was a zero byte iOS 8.4.simruntime file in /Library/Developer/CoreSimulator/Profiles/Runtimes.
Deleting that file enabled the option to redownload the 8.4 simulator from the Preferences/Downloads screen. However, the simulator that was created from this action was reporting as 8.4 but was in fact 9.0
Deleting all the simulators using the XCode/Window/Devices screen and then rebooting the computer enabled being able to create a simulator that is the correct version.
Thanks to all who contributed ideas
Maybe try this from the location of dmg files in apple.com:
http://devimages.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK8_4-8.4.1.1435785476.dmg

xcode7 not showing simulator iOS 9.0 destination options

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.

Why do the C4 github examples lack support for an iPad simulator?

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

Resources