diff --git a/Mux-Upload-SDK.podspec b/Mux-Upload-SDK.podspec index c36a794..bde3625 100644 --- a/Mux-Upload-SDK.podspec +++ b/Mux-Upload-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'Mux-Upload-SDK' s.module_name = 'MuxUploadSDK' - s.version = '1.0.0' + s.version = '1.0.1' s.summary = 'Upload video to Mux.' s.description = 'A library for uploading video to Mux. Similar to UpChunk, but for iOS.' diff --git a/Sources/MuxUploadSDK/PublicAPI/AVFoundation+DirectUpload/DirectUpload+AVFoundation.swift b/Sources/MuxUploadSDK/PublicAPI/AVFoundation+DirectUpload/DirectUpload+AVFoundation.swift index 9b6115f..d9757fb 100644 --- a/Sources/MuxUploadSDK/PublicAPI/AVFoundation+DirectUpload/DirectUpload+AVFoundation.swift +++ b/Sources/MuxUploadSDK/PublicAPI/AVFoundation+DirectUpload/DirectUpload+AVFoundation.swift @@ -23,8 +23,7 @@ extension DirectUpload { options: DirectUploadOptions ) { guard let urlAsset = inputAsset as? AVURLAsset else { - precondition( - false, + fatalError( "Only assets with URLs can be uploaded" ) } diff --git a/Sources/MuxUploadSDK/PublicAPI/SemanticVersion.swift b/Sources/MuxUploadSDK/PublicAPI/SemanticVersion.swift index 15c894c..3f95bc2 100644 --- a/Sources/MuxUploadSDK/PublicAPI/SemanticVersion.swift +++ b/Sources/MuxUploadSDK/PublicAPI/SemanticVersion.swift @@ -14,7 +14,7 @@ public struct SemanticVersion { /// Minor version component. public static let minor = 0 /// Patch version component. - public static let patch = 0 + public static let patch = 1 /// String form of the version number in the format X.Y.Z /// where X, Y, and Z are the major, minor, and patch