Comments (14)
Downloading Xcode 6.0.1 is taking for...ev...er... :)
Thanks for the bug report. I'll see what I can do.
from bwoken.
Having the same problem here as well.
from bwoken.
I'm NOT a ruby expert which is why I'm not just submitting a pull request, but this seems like this would be nice???
def xcode_version
Gem::Version.new `xcodebuild -version 2>&1`.split("\n").first.gsub(/Xcode /, "")
end
def path_to_automation_template
if xcode_version >= Gem::Version.new("6")
"Automation"
else
`xcrun instruments -s 2>&1 | grep Automation.tracetemplate`.split("\n").find do |path|
path = path.gsub(/^\s*"|",\s*$/, "")
File.exists?(path)
end
end
end
from bwoken.
Having the same problem.
from bwoken.
@vincentjames501 @russelCrowe @dereknex please install the version of bwoken I just pushed:
Using Bundler, set the line in your Gemfile
to:
gem 'bwoken', '2.1.0.rc.1'
If you just installed bwoken from the command line, do the following:
$ gem uninstall bwoken && gem install bwoken --pre
Let me know if this fixes the problem.
(For reference, the fix is at 227d405)
from bwoken.
Thanks. Unfortunately, it's still failing to run the test. It's not throwing any errors this time though. Just fails to launch the simulator.
It compiles fine and tries to run the example.js and main.js but nothing happens. Fails silently.
Appreciate your help.
from bwoken.
@listrophy I got the same problem as @russelCrowe
from bwoken.
It's not throwing any errors this time though. Just fails to launch the simulator.
+1
from bwoken.
I did manage to avoid this problem and the fix can found at #79. Apparently, instruments
will default to it's first available device (in my case the computer itself) and therefore fails to run the test.
from bwoken.
I've merged #79 and released version 2.1.0.rc.2. Please test with the new version per my instructions above: #76 (comment)
from bwoken.
@listrophy
Thanks. I upgrade to 2.1.0.rc.2, this problem has been solved
from bwoken.
$bwoken --version
2.1.0.rc.2
when running bwoken i recieve
2014-10-23 09:32:14.346 instruments[6522:25752] *** -[__NSCFConstantString stringByAppendingPathExtension:]: cannot append extension 'tracetemplate' to path ''
Instruments Usage Error : The specified template '' does not exist.
instruments, version 6.1 (56160)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
2014-10-23 09:32:17.725 instruments[6536:25796] *** -[__NSCFConstantString stringByAppendingPathExtension:]: cannot append extension 'tracetemplate' to path ''
Instruments Usage Error : The specified template '' does not exist.
instruments, version 6.1 (56160)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
Any ideas how to fix that ?
from bwoken.
I stumbled across this searching for something else.
This is how we find the Automation template in run-loop (Calabash iOS).
Works on Xcode > 5.1.1 and is updated for Xcode 6.3 Beta
- https://github.com/calabash/run_loop/blob/develop/lib/run_loop/core.rb#L562
- https://github.com/calabash/run_loop/blob/develop/lib/run_loop/xctools.rb#L198
from bwoken.
When this bug will be fixed? It still exists on Xcode 6.3.1
with bwoken 2.1.0.rc.2
:
Instruments Usage Error : Specified target process is invalid: /Users/some/Documents/bwoken/Workspace/build/iphonesimulator/Some.app
instruments, version 6.3 (57536)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
from bwoken.
Related Issues (20)
- How to run different simulator eg. iPhone 3.5-inch HOT 2
- --family should indicate connected device as well HOT 1
- Any existing way to run a script before/after each test (A.K.A. setup/teardown)? HOT 2
- Install & configure bwoken in different folder HOT 1
- Document Missing Template Error HOT 3
- Multiple connected devices only runs first listed device HOT 2
- Run on multiple devices HOT 1
- Running 'bwoken test' creates files on build HOT 1
- Remove the requirement to specify a device identifier
- Tests not run HOT 20
- Xcode 6.1 and Yosemite HOT 1
- Error Parsing imports from file HOT 3
- Feature request: logElementTree to file
- bwoken init error with latest HOT 8
- bwoken doesn't run HOT 3
- Bwoken does not work
- Document Missing Template Error: The operation couldn’t be completed. (com.apple.instruments error -6
- --family ipad has no effect on which script is ran
- Error while running bwoken on Jenkins: cannot append extension 'tracetemplate' to path '' HOT 3
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 bwoken.