Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit f678c99

Browse files
authored
Merge pull request #55 from unsignedapps/fix/maccatalyst-support
Fixes Mac Catalyst support by using generic destinations properly
2 parents 9b4cc23 + f51813f commit f678c99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/CreateXCFramework/Platforms.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ enum TargetPlatform: String, ExpressibleByArgument, CaseIterable {
6060
case .macos:
6161
return [
6262
SDK (
63-
destination: "platform=macOS",
63+
destination: "generic/platform=macOS,name=Any Mac",
6464
archiveName: "macos.xcarchive",
6565
releaseFolder: "Release",
6666
buildSettings: nil
@@ -70,7 +70,7 @@ enum TargetPlatform: String, ExpressibleByArgument, CaseIterable {
7070
case .maccatalyst:
7171
return [
7272
SDK (
73-
destination: "platform=macOS,variant=Mac Catalyst",
73+
destination: "generic/platform=macOS,variant=Mac Catalyst",
7474
archiveName: "maccatalyst.xcarchive",
7575
releaseFolder: "Release-maccatalyst",
7676
buildSettings: [ "SUPPORTS_MACCATALYST": "YES" ]

0 commit comments

Comments
 (0)