Skip to content

Commit

Permalink
App: Deployment target updated to macOS 13.0 Ventura & Xcode 15
Browse files Browse the repository at this point in the history
From now on, current DevCleaner version will support current - 1 OS
  • Loading branch information
vashpan committed Sep 24, 2023
1 parent 0df90fb commit 8647433
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions DevCleaner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,9 @@
7110B4862030F17B00EDBFA3 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 1400;
LastUpgradeCheck = 1500;
ORGANIZATIONNAME = "One Minute Games";
TargetAttributes = {
7110B48D2030F17B00EDBFA3 = {
Expand Down Expand Up @@ -619,7 +620,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 2.4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.oneminutegames.XcodeCleaner;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -643,7 +644,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 2.4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.oneminutegames.XcodeCleaner;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion DevCleaner/Managers/FeedbackMailer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public final class FeedbackMailer {
// MARK: System profile

private func macModelIdentifier() -> String? {
let service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice"))
let service = IOServiceGetMatchingService(kIOMainPortDefault, IOServiceMatching("IOPlatformExpertDevice"))
var modelIdentifier: String?
if let modelData = IORegistryEntryCreateCFProperty(service, "model" as CFString, kCFAllocatorDefault, 0).takeRetainedValue() as? Data {
modelIdentifier = String(data: modelData, encoding: .utf8)?.trimmingCharacters(in: .controlCharacters)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ extension URL {
openPanel.message = openPanelMessage
openPanel.prompt = "Open"

openPanel.allowedFileTypes = ["none"]
openPanel.allowedContentTypes = []
openPanel.allowsOtherFileTypes = false
openPanel.canChooseDirectories = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ final class PreferencesViewController: NSViewController {
openPanel.message = "Choose a new location"
openPanel.prompt = "Choose"

openPanel.allowedFileTypes = ["none"]
openPanel.allowedContentTypes = []
openPanel.allowsOtherFileTypes = false
openPanel.canChooseDirectories = true

Expand Down

0 comments on commit 8647433

Please sign in to comment.