Skip to content

Commit

Permalink
Update integration app to use MSDK v10.0.1 (#17)
Browse files Browse the repository at this point in the history
* Update SDK to v10.0.1

* set version to 5.0.1

* Set minimum deployment target to iOS 15
  • Loading branch information
SalarZ authored Feb 27, 2024
1 parent 04be719 commit 2ee16a9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
14 changes: 8 additions & 6 deletions IntegrationExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -483,7 +483,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down Expand Up @@ -513,6 +513,7 @@
DEVELOPMENT_ASSET_PATHS = "\"IntegrationExample/Preview Content\"";
DEVELOPMENT_TEAM = E6PL3GQS6B;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSCameraUsageDescription = "Log in to your other Mimi devices by scanning a QR code with the camera";
INFOPLIST_KEY_NSMicrophoneUsageDescription = "Monitoring ambient noise during hearing tests requires the microphone";
Expand All @@ -522,12 +523,12 @@
INFOPLIST_KEY_UIStatusBarStyle = "";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 5.1.0;
MARKETING_VERSION = 5.0.1;
PRODUCT_BUNDLE_IDENTIFIER = io.mimi.IntegrationExample;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -551,6 +552,7 @@
DEVELOPMENT_ASSET_PATHS = "\"IntegrationExample/Preview Content\"";
DEVELOPMENT_TEAM = E6PL3GQS6B;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSCameraUsageDescription = "Log in to your other Mimi devices by scanning a QR code with the camera";
INFOPLIST_KEY_NSMicrophoneUsageDescription = "Monitoring ambient noise during hearing tests requires the microphone";
Expand All @@ -560,12 +562,12 @@
INFOPLIST_KEY_UIStatusBarStyle = "";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 5.1.0;
MARKETING_VERSION = 5.0.1;
PRODUCT_BUNDLE_IDENTIFIER = io.mimi.IntegrationExample;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/MimiHearingTechnologies/SDK-iOS-Binaries.git",
"state" : {
"revision" : "324555304ebdf23796f128c580726ce3c31e2535",
"version" : "10.0.0"
"revision" : "094e84c4fe83e16a89c1079472d6416e14c2233d",
"version" : "10.0.1"
}
}
],
Expand Down
8 changes: 4 additions & 4 deletions IntegrationExample/Processing/PartnerFirmwareController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protocol FirmwareControlling {
final actor PartnerFirmwareController: FirmwareControlling {

private struct Defaults {
static let simulatedDelay: TimeInterval = 0.1
static let simulatedDelay: UInt64 = 100_000_000 // 0.1 seconds
}

private var isEnabled = true
Expand All @@ -40,7 +40,7 @@ final actor PartnerFirmwareController: FirmwareControlling {
}

func setIsEnabled(_ value: Bool) async throws {
try await Task.sleep(for: .seconds(Defaults.simulatedDelay))
try await Task.sleep(nanoseconds: Defaults.simulatedDelay)

self.isEnabled = value
}
Expand All @@ -50,13 +50,13 @@ final actor PartnerFirmwareController: FirmwareControlling {
}

func setIntensity(_ value: Float) async throws {
try await Task.sleep(for: .seconds(Defaults.simulatedDelay))
try await Task.sleep(nanoseconds: Defaults.simulatedDelay)

self.intensity = value
}

func setPreset(_ value: MimiCoreKit.MimiPersonalization.Preset?) async throws {
try await Task.sleep(for: .seconds(Defaults.simulatedDelay))
try await Task.sleep(nanoseconds: Defaults.simulatedDelay)

// set preset
}
Expand Down

0 comments on commit 2ee16a9

Please sign in to comment.