Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 2becf70

Browse files
committed
Fix warnings
1 parent eb9b401 commit 2becf70

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

MagicSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ TODO: Add long description of the pod here.
1616
s.source = { :git => 'https://github.com/magiclabs/magic-ios.git', :tag => s.version.to_s }
1717
s.swift_version = '5.0'
1818
s.ios.deployment_target = '10.0'
19-
s.osx.deployment_target = '10.12'
19+
# s.osx.deployment_target = '10.12'
2020

2121
s.source_files = 'Sources/MagicSDK/**/*'
2222

Sources/MagicSDK/Core/Magic.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ extension Web3Response {
5858
return error as? RpcProvider.ProviderError
5959
case .success:
6060
return nil
61-
@unknown default:
62-
return nil
6361
}
6462
}
6563
}

Sources/MagicSDK/Core/Relayer/WebViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class WebViewController: UIViewController, WKUIDelegate, WKScriptMessageHandler,
103103
}
104104
try self.dequeue()
105105
}catch let error {
106-
// handleRollbarError(error)
106+
print("Magic internal error: \(error.localizedDescription)")
107107
}
108108
}
109109

0 commit comments

Comments
 (0)