Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions OCHamcrest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,6 @@
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = "$(SOURCE_ROOT)/Resources/OCHamcrest-Info.plist";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
SUPPORTS_MACCATALYST = YES;
TARGETED_DEVICE_FAMILY = "1,2,3,4,7";
WRAPPER_EXTENSION = framework;
Expand All @@ -1328,7 +1327,6 @@
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = "$(SOURCE_ROOT)/Resources/OCHamcrest-Info.plist";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
SUPPORTS_MACCATALYST = YES;
TARGETED_DEVICE_FAMILY = "1,2,3,4,7";
WRAPPER_EXTENSION = framework;
Expand Down
18 changes: 9 additions & 9 deletions Resources/makeXCFramework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ WATCH_SIMULATOR_ARCHIVE_PATH="./build/archives/watch_sim.xcarchive"
XR_ARCHIVE_PATH="./build/archives/xr.xcarchive"
XR_SIMULATOR_ARCHIVE_PATH="./build/archives/xr_sim.xcarchive"

xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${MACOS_ARCHIVE_PATH} -sdk macosx SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${MACOS_ARCHIVE_PATH} -destination 'generic/platform=macOS' SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${CATALYST_ARCHIVE_PATH} -destination 'generic/platform=macOS,variant=Mac Catalyst' SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${IOS_ARCHIVE_PATH} -sdk iphoneos -destination "generic/platform=iOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${IOS_SIMULATOR_ARCHIVE_PATH} -sdk iphonesimulator -destination "generic/platform=iOS Simulator" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${TV_ARCHIVE_PATH} -sdk appletvos -destination "generic/platform=tvOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${TV_SIMULATOR_ARCHIVE_PATH} -sdk appletvsimulator -destination "generic/platform=tvOS Simulator" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${WATCH_ARCHIVE_PATH} -sdk watchos -destination "generic/platform=watchOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${WATCH_SIMULATOR_ARCHIVE_PATH} -sdk watchsimulator -destination "generic/platform=watchOS Simulator" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${XR_ARCHIVE_PATH} -sdk xros -destination "generic/platform=visionOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${XR_SIMULATOR_ARCHIVE_PATH} -sdk xrsimulator -destination "generic/platform=visionOS Simulator" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${IOS_ARCHIVE_PATH} -destination "generic/platform=iOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${IOS_SIMULATOR_ARCHIVE_PATH} -destination "generic/platform=iOS Simulator" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${TV_ARCHIVE_PATH} -destination "generic/platform=tvOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${TV_SIMULATOR_ARCHIVE_PATH} -destination "generic/platform=tvOS Simulator" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${WATCH_ARCHIVE_PATH} -destination "generic/platform=watchOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${WATCH_SIMULATOR_ARCHIVE_PATH} -destination "generic/platform=watchOS Simulator" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${XR_ARCHIVE_PATH} -destination "generic/platform=visionOS" SKIP_INSTALL=NO
xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${FRAMEWORK_NAME} -archivePath ${XR_SIMULATOR_ARCHIVE_PATH} -destination "generic/platform=visionOS Simulator" SKIP_INSTALL=NO

xcodebuild -create-xcframework \
-archive ${MACOS_ARCHIVE_PATH} -framework ${FRAMEWORK_NAME}.framework \
Expand Down