[Xcode] Make it build with Xcode 15 (with 1 commented out change needed)

pull/6926/head
Hwee-Boon Yar 1 year ago
parent 3fdd299c94
commit a387defec7
  1. 2
      AlphaWallet/Common/Helpers/KingfisherImageFetcher.swift
  2. 2
      AlphaWallet/Extensions/UIImageView+Extension.swift
  3. 2
      Gemfile
  4. 62
      Gemfile.lock
  5. 2
      Podfile.lock
  6. 3
      modules/AlphaWalletFoundation/AlphaWalletFoundation/Settings/Types/BiometryAuthenticationType.swift

@ -12,7 +12,7 @@ import AlphaWalletFoundation
class KingfisherImageFetcher: ImageFetcher { class KingfisherImageFetcher: ImageFetcher {
func retrieveImage(with url: URL) async throws -> UIImage { func retrieveImage(with url: URL) async throws -> UIImage {
let resource = ImageResource(downloadURL: url, cacheKey: url.absoluteString) let resource = Kingfisher.ImageResource(downloadURL: url, cacheKey: url.absoluteString)
return try await withUnsafeThrowingContinuation { continuation in return try await withUnsafeThrowingContinuation { continuation in
KingfisherManager.shared.retrieveImage(with: resource) { result in KingfisherManager.shared.retrieveImage(with: resource) { result in

@ -12,7 +12,7 @@ extension UIImageView {
func setImage(url urlValue: URL?, placeholder: UIImage? = .none) { func setImage(url urlValue: URL?, placeholder: UIImage? = .none) {
if let url = urlValue { if let url = urlValue {
let resource = ImageResource(downloadURL: url) let resource = Kingfisher.ImageResource(downloadURL: url)
var options: KingfisherOptionsInfo = [] var options: KingfisherOptionsInfo = []
if let value = placeholder { if let value = placeholder {

@ -5,7 +5,7 @@
source "https://rubygems.org" source "https://rubygems.org"
gem 'fastlane' gem 'fastlane'
gem 'cocoapods', '1.11.3' gem 'cocoapods', git: 'https://github.com/CocoaPods/CocoaPods.git', ref: '0d9380c1443bcfc96b5c78b50b73d376031c1a9c'
#guard against rubyzip vulnerability #guard against rubyzip vulnerability
gem "rubyzip", ">= 1.3.0" gem "rubyzip", ">= 1.3.0"
gem "excon", ">= 0.71.0" gem "excon", ">= 0.71.0"

@ -1,14 +1,37 @@
GIT
remote: https://github.com/CocoaPods/CocoaPods.git
revision: 0d9380c1443bcfc96b5c78b50b73d376031c1a9c
ref: 0d9380c1443bcfc96b5c78b50b73d376031c1a9c
specs:
cocoapods (1.12.1)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.12.1)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.6.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.6.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.21.0, < 2.0)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
CFPropertyList (3.0.6) CFPropertyList (3.0.6)
rexml rexml
activesupport (6.1.7) activesupport (7.0.6)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
tzinfo (~> 2.0) tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.4) addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5) algoliasearch (1.27.5)
@ -34,26 +57,8 @@ GEM
aws-eventstream (~> 1, >= 1.0.2) aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4) babosa (1.0.4)
claide (1.1.0) claide (1.1.0)
cocoapods (1.11.3) cocoapods-core (1.12.1)
addressable (~> 2.8) activesupport (>= 5.0, < 8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.11.3)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.4.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.4.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 1.0, < 3.0)
xcodeproj (>= 1.21.0, < 2.0)
cocoapods-core (1.11.3)
activesupport (>= 5.0, < 7)
addressable (~> 2.8) addressable (~> 2.8)
algoliasearch (~> 1.0) algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1) concurrent-ruby (~> 1.1)
@ -75,7 +80,7 @@ GEM
colored2 (3.1.2) colored2 (3.1.2)
commander (4.6.0) commander (4.6.0)
highline (~> 2.0.0) highline (~> 2.0.0)
concurrent-ruby (1.1.10) concurrent-ruby (1.2.2)
declarative (0.0.20) declarative (0.0.20)
digest-crc (0.6.5) digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0) rake (>= 12.0.0, < 14.0.0)
@ -84,7 +89,7 @@ GEM
dotenv (2.8.1) dotenv (2.8.1)
emoji_regex (3.2.3) emoji_regex (3.2.3)
escape (0.0.4) escape (0.0.4)
ethon (0.15.0) ethon (0.16.0)
ffi (>= 1.15.0) ffi (>= 1.15.0)
excon (0.100.0) excon (0.100.0)
faraday (1.10.3) faraday (1.10.3)
@ -202,7 +207,7 @@ GEM
http-cookie (1.0.5) http-cookie (1.0.5)
domain_name (~> 0.5) domain_name (~> 0.5)
httpclient (2.8.3) httpclient (2.8.3)
i18n (1.12.0) i18n (1.14.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
jmespath (1.6.2) jmespath (1.6.2)
json (2.6.3) json (2.6.3)
@ -210,7 +215,7 @@ GEM
memoist (0.16.2) memoist (0.16.2)
mini_magick (4.12.0) mini_magick (4.12.0)
mini_mime (1.1.2) mini_mime (1.1.2)
minitest (5.16.3) minitest (5.19.0)
molinillo (0.8.0) molinillo (0.8.0)
multi_json (1.15.0) multi_json (1.15.0)
multipart-post (2.3.0) multipart-post (2.3.0)
@ -252,7 +257,7 @@ GEM
tty-cursor (~> 0.7) tty-cursor (~> 0.7)
typhoeus (1.4.0) typhoeus (1.4.0)
ethon (>= 0.9.0) ethon (>= 0.9.0)
tzinfo (2.0.5) tzinfo (2.0.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
uber (0.1.0) uber (0.1.0)
unf (0.1.4) unf (0.1.4)
@ -272,7 +277,6 @@ GEM
rouge (~> 2.0.7) rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.1) xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7) xcpretty (~> 0.2, >= 0.0.7)
zeitwerk (2.6.0)
PLATFORMS PLATFORMS
arm64-darwin-21 arm64-darwin-21
@ -281,7 +285,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
addressable (>= 2.8.0) addressable (>= 2.8.0)
cocoapods (= 1.11.3) cocoapods!
cocoapods-downloader (>= 1.6.0) cocoapods-downloader (>= 1.6.0)
excon (>= 0.71.0) excon (>= 0.71.0)
fastlane fastlane

@ -515,4 +515,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: f29721774eddc40fefd076855cdca437f2155e8a PODFILE CHECKSUM: f29721774eddc40fefd076855cdca437f2155e8a
COCOAPODS: 1.11.3 COCOAPODS: 1.12.1

@ -19,6 +19,9 @@ public enum BiometryAuthenticationType {
return .touchID return .touchID
case .faceID: case .faceID:
return .faceID return .faceID
//TODO For Xcode 15
//case .opticID:
// return none
} }
} }
} }

Loading…
Cancel
Save