http://hipbyte.myjetbrains.com/youtrack/issue/RM-247
1)
String#encode cannot convert from UTF8-MAC to UTF-8 propery.
Looks like iconv library handles it, however Ruby 2.0 does not bundle iconv library.
So, we need to bundle the tool/library to convert the encoding using the Objective-C API in order to convert reliably.
If we bundled it as Ruby C extension library, it will not work between 1.8/1.9/2.0 because Ruby 1.8/1.9/2.0 have not binary compatibility.
So, we need to bundle three binaries for 1.8/1.9/2.0.
Therefore, we bundles an executable binary to convert the encoding.
2)
If we converted from NFD to NFC, it might not match between original NFC and converted NFC even if we used Objective-C API.
We should normalized with NFD where it handles the string which retrived from filesystem.
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