diff --git a/MongoDB.xcodeproj/project.pbxproj b/MongoDB.xcodeproj/project.pbxproj index d8ed4bf..1d501c8 100644 --- a/MongoDB.xcodeproj/project.pbxproj +++ b/MongoDB.xcodeproj/project.pbxproj @@ -439,10 +439,12 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "Developer ID Application"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application: Blimp, LLC (FJZ2YT5Y98)"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = MongoDB/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; }; name = Debug; }; @@ -451,10 +453,12 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "Developer ID Application"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application: Blimp, LLC (FJZ2YT5Y98)"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = MongoDB/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; }; name = Release; }; diff --git a/MongoDB/AppDelegate.swift b/MongoDB/AppDelegate.swift index 5b81541..11e611e 100644 --- a/MongoDB/AppDelegate.swift +++ b/MongoDB/AppDelegate.swift @@ -65,7 +65,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { let data: NSData = self.file.readDataToEndOfFile() self.file.closeFile() - let output: String = NSString(data: data, encoding: NSUTF8StringEncoding)! + let output: String = NSString(data: data, encoding: NSUTF8StringEncoding)! as String println(output) } @@ -107,7 +107,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { // Add version to menu versionMenuItem.title = "MongoDB" - if let version = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as String? { + if let version = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as! String? { versionMenuItem.title = "MongoDB v\(version)" } menu.addItem(versionMenuItem) diff --git a/MongoDB/Info.plist b/MongoDB/Info.plist index 1fe4bd1..bcdf75f 100644 --- a/MongoDB/Info.plist +++ b/MongoDB/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 3.0.1 + 3.0.2 CFBundleSignature ???? CFBundleVersion - 2 + 1 LSApplicationCategoryType public.app-category.developer-tools LSMinimumSystemVersion