mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-13 01:29:00 +08:00
[OSX] Add bridgesupport metadata for Carbon frameworks.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-318
This commit is contained in:
1
NEWS
1
NEWS
@@ -12,6 +12,7 @@
|
||||
logs from the device.
|
||||
* [OSX] Fixed a bug on OSX platform where compiler flags for iOS are passed
|
||||
when it generates bridgesupport file for vendor library.
|
||||
* [OSX] Add bridgesupport metadata for Carbon frameworks.
|
||||
|
||||
= RubyMotion 2.14 =
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ def merge_bridgesupport(base_bridgesupport, merge_brigesupport)
|
||||
}
|
||||
end
|
||||
|
||||
EXCLUDED_FRAMEWORKS = ['Kernel', 'System', 'IOKit', 'Carbon', 'Ruby', 'RubyCocoa', 'vecLib']
|
||||
EXCLUDED_FRAMEWORKS = ['Kernel', 'System', 'IOKit', 'Ruby', 'RubyCocoa', 'vecLib']
|
||||
task :bridgesupport_files do
|
||||
platform_dev_path = "#{PLATFORMS_DIR}/MacOSX.platform/Developer"
|
||||
OSX_SDK_VERSIONS.each do |sdk_version|
|
||||
@@ -110,6 +110,7 @@ task :bridgesupport_files do
|
||||
|
||||
linked_framework =
|
||||
case framework
|
||||
when 'HIToolbox', 'Ink' then 'Carbon'
|
||||
when 'CFNetwork', 'LaunchServices', 'Metadata', 'OSServices' then 'CoreServices'
|
||||
when 'ColorSync', 'HIServices' then 'ApplicationServices'
|
||||
else framework
|
||||
|
||||
Reference in New Issue
Block a user