Skip to content

Commit

Permalink
Updated project using Xcode 15.4
Browse files Browse the repository at this point in the history
- updated to recommended project settings
- raised deployment targets to the minimum supported
    - iOS - 12
    - tvOS - 12
    - watchOS - 4
    - macOS - 10.13

Also change associated objects key type to Void?  as per Apple recommendation:
https://github.com/atrick/swift-evolution/blob/diagnose-implicit-raw-bitwise/proposals/nnnn-implicit-raw-bitwise-conversion.md#associated-object-string-keys
This fixes the followng warning:
Forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.

Finally, reenabled the watchOS target for cocoapods, as the issue seems resolved
Bumbed library version to 1.14.0
  • Loading branch information
KoCMoHaBTa committed Jul 11, 2024
1 parent 19ea4ed commit 288d2d2
Show file tree
Hide file tree
Showing 10 changed files with 158 additions and 52 deletions.
14 changes: 7 additions & 7 deletions MHIdentityKit.podspec
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
Pod::Spec.new do |s|

s.name = "MHIdentityKit"
s.version = "1.13.0"
s.version = "1.14.0"
s.source = { :git => "https://github.com/KoCMoHaBTa/#{s.name}.git", :tag => "#{s.version}" }
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = "Milen Halachev"
s.summary = "OAuth2 and OpenID connect iOS Protocol Oriented Swift client library."
s.homepage = "https://github.com/KoCMoHaBTa/#{s.name}"

s.swift_version = "5.7"
s.ios.deployment_target = "11.0"
s.osx.deployment_target = "10.10"
#s.watchos.deployment_target = "4.0"
s.tvos.deployment_target = "11.0"
s.swift_version = "5.10"
s.ios.deployment_target = "12.0"
s.osx.deployment_target = "10.13"
s.watchos.deployment_target = "4.0"
s.tvos.deployment_target = "12.0"

s.source_files = "#{s.name}/**/*.swift", "#{s.name}/**/*.{h,m}"
s.public_header_files = "#{s.name}/**/*.h"

s.ios.exclude_files = "#{s.name}/**/macOS/*.swift", "#{s.name}/**/tvOS/*.swift", "#{s.name}/**/watchOS/*.swift"
s.osx.exclude_files = "#{s.name}/**/iOS/*.swift", "#{s.name}/**/tvOS/*.swift", "#{s.name}/**/watchOS/*.swift"
s.tvos.exclude_files = "#{s.name}/**/iOS/*.swift", "#{s.name}/**/macOS/*.swift", "#{s.name}/**/watchOS/*.swift"
#s.watchos.exclude_files = "#{s.name}/**/iOS/*.swift", "#{s.name}/**/macOS/*.swift", "#{s.name}/**/tvOS/*.swift"
s.watchos.exclude_files = "#{s.name}/**/iOS/*.swift", "#{s.name}/**/macOS/*.swift", "#{s.name}/**/tvOS/*.swift"

end
Loading

0 comments on commit 288d2d2

Please sign in to comment.