I got this issue too when I try the example in icuke(cucumber ./
feature).I have set "Build Location" as "Place build products in
locations specified by targets" in Xcode4.
I have try jkp(
https://github.com/jkp/icuke) and
BlueFrogGaming(
https://github.com/BlueFrogGaming/icuke) forks,but this
issue all the same.
as the jkp mention(
http://stackoverflow.com/questions/4996517/icuke-
with-xcode-4-times-out).I build the WaxSim(
https://github.com/gmcinnes/
WaxSim) and launch app,it is ok (./waxsim -s 4.0 /Test.app/),so i
think may be this is icuke's problem?!
Thanks,
William Zhang
-----
Mac OSX 10.6.7
ruby 1.8.7
gem 1.8.5
cucumber :0.10.6
iCuke:0.6.3
------Error Message Start-----
Background:
# features/iphone.feature:6
Given "app/Universal.xcodeproj" is loaded in the iphone simulator
# lib/icuke/cucumber.rb:188
execution expired (Timeout::Error)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/timeout.rb:60:in `launch'
./features/support/../../lib/icuke/waxsim.rb:22:in `launch'
./features/support/../../lib/icuke/cucumber.rb:18:in `launch'
./features/support/../../lib/icuke/cucumber.rb:197:in `/^(?:"([^
\"]*)" from )?"([^\"]*)" is loaded in the (?:(iphone|ipad) )?
simulator(?: with SDK ([0-9.]+))?$/'
features/iphone.feature:7:in `Given "app/Universal.xcodeproj" is
loaded in the iphone simulator'
Scenario: Scrolling
# features/iphone.feature:10
When I tap "Show Test Modal"
# lib/icuke/cucumber.rb:218
Then I should see "Lorem ipsum dolor"
# lib/icuke/cucumber.rb:210
But I should not see "Fusce sem nisi"
# lib/icuke/cucumber.rb:214
When I scroll down to "Fusce sem nisi"
# lib/icuke/cucumber.rb:238
Then I should see "Fusce sem nisi"
# lib/icuke/cucumber.rb:210
But I should not see "Lorem ipsum dolor"
# lib/icuke/cucumber.rb:214
Failing Scenarios:
cucumber features/iphone.feature:10 # Scenario: Scrolling
1 scenario (1 failed)
7 steps (1 failed, 6 skipped)
0m30.417s
------Error Message End-----
On Jun 13, 9:47 pm, Jason Felice <
jason.m.fel...@gmail.com> wrote:
> Sorry for the late reply.
>
> This usually means that iCuke couldn't launch the simulator or connect to
> the app. Often this is because it could not find the binary or the iCuke
> preload library. Things to check:
>
> * If you are using Xcode 4, you may need to go to Xcode | Preferences ... |
> Locations and select "Place build products in locations specified by
> targets" from "Build Location".
> * Some issues with matching of different SDKs has been resolved in the git
> repository. You can try installing from there.
>
> See this scenario for instructions on running:
https://github.com/BlueFrogGaming/icuke/blob/master/features/starting...