Comments (7)
The error message leads me to believe that you do not have your Apple developer tools set up correctly or that you have not installed the command line tools through Xcode.
To start, can you find out the path to Xcode.app? Did you install Xcode through the App Store? Or from a direct download from developer.apple.com?
from ui-screen-shooter.
Thanks for replay,
will take few minutes of yours
Yes, i had direct download from developer.apple.com, and its currently locate at /Applications/Xcode.app/Contents/Developer
So where do i have to change to set this path,
and do i have to develop any UiAutomation file ya , i can use this directly from command line, as you had guided
from ui-screen-shooter.
You need to make sure the command line tools are installed, first. Open the Xcode preferences, switch to the "Downloads" tab and click the "Install" button for the command line tools. It looks like the attached screenshot. Try that first and see if you can run the script.
from ui-screen-shooter.
Thanks for quick replay,
I had install command line tools ,but i am gating still same error ,
Let me explain you how i use this ,
- i had download form git and paste at desktop
2)run this script from terminal
ind530:~ iabc$ cd /Users/iabc/Desktop/ui-screen-shooter-master
ind530:ui-screen-shooter-master iabc$ ./run_screenshooter.sh ~/Desktop/screenshots
and after this i get this error
Saving original language en...
Error: No developer directory found at /Volumes/DATA/Xcode.app/Contents/Developer. Run /usr/bin/xcode-select to update the developer directory path.
my xcode content are at /Applications/Xcode.app/Contents/Developer
can you please help me where i am doing mistake ?
Thanks ,
from ui-screen-shooter.
Hmm. It looks like the xcode command line tools are looking for Xcode.app on an external drive or something like that.
Run this:
sudo xcode-select -switch /Applications/Xcode.app
That should point everything back in the right place. Try running the screenshooting script again.
from ui-screen-shooter.
Great Man !!!
We had done , for working demo app. Thanks a lot,
One more Que: how to take image in iPad landscape mode
from ui-screen-shooter.
Glad to hear it's working! I'll close this issue, then.
You can rotate the iPad simulator by calling setDeviceOrientation()
on the target like so:
var target = UIATarget.localTarget();
target.setDeviceOrientation(UIA_DEVICE_ORIENTATION_LANDSCAPE);
For more resources about UI Automation, check out my tutorials and book at http://cocoamanifest.net/features. There's a lot of good stuff over there.
from ui-screen-shooter.
Related Issues (20)
- UI Screen Shooter should be easier to keep up to date HOT 3
- Example not working in Xcode 6.0.1 HOT 3
- capture.js should support new device sizes HOT 1
- Region/Locale not set properly in XCode6 HOT 2
- add custom xcodebuild parameters to config-screenshots.sh HOT 1
- Integrate Simulator Status Magic HOT 4
- Add option to delete existing screenshots folder HOT 2
- fatal error: '-Swift.h' file not found HOT 6
- Target failed to run: The operation couldn’t be completed. HOT 9
- Doesn't work with cordova/phonegap HOT 2
- Fix close simulator and add reset simulator HOT 1
- Segmentation fault: 11 error HOT 5
- Captured image includes alpha channel, post iOS 8 iTC will not allow HOT 5
- PBXCp error with Today Extension while building
- Bug in Landscape Orientation HOT 1
- Should build texture atlasses, but copies them
- Not able to run... /tmp/screen_shooter/traces/Run 1/: No such file or directory
- Run ui-screen-shooter on device, not on simulator.
- Make for Appe TV HOT 1
- wrong simulator names: fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui-screen-shooter.