Skip to content

Commit

Permalink
Update to the Anyline Tire Tread SDK v11.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
measure-team-anyline committed Feb 13, 2025
1 parent 2e677c8 commit e355e8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions TireTreadDeveloperExamples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.0.0;
MARKETING_VERSION = 3.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.anyline.tiretread.developerexamples;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -400,7 +400,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.0.0;
MARKETING_VERSION = 3.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.anyline.tiretread.developerexamples;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -441,7 +441,7 @@
repositoryURL = "https://github.com/Anyline/anyline-tiretread-spm-module";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 11.0.0;
minimumVersion = 11.1.0;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
3 changes: 2 additions & 1 deletion TireTreadDeveloperExamples/SDKUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct SDKUtilities {
continuation.resume(returning: .success(()))
} catch {
// To get the error object from the TireTread SDK, you first need to convert it to a KotlinException
var errorMessage = "Unable to initialize the Tire Tread SDK. Reason: \n"
var errorMessage = "Unable to initialize the Tire Tread SDK. \nReason: \n"
if let kException = (error as NSError).kotlinException {
switch kException {
case let ex as SdkLicenseKeyInvalidException:
Expand All @@ -42,6 +42,7 @@ struct SDKUtilities {
errorMessage += " \(kException)"
}
}
errorMessage += "\n\n" + licenseStringMissingErrorMessage
continuation.resume(returning: .failure(TireTreadError.responseError(errorMessage)))
}
}
Expand Down

0 comments on commit e355e8b

Please sign in to comment.