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/
Related
I've just noticed that I can't read the Creation and Expiration dates of profiles in the Xcode Organizer. I don't seem able to change the width of these gui fields in organizer and the dates display as 14/03/... instead of 14/03/13 for example.
The only solution I found is:
- press CTRL and select the profile with mouse (you should get menu)
- select Reveal Profile in Finder (works only with profiles in the Library, not stored on the device)
- open the profile in Finder with Other... and select TextEdit
The creation date is visible once opened in TextEdit.
For profiles stored on the phone you can of course open Settings -> General -> Profiles -> particular profile and view the date there.
Edit: Ah, just found the hidden shortcut in XCode. Simply however over the date and press left Shift.
How do I profile my app in xcode - the menu item is disabled?
Product > Profile is disabled
This is very unlikely but still, one possible reason:
Make sure correct 'Executable' is selected in 'Profile' option for your Scheme. If the selected executable is 'None', profile option will be disabled.
In case you don't know how to check scheme settings, you can check these setting by selecting 'Edit Scheme' either from Scheme menu (App name and device/simulator drop downs near the Run and Stop button ) or from 'Product' menu of xcode
My profile menu item was also dimmed.
I realized I had disconnected my iPhone from my Mac which broke the product destination link. If you've been testing on your phone, try resetting the product destination.
If the phone doesn't show up in the Product/Destination submenu do the following:
Run a terminal session.
In terminal type the following:
sudo launchctl stop com.apple.usbmuxd
Unplug and replug your phone to your Mac.
If your phone still doesn't appear in the Product/Destination submenu, restart Xcode and repeat step three.
Set your phone in the Product/Destination submenu.
Your Profile menu item should be undimmed.
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.
I am testing with iPhone simulator and I want to get the message to allow or not the user location. My problem is that I have clicked once (to test it) the no button with the Do not show this message again checked. How can I get it again?
Thanks for reading.
Now I have the answer to this problem. Into the iOS Simulator, you have to click under the "iOS Simulator" window menu and to choose the "Reset content and settings" options.
For some reason, when I press "Capture" while my device is connected and running the app (launched via Build & Run in Xcode), nothing happens. Never get a screenshot. iPhone OS 3.0. What can be the problem.
I've had this problem—it seems to be caused by there being a screenshot currently selected in the Organizer. Click on the left-hand screenshot pane to highlight it (i.e. deselect whatever screenshot thumbnail is selected), then hit the Capture button.