From where to download os 6 simulator in xcode 5 - iphone

I am new in iphone development .I downloaded xcode 5 in which os 7 simulator inbuild come.But I need os 5 and os 6 simulator from where I will download ?

Click Xcode->preferences, then Downloads tab and it should be under components.

Choose XCode top menu, select Preferences, choose Downloads and here you should be able to see list of components to install.

Go to the "Set the active scheme" in the upper-left corner, and click [More Simulators...] item; Downloads dialog will open. Under the "Components" group, choose the simulator that you would like to install, and double-click the down arrow.

Related

Disable iPhone backup in Catalina

In OSX before Catalina we could use:
defaults write com.apple.iTunes DeviceBackupsDisabled -bool true
to disable iPhone backups
Does anyone know how to disable in Catalina?
Set the privilege to Read only for the Backup folder (~/Library/Application Support/MobileSync/Backup).
I got a solution for this.
update mac OS to 10.15.1
Then uncheck above option called 'Automatically sync when this iPhone is connected'
Connect your device to your Mac.
In the Finder on your Mac, select the device (your iPhone) in the Finder sidebar.
Select General in the button bar.
[ ] Automatically sync when this iPhone is connected - UNCHECK
Automatically sync when this [device] is connected: To automatically sync when you connect your device, select this tickbox.
Click Apply.
In case a case happens:
When clicking on it to uncheck, then nothing happens besides the Apply button turning grayed out, rendering it totally useless. When coming back to the devices, it's checked and it syncs.
Solution:
Open Activity Monitor
Find process AppleMobileBackup and select it or click on it to be highlighted
Go to menu View→ Quit Process (Alt/Option +  Apple/Command-Cmd + Q → shortcut: ⌥⌘Q )
Press Force Quit
Wait a few seconds and you will be able to press Apply button to turn off automatic sync.
Unchecking doesn't work. every time I reconnect the iPhone it has all the default tick boxes checked - including "Automatically sync when this iPhone is connected" There is no way to prevent Apple from forcing you to sync via finder.

Xcode 11 pin menu for Auto Layout is missing (under Main.storyboard) - only on this project

Xcode 11 is missing the Pin menu for Auto sizing on the lower right of the screen - same line as the device emulator name display.
Recent backups have the same problem. Backup from two weeks ago, for this project, show the Pin menu for Auto layout, but prefer not to go that far back.
I looked at the Main.layout file in the text editor saw nothing interesting, but I have no knowledge what it should look like,
I Used Terminal command: spctl --assess --verbose /Applications/Xcode.app
It shows I have a valid version of Xcode.
Stackoverflow has answers on this problem from several versions ago, that do not work with current xcode 11.2.1.
It is a Swift, iPhone + Apple Watch project.
The solution: Check the box for "Use Auto Layout" in the file inspector. 1) Click on the Main.storyboard., 1) Right-click on the Main.storyboard. 2) Click on "Show File Inspector" This may or may not show you the "Interface Builder Document". It should bring up your right Pane if it was closed. 3) Click on one of the controls on your story board, this should bring up the "Use Auto Layout" if it was not already displayed. 4) Check the "Use Auto Layout". You should now have your Pin Auto Layout buttons.

Where are the Organizer and Breakpoints buttons in the workspace toolbar of XCode 5?

I used to use very often the Organzier and Breakpoints button in the toolbar of XCode. The first simple opens the organizer with one click the second switches off or on all breakpoints in the project. But in XCode 5 I can not find these buttons. The help of XCode 5 still talks about these buttons but they are neither on the screenshot in the same documents neither in XCode. Somebody knows how to bring these buttons back?
the Organizer button is removed from XCode 5. And for Breakpoints button, have a look at this image: Have a look
There are no icons that show in the toolbar for Organizer and break points:
cmd + y to enable breakpoints, and
cmd + shift + 2 for Organizer
Finally found it! You can get to the documentation window from the Help Menu.

Take iPhone App Screenshot from Organizer

How do I take iPhone App Screenshot from Organizer? I mean in XCode, what profile should I select and what settings/values?
You're over thinking this. Just open the organizer, select the attached device, click on the "Screenshots" tab, and click "Take Screenshot".
To find the files later, by default they are saved in
Library/Application\ Support/Developer/Shared/Xcode/Screenshots/

Screenshot of currently running application on IPhone

On the IPhone, is it possible to get a screenshot of the currently running application, from another application that is running/backgrounded/being launched? or somehow make available a screenshot of the current application to another application that is then automatically launched?
No it is not possible. It is not possible to know anything about another apps in iOS (if you're using documented methods).
This is possible using Xcode's Organizer:
in Xcode, select "Window" menu and then "Organizer"
in the newOrganizer window, select "Devices"
select your iPhone device and unfold
select "Screenshots" at the bottom of the list
now click on the "New screenshot" button (bottom right of the window)
You can export screenshots just by drag/drop on your desktop.