GithubHelp home page GithubHelp logo

Xcode 6 issue about bwoken HOT 14 OPEN

bendyworks avatar bendyworks commented on August 24, 2024
Xcode 6 issue

from bwoken.

Comments (14)

listrophy avatar listrophy commented on August 24, 2024

Downloading Xcode 6.0.1 is taking for...ev...er... :)

Thanks for the bug report. I'll see what I can do.

from bwoken.

russelCrowe avatar russelCrowe commented on August 24, 2024

Having the same problem here as well.

from bwoken.

vincentjames501 avatar vincentjames501 commented on August 24, 2024

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.

dereknex avatar dereknex commented on August 24, 2024

Having the same problem.

from bwoken.

listrophy avatar listrophy commented on August 24, 2024

@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.

russelCrowe avatar russelCrowe commented on August 24, 2024

@listrophy

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.

liangfenxiaodao avatar liangfenxiaodao commented on August 24, 2024

@listrophy I got the same problem as @russelCrowe

from bwoken.

bodhi avatar bodhi commented on August 24, 2024

It's not throwing any errors this time though. Just fails to launch the simulator.

+1

from bwoken.

danielrampanelli avatar danielrampanelli commented on August 24, 2024

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.

listrophy avatar listrophy commented on August 24, 2024

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.

dereknex avatar dereknex commented on August 24, 2024

@listrophy
Thanks. I upgrade to 2.1.0.rc.2, this problem has been solved

from bwoken.

extr3mal avatar extr3mal commented on August 24, 2024

$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.

jmoody avatar jmoody commented on August 24, 2024

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

from bwoken.

truebit avatar truebit commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.