Skip to content

Commit

Permalink
Add building support for visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
FlineDevPublic committed Jan 30, 2024
1 parent 6160d53 commit c1e5d86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// swift-tools-version: 5.8
// swift-tools-version: 5.9
import PackageDescription

let package = Package(
name: "ReviewKit",
platforms: [.iOS(.v11), .macOS(.v10_14), .macCatalyst(.v14)],
platforms: [.iOS(.v12), .macOS(.v10_14), .macCatalyst(.v14), .visionOS(.v1)],
products: [.library(name: "ReviewKit", targets: ["ReviewKit"])],
dependencies: [],
targets: [.target(name: "ReviewKit", dependencies: [])]
Expand Down
2 changes: 1 addition & 1 deletion Sources/ReviewKit/ReviewKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public enum ReviewKit {
} else {
SKStoreReviewController.requestReview()
}
#else
#elseif os(macOS)
SKStoreReviewController.requestReview()
#endif
}
Expand Down

0 comments on commit c1e5d86

Please sign in to comment.