Skip to content

Commit d3b24f1

Browse files
committed
fix pod lint issue and bump release version
1 parent 86aac11 commit d3b24f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Roboflow.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = "Roboflow"
3-
spec.version = "1.2.3"
3+
spec.version = "1.2.4"
44
spec.platform = :ios, '15.2'
55
spec.ios.deployment_target = '15.2'
66
spec.summary = "A framework for interfacing with Roboflow"

Sources/Roboflow/Classes/Utils/ZipExtractor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public class ZipExtractor {
217217
// ZIP uses "raw deflate" without zlib headers, but Apple's Compression framework
218218
// expects different formats. Let's try multiple approaches.
219219

220-
return try data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) -> Data in
220+
return data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) -> Data in
221221
let buffer = UnsafeMutablePointer<UInt8>.allocate(capacity: expectedSize)
222222
defer { buffer.deallocate() }
223223

@@ -253,7 +253,7 @@ public class ZipExtractor {
253253
zlibData.append(data)
254254
zlibData.append(contentsOf: zlibFooter)
255255

256-
let finalResult = try zlibData.withUnsafeBytes { (zlibBytes: UnsafeRawBufferPointer) -> Data in
256+
let finalResult = zlibData.withUnsafeBytes { (zlibBytes: UnsafeRawBufferPointer) -> Data in
257257
let zlibDecompressedSize = compression_decode_buffer(
258258
buffer, expectedSize,
259259
zlibBytes.bindMemory(to: UInt8.self).baseAddress!, zlibData.count,

0 commit comments

Comments
 (0)