mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-11 22:42:04 +08:00
1.12
This commit is contained in:
30
NEWS
30
NEWS
@@ -1,3 +1,33 @@
|
||||
= RubyMotion 1.12 =
|
||||
|
||||
* Fixed a bug where sending an `init' message alone (without using `alloc'
|
||||
before) would lead to a memory crash. This was possible when overloading
|
||||
an initWith* method and doing `self.init' inside.
|
||||
* Fixed a bug where performing Objective-C methods that accept CFType objects
|
||||
would crash the program (ex. [ABPersonViewController setDisplayedPerson:]).
|
||||
* Switched to clang++ to link the executable bits. This fixes linker crashes
|
||||
on iOS 6.0.
|
||||
* Added `fast' output for `rake spec'. Fixed a bug in the other outputs.
|
||||
Patch by Marin Usalj.
|
||||
* Improved the build system to let the user specify CPU archs that should be
|
||||
used for a certain platform. The `app.archs' method returns a Hash that one
|
||||
can tweak. This is so far only useful when you target 4.3 (which is armv6
|
||||
and armv7) and want to link with a 3rd-party library that only supports
|
||||
armv7 (ex. app.archs['iPhoneOS'] = ['armv7']).
|
||||
* Improved `rake simulator' to honor the `deployment_target' environment
|
||||
variable (ex. rake deployment_target=4.3). Patch by Satoshi Ebisawa.
|
||||
* Fixed a bug in the build system where the compiler would not use the right
|
||||
BridgeSupport files when using a lower deployment_target.
|
||||
Patch by Satoshi Ebisawa.
|
||||
* Fixed the build system to re-link the .app executable in case one of the
|
||||
vendored libraries changed.
|
||||
* Fixed bugs in both ARM/simulator compilers where structures smaller than
|
||||
64-bit would not be following the ABI and causing unexpected behavior in
|
||||
certain cases (ex. cocos2d). Thanks to Aaron Hurley for the detective work.
|
||||
* Removed Kernel#select as it clashes with a private `select' method defined
|
||||
by iOS and triggered when hittin the select button in a paste action.
|
||||
Thanks to Francis Chong for the detective work.
|
||||
|
||||
= RubyMotion 1.11 =
|
||||
|
||||
* Fixed a bug where the runtime would not allow `nil' to be passed as a
|
||||
|
||||
4
Rakefile
4
Rakefile
@@ -1,5 +1,5 @@
|
||||
PLATFORMS_DIR = '/Applications/Xcode.app/Contents/Developer/Platforms'
|
||||
PROJECT_VERSION = '1.11'
|
||||
PROJECT_VERSION = '1.12'
|
||||
PLATFORMS_DIR = (ENV['PLATFORMS_DIR'] || '/Applications/Xcode.app/Contents/Developer/Platforms')
|
||||
|
||||
sim_sdks = Dir.glob(File.join(PLATFORMS_DIR, 'iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk')).map do |path|
|
||||
File.basename(path).scan(/^iPhoneSimulator(.+)\.sdk$/)[0][0]
|
||||
|
||||
Reference in New Issue
Block a user