The `embedded.mobileprovision` should always be copied over in the codesign step. Otherwise subsequent builds with a different provisioning profile will build an incorrect app bundle.
Example use case:
```
rake enterprise # Build an adhoc distribution
rake appstore # Build an appstore release
```
In order to enable ARR_CYCLES_DISABLE, we need to set ARR_CYCLES_DISABLE as environment variable when launch the app.
So, embedded ARR_CYCLES_DISABLE variable into app
http://hipbyte.myjetbrains.com/youtrack/issue/RM-245
If run `bundle exec rake' without `rake' gem, the following error is occurred.
% bundle exec rake
/Users/watson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
from /Users/watson/.rbenv/versions/2.0.0-p247/bin/rake:22:in `<main>'
Allows you to set app_store category configuration value instead of doing this:
app.info_plist['LSApplicationCategoryType'] = 'public.app-category.developer-tools'
This allows you to specify:
app.app_store_category = 'developer-tools'
- or -
app.app_store_category = 'public.app-category.developer-tools'
The warning message will be displayed when use Xcode 5 even if deployment_target is not iOS 7.
This will fix c2fc9959ed
% rake
Build ./build/iPhoneSimulator-6.1-Development
Compile ./app/app_delegate.rb
Create ./build/iPhoneSimulator-6.1-Development/hello.app
Link ./build/iPhoneSimulator-6.1-Development/hello.app/hello
ld: warning: ObjC object file (./build/iPhoneSimulator-6.1-Development/objs/init.o) was compiled for iOS Simulator, but linking for MacOSX
iOS 7 has only retina simulator and com.apple.iphonesimulator indicates "iPhone Retina (4-inch)" as default.
So, we need to use retina even if it does not configure ENV['retina']
I implemented @colinta 's idea which was discussed below link.
https://groups.google.com/d/msg/rubymotion/M9T6LybaEUs/AWip_Vwy5_4J
When you want to setup UIViewController, you can setup it in a block of tests method.
# Example
describe MyViewController do
tests MyViewController do |controller|
# you can set data to the controller here
controller.my_data = "foo"
end
.
.
end