** BUILD FAILED **
The following build commands failed:
CompileC build/calabash.build/Debug-iphonesimulator/calabash-simulator.build/Objects-normal/i386/CalabashServer.o calabash/Classes/CalabashServer.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$USER" = "jenkins" ]; then | |
echo "INFO: hey, you are jenkins! loading ~/.bash_profile_ci" | |
source ~/.bash_profile_ci | |
hash -r | |
rbenv rehash | |
fi | |
TAGS=$* |
The problem is that this kind of UIAlert appears before Instruments can take control of the app.
In most cases, applications that ask for location services, access to contacts, access to photos, etc, are violating the Mobile HIG guidelines.
Ask permission at app startup only if your app can’t perform its primary function without the user’s data.
People will not be bothered by this if it’s obvious that the main function of your app depends on knowing their personal information.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module YourCompany | |
module YourApp | |
# a mixin interacting with UIWebViews with iframes | |
module IFrameMixin | |
include YourCompany::YourApp::WaitHelpers | |
# js = "document.getElementById('frame_0_1').contentDocument.querySelectorAll('#bt_2').toString();" | |
#query('webView', :stringByEvaluatingJavaScriptFromString => js) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### .bash_history ### | |
# Erase duplicates | |
export HISTCONTROL=erasedups | |
# resize history size | |
export HISTSIZE=5000 | |
# append to bash_history if Terminal.app quits | |
shopt -s histappend | |
### visual / editor ### | |
export VISUAL=less |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> user = user_model() | |
#<UserModel:0x007fc843c61c00 @employee_id=nil, @team_id=nil> | |
> user.employee_id | |
130012147057 | |
> user.team_id | |
1 | |
> Cegedim::MI::Backdoor.select_todo_assignees(user, 3) | |
[ | |
[0] "Small, Monica", | |
[1] "Winchester, Amanda", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.const_missing(const_name) | |
if const_name == :FRAMEWORK_VERSION | |
_deprecated('0.9.169', 'no replacement', :warn) | |
return nil | |
end | |
raise(NameError, "uninitialized constant Calabash::Cucumber::#{const_name}") | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@wip | |
Scenario: Add a fountain to the Map | |
WARN: server version is not compatible with gem version | |
please update your server and gem | |
gem version: '0.9.169.pre6' | |
min server version: '0.9.169.pre6' | |
server version: '0.9.169.pre2' | |
Given the app has started | |
Then I should see a button to create new fountains |
Please paste the output of the following commands:
# xcode installation location
$ xcode-select --print-path
# xcode version
$ xcodebuild -version
# calabash version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
co = checkout | |
st = status | |
br = branch | |
[push] | |
default = current |