Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fixed issues(see issues page for details), added analyze(and p… #247

Merged
merged 4 commits into from
Feb 19, 2024

fix(Building): Fixed build issues

87a315c
Select commit
Loading
Failed to load commit list.
Merged

chore: Fixed issues(see issues page for details), added analyze(and p… #247

fix(Building): Fixed build issues
87a315c
Select commit
Loading
Failed to load commit list.
Xcode Cloud / DarockBili | Analysis | Build - macOS succeeded Feb 19, 2024 in 4m 6s

43 warnings

Report Summary
Errors 0
Test Failures 0
Analysis Issues 0
Warnings 43

Details

43 Warnings

Details

  MeowBili/Video/VideoDetailView.swift:338
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/InMain/SearchView.swift:161
      'init(_:isActive:destination:)' was deprecated in iOS 16.0: use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView
  MeowBili/Extension/CodeExt.swift:212
      'CC_MD5' was deprecated in Mac Catalyst 13.1: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).
  MeowBili/Extension/UIExt.swift:81
      'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead
  MeowBili/Video/VideoDetailView.swift:312
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/Video/AudioPlayerView.swift:51
      Immutable value 'error' was never used; consider replacing with '_' or removing it
  MeowBili/Video/VideoDetailView.swift:200
      Switch covers known cases, but 'AsyncImagePhase' may have additional unknown values, possibly added in future versions
  MeowBili/InMain/MainView.swift:57
      Switch covers known cases, but 'AsyncImagePhase' may have additional unknown values, possibly added in future versions
  MeowBili/PersonalCenter/FavoriteView.swift:86
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/Extension/CodeExt.swift:193
      'responseJSON(queue:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:options:completionHandler:)' is deprecated: responseJSON deprecated and will be removed in Alamofire 6. Use responseDecodable instead.
  MeowBili/PersonalCenter/FavoriteView.swift:83
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/Errors/SignalErrorView.swift:70
      Initialization of immutable value 'rspStr' was never used; consider replacing with assignment to '_' or removing it
  MeowBili/Video/VideoDetailView.swift:207
      Immutable value 'error' was never used; consider replacing with '_' or removing it
  MeowBili/Video/AudioPlayerView.swift:45
      Switch covers known cases, but 'AsyncImagePhase' may have additional unknown values, possibly added in future versions
  MeowBili/PersonalCenter/FollowListView.swift:117
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/PersonalCenter/WatchLaterView.swift:61
      'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead
  MeowBili/PersonalCenter/FollowListView.swift:120
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/UserDynamic/UserDynamicMainView.swift:157
      'init(_:isActive:destination:)' was deprecated in iOS 16.0: use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView
  MeowBili/PersonalCenter/PersonAccountView.swift:196
      Switch covers known cases, but 'AsyncImagePhase' may have additional unknown values, possibly added in future versions
  MeowBili/Extension/CodeExt.swift:81
      'CC_MD5' was deprecated in Mac Catalyst 13.1: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).
  MeowBili/UserDynamic/DynamicDetailView.swift:80
      'init(_:isActive:destination:)' was deprecated in iOS 16.0: use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView
  MeowBili/Video/VideoPlayerView.swift:198
      'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.
  MeowBili/Bangumi/BangumiDetailView.swift:179
      Left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
  Building for 'macCatalyst', but linking in dylib (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa.tbd) built for 'macOS'
  MeowBili/InMain/MainView.swift:64
      Immutable value 'error' was never used; consider replacing with '_' or removing it
  MeowBili/PersonalCenter/HistoryView.swift:90
      'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead
  MeowBili/Video/VideoDetailView.swift:241
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  Building for 'macCatalyst', but linking in dylib (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL.tbd) built for 'macOS'
  MeowBili/GlobalView/CommentsView.swift:310
      'init(_:isActive:destination:)' was deprecated in iOS 16.0: use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView
  MeowBili/PersonalCenter/HistoryView.swift:86
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/Extension/UIExt.swift:72
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/UserDynamic/UserDynamicMainView.swift:54
      'init(_:isActive:destination:)' was deprecated in iOS 16.0: use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView
  MeowBili/PersonalCenter/HistoryView.swift:89
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/PersonalCenter/FavoriteView.swift:87
      'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead
  MeowBili/PersonalCenter/WatchLaterView.swift:60
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/PersonalCenter/PersonAccountView.swift:203
      Immutable value 'error' was never used; consider replacing with '_' or removing it
  MeowBili/Video/VideoDetailView.swift:278
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/PersonalCenter/WatchLaterView.swift:57
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/InMain/SearchView.swift:40
      'init(_:destination:isActive:)' was deprecated in iOS 16.0: use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView
  MeowBili/Extension/UIExt.swift:80
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.
  MeowBili/GlobalView/CommentsView.swift:88
      'init(_:isActive:destination:)' was deprecated in iOS 16.0: use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView
  MeowBili/PersonalCenter/FollowListView.swift:121
      'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead
  MeowBili/Extension/UIExt.swift:75
      'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Annotations

Check notice on line 338 in MeowBili/Video/VideoDetailView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Video/VideoDetailView.swift#L338

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 81 in MeowBili/Extension/UIExt.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Extension/UIExt.swift#L81

'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead

Check notice on line 312 in MeowBili/Video/VideoDetailView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Video/VideoDetailView.swift#L312

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 200 in MeowBili/Video/VideoDetailView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Video/VideoDetailView.swift#L200

Switch covers known cases, but 'AsyncImagePhase' may have additional unknown values, possibly added in future versions

Check notice on line 207 in MeowBili/Video/VideoDetailView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Video/VideoDetailView.swift#L207

Immutable value 'error' was never used; consider replacing with '_' or removing it

Check notice on line 117 in MeowBili/PersonalCenter/FollowListView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/PersonalCenter/FollowListView.swift#L117

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 120 in MeowBili/PersonalCenter/FollowListView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/PersonalCenter/FollowListView.swift#L120

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 241 in MeowBili/Video/VideoDetailView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Video/VideoDetailView.swift#L241

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 72 in MeowBili/Extension/UIExt.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Extension/UIExt.swift#L72

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 278 in MeowBili/Video/VideoDetailView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Video/VideoDetailView.swift#L278

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 80 in MeowBili/Extension/UIExt.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Extension/UIExt.swift#L80

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.

Check notice on line 121 in MeowBili/PersonalCenter/FollowListView.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/PersonalCenter/FollowListView.swift#L121

'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead

Check notice on line 75 in MeowBili/Extension/UIExt.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / DarockBili | Analysis | Build - macOS

MeowBili/Extension/UIExt.swift#L75

'kUTTypeData' was deprecated in Mac Catalyst 15.0: Use UTTypeData or UTType.data (swift) instead.