lib/run_loop/l10n.rb in run_loop-2.0.10.pre1 vs lib/run_loop/l10n.rb in run_loop-2.1.0.pre1
- old
+ new
@@ -68,34 +68,10 @@
end
nil
end
def uikit_bundle_l10n_path
- developer_dir = xcode.developer_dir
- if !developer_dir
- nil
- else
- if xcode.version_gte_6?
- File.join(developer_dir, UIKIT_AXBUNDLE_PATH_CORE_SIM)
- else
- ['7.1', '7.0', '6.1'].map do |sdk|
- path = axbundle_path_for_sdk(developer_dir, sdk)
- if File.exist?(path)
- path
- else
- nil
- end
- end.compact.first
- end
- end
- end
-
- # Xcode 5.1.1 path.
- def axbundle_path_for_sdk(developer_dir, sdk)
- File.join(developer_dir,
- 'Platforms/iPhoneSimulator.platform/Developer/SDKs',
- "iPhoneSimulator#{sdk}.sdk",
- 'System/Library/AccessibilityBundles/UIKit.axbundle')
+ File.join(xcode.developer_dir, UIKIT_AXBUNDLE_PATH_CORE_SIM)
end
def is_full_name?(two_letter_country_code)
LANG_CODE_TO_LANG_NAME_MAP.has_key?(two_letter_country_code)
end