Skip to content

Commit

Permalink
Lowered Deployment Target back down to iOS 12.0
Browse files Browse the repository at this point in the history
It should've been 12.0. I mixed Minimum Deployment Version with "Target" as in "newest APIs to use".
  • Loading branch information
dinesharjani committed Aug 21, 2024
1 parent 1196508 commit 09e0a4f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ class FileUploadViewController: UIViewController, McuMgrViewController {

@IBAction func selectFile(_ sender: UIButton) {
let supportedDocumentTypes = ["public.data", "public.content"]
let contentTypes = supportedDocumentTypes.compactMap { UTType($0) }
let importMenu = UIDocumentPickerViewController(forOpeningContentTypes: contentTypes,
asCopy: true)
let importMenu = UIDocumentPickerViewController(documentTypes: supportedDocumentTypes,
in: .import)
importMenu.allowsMultipleSelection = false
importMenu.delegate = self
importMenu.popoverPresentationController?.sourceView = actionSelect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ final class FirmwareUpgradeViewController: UIViewController, McuMgrViewControlle

@IBAction func selectFirmware(_ sender: UIButton) {
let supportedDocumentTypes = ["com.apple.macbinary-archive", "public.zip-archive", "com.pkware.zip-archive", "com.apple.font-suitcase"]
let contentTypes = supportedDocumentTypes.compactMap { UTType($0) }
let importMenu = UIDocumentPickerViewController(forOpeningContentTypes: contentTypes,
asCopy: true)
let importMenu = UIDocumentPickerViewController(documentTypes: supportedDocumentTypes,
in: .import)
importMenu.allowsMultipleSelection = false
importMenu.delegate = self
importMenu.popoverPresentationController?.sourceView = actionSelect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ class FirmwareUploadViewController: UIViewController, McuMgrViewController {

@IBAction func selectFirmware(_ sender: UIButton) {
let supportedDocumentTypes = ["com.apple.macbinary-archive", "public.zip-archive", "com.pkware.zip-archive", "com.apple.font-suitcase"]
let contentTypes = supportedDocumentTypes.compactMap { UTType($0) }
let importMenu = UIDocumentPickerViewController(forOpeningContentTypes: contentTypes,
asCopy: true)
let importMenu = UIDocumentPickerViewController(documentTypes: supportedDocumentTypes,
in: .import)
importMenu.allowsMultipleSelection = false
importMenu.delegate = self
importMenu.popoverPresentationController?.sourceView = actionSelect
Expand Down
4 changes: 2 additions & 2 deletions Example/nRF Connect Device Manager.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@
DEVELOPMENT_TEAM = P3R8YQEV4L;
INFOPLIST_FILE = Example/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
IPHONEOS_DEPLOYMENT_TARGET = 17.5;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -552,7 +552,7 @@
DEVELOPMENT_TEAM = P3R8YQEV4L;
INFOPLIST_FILE = Example/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
IPHONEOS_DEPLOYMENT_TARGET = 17.5;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down

0 comments on commit 09e0a4f

Please sign in to comment.