Skip to content

Commit 425a406

Browse files
committed
Use generic build destination
1 parent 954ece0 commit 425a406

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
build:
33
# https://developer.apple.com/documentation/xcode/building-swift-packages-or-apps-that-use-them-in-continuous-integration-workflows
44
# https://stackoverflow.com/questions/4969932/separate-build-directory-using-xcodebuild
5-
xcodebuild -disableAutomaticPackageResolution -clonedSourcePackagesDirPath .swiftpm-packages -scheme MCAPSpotlightImporter SYMROOT=$(PWD)/build -configuration Release clean build
5+
xcodebuild \
6+
-disableAutomaticPackageResolution \
7+
-clonedSourcePackagesDirPath .swiftpm-packages \
8+
-destination generic/platform=macOS \
9+
-scheme MCAPSpotlightImporter \
10+
SYMROOT=$(PWD)/build \
11+
-configuration Release \
12+
clean build
13+
file build/Release/MCAPSpotlightImporter.mdimporter/Contents/MacOS/MCAPSpotlightImporter
614
cd build/Release && zip -r MCAPSpotlightImporter.mdimporter.zip MCAPSpotlightImporter.mdimporter
715
cd build/Release && zip -r MCAPSpotlightImporter.mdimporter.dSYM.zip MCAPSpotlightImporter.mdimporter.dSYM
816

0 commit comments

Comments
 (0)