Merge pull request #13 from siuying/additional_options

add more options
This commit is contained in:
Laurent Sansonetti
2012-06-26 09:32:46 -07:00

View File

@@ -50,8 +50,9 @@ module Motion; module Project
variable :files, :xcode_dir, :sdk_version, :deployment_target, :frameworks,
:libs, :delegate_class, :name, :build_dir, :resources_dir, :specs_dir,
:identifier, :codesign_certificate, :provisioning_profile,
:device_family, :interface_orientations, :version, :icons,
:prerendered_icon, :seed_id, :entitlements, :fonts
:device_family, :interface_orientations, :version, :short_version, :icons,
:prerendered_icon, :background_modes, :seed_id, :entitlements, :fonts,
:status_bar_style, :url_types
attr_accessor :spec_mode
@@ -70,6 +71,10 @@ module Motion; module Project
@bundle_signature = '????'
@interface_orientations = [:portrait, :landscape_left, :landscape_right]
@version = '1.0'
@short_version = '1'
@status_bar_style = 'UIStatusBarStyleDefault'
@url_types = []
@background_modes = []
@icons = []
@prerendered_icon = false
@vendor_projects = []
@@ -469,7 +474,7 @@ EOS
'CFBundleInfoDictionaryVersion' => '6.0',
'CFBundlePackageType' => 'APPL',
'CFBundleResourceSpecification' => 'ResourceRules.plist',
'CFBundleShortVersionString' => @version,
'CFBundleShortVersionString' => @short_version,
'CFBundleSignature' => @bundle_signature,
'CFBundleSupportedPlatforms' => ['iPhoneOS'],
'CFBundleVersion' => @version,
@@ -480,10 +485,12 @@ EOS
'UIPrerenderedIcon' => prerendered_icon,
}
},
'CFBundleURLTypes' => url_types,
'UIAppFonts' => fonts,
'UIDeviceFamily' => device_family_ints.map { |x| x.to_s },
'UISupportedInterfaceOrientations' => interface_orientations_consts,
'UIStatusBarStyle' => 'UIStatusBarStyleDefault',
'UIStatusBarStyle' => @status_bar_style,
'UIBackgroundModes' => @background_modes,
'DTXcode' => '0431',
'DTSDKName' => 'iphoneos5.0',
'DTSDKBuild' => '9A334',