@@ -638,8 +638,7 @@ impl platform::Platform for MacPlatform {
if bundle.is_null() {
Err(anyhow!("app is not running inside a bundle"))
} else {
- let version: id =- msg_send![bundle, objectForInfoDictionaryKey: "CFBundleShortVersionString"];
+ let version: id = msg_send![bundle, objectForInfoDictionaryKey: ns_string("CFBundleShortVersionString")];
let len = msg_send![version, lengthOfBytesUsingEncoding: NSUTF8StringEncoding];
let bytes = version.UTF8String() as *const u8;
let version = str::from_utf8(slice::from_raw_parts(bytes, len)).unwrap();