Removed non-mandatory UIRequiredDeviceCapabilities

It’s not clear if these values are used or needed by the simulator. The doc only seems to mention arm values for the actual device:
https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3
This commit is contained in:
Kevin Brothaler 2017-01-17 21:35:27 -04:00
parent f8e12769ca
commit a40c92aa27

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// This is a script to deploy and execute a binary on an x86-64 iOS simulator.
// This is a script to deploy and execute a binary on an iOS simulator.
// The primary use of this is to be able to run unit tests on the simulator and retrieve the results.
//
// To do this through Cargo instead, use Dinghy (https://github.com/snipsco/dinghy):
@ -36,11 +36,7 @@ fn package_as_simulator_app(crate_name: &str, test_binary_path: &Path) {
" <key>CFBundleExecutable</key>",
&[" <string>", crate_name, "</string>"].join(""),
" <key>CFBundleIdentifier</key>",
" <string>com.rust.unittests</string>",
" <key>UIRequiredDeviceCapabilities</key>",
" <array>",
" <string>x86_64</string>",
" </array>",
" <string>com.rust.unittests</string>",
" </dict>",
"</plist>"].join("\n").into_bytes()).unwrap();
}