Skip to content

Commit 504a062

Browse files
authored
Merge pull request #3 from akinbender/feature/test-prerelease
Feature/test prerelease
2 parents 02f2d5b + 3a9e4ca commit 504a062

8 files changed

Lines changed: 175 additions & 160 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8-
8+
workflow_dispatch:
9+
910
jobs:
1011
build:
1112
runs-on: macos-15
@@ -24,7 +25,7 @@ jobs:
2425
- name: Build native XCFramework
2526
run: |
2627
cd UsbSerialForMacOS/Native
27-
./build-native.sh
28+
./build-dylib.sh
2829
2930
- name: Install .NET workloads
3031
run: |

.github/workflows/publish-nuget.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build native XCFramework
3030
run: |
3131
cd UsbSerialForMacOS/Native
32-
./build-native.sh
32+
./build-dylib.sh
3333
3434
- name: Install .NET workloads
3535
run: |

CHANGELOG.md

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,3 @@
11
# Change Log
22

3-
All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines.
4-
5-
<a name="0.9.1"></a>
6-
## [0.9.1](https://www.github.com/akinbender/UsbSerialForMacOS/releases/tag/v0.9.1) (2025-07-31)
7-
8-
### Bug Fixes
9-
10-
* nuget package ([dab3073](https://www.github.com/akinbender/UsbSerialForMacOS/commit/dab30731a8e848b078ba729694ef0ff9fe455186))
11-
12-
<a name="0.9.0"></a>
13-
## [0.9.0](https://www.github.com/akinbender/UsbSerialForMacOS/releases/tag/v0.9.0) (2025-07-31)
14-
15-
### Bug Fixes
16-
17-
* nuget readme ([838edc0](https://www.github.com/akinbender/UsbSerialForMacOS/commit/838edc0081322a7d9420cc586af4c8eae9d94798))
18-
19-
<a name="0.9.0-test-prerelease.1"></a>
20-
## [0.9.0-test-prerelease.1](https://www.github.com/akinbender/UsbSerialForMacOS/releases/tag/v0.9.0-test-prerelease.1) (2025-07-31)
21-
22-
### Bug Fixes
23-
24-
* push to nuget ([9bb0b01](https://www.github.com/akinbender/UsbSerialForMacOS/commit/9bb0b01d0995f60307212df0a204ee37348c66c9))
25-
26-
<a name="0.9.0-test-prerelease.0"></a>
27-
## [0.9.0-test-prerelease.0](https://www.github.com/akinbender/UsbSerialForMacOS/releases/tag/v0.9.0-test-prerelease.0) (2025-07-31)
28-
29-
### Features
30-
31-
* nuget ([30663e8](https://www.github.com/akinbender/UsbSerialForMacOS/commit/30663e8e4a393004594a5007265ff252acba9b6b))
32-
33-
<a name="0.8.1-test-prerelease.1"></a>
34-
## [0.8.1-test-prerelease.1](https://www.github.com/akinbender/UsbSerialForMacOS/releases/tag/v0.8.1-test-prerelease.1) (2025-07-31)
35-
36-
### Bug Fixes
37-
38-
* csproj ([c0150df](https://www.github.com/akinbender/UsbSerialForMacOS/commit/c0150df14d51ab8d5e0ccd3f0d0d39f1be47346d))
39-
40-
<a name="0.8.1-test-prerelease.0"></a>
41-
## [0.8.1-test-prerelease.0](https://www.github.com/akinbender/UsbSerialForMacOS/releases/tag/v0.8.1-test-prerelease.0) (2025-07-31)
42-
43-
### Bug Fixes
44-
45-
* minor fixes ([f27e578](https://www.github.com/akinbender/UsbSerialForMacOS/commit/f27e5781882b7f7135a1419ed439131205ff6aef))
46-
* versionize ([d913255](https://www.github.com/akinbender/UsbSerialForMacOS/commit/d91325527ea9e6ac63f18ee1a362b0e665951224))
47-
48-
<a name="0.8.0"></a>
49-
## [0.8.0](https://www.github.com/akinbender/UsbSerialForMacOS/releases/tag/v0.8.0) (2025-07-28)
50-
51-
### Bug Fixes
52-
53-
* Update project file and build scripts for mac ([d3fc1f2](https://www.github.com/akinbender/UsbSerialForMacOS/commit/d3fc1f2b84a2f68482b5ee7c1323d149f5f7fb35))
54-
3+
All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines.

UsbSerialForMacOS/Native/UsbSerialForMacOS.xcodeproj/project.pbxproj

Lines changed: 34 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,19 @@
77
objects = {
88

99
/* Begin PBXFileReference section */
10-
8282F9592E36B9C900AE2839 /* UsbSerialForMacOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UsbSerialForMacOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
10+
825383582E3E340B00F62FAA /* libUsbSerialForMacOS.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libUsbSerialForMacOS.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
1111
/* End PBXFileReference section */
1212

13-
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
14-
8282F95E2E36B9C900AE2839 /* Exceptions for "UsbSerialForMacOS" folder in "UsbSerialForMacOS" target */ = {
15-
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
16-
publicHeaders = (
17-
UsbSerialForMacOS.h,
18-
);
19-
target = 8282F9582E36B9C900AE2839 /* UsbSerialForMacOS */;
20-
};
21-
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
22-
2313
/* Begin PBXFileSystemSynchronizedRootGroup section */
24-
8282F95B2E36B9C900AE2839 /* UsbSerialForMacOS */ = {
14+
8253835E2E3E342C00F62FAA /* UsbSerialForMacOS */ = {
2515
isa = PBXFileSystemSynchronizedRootGroup;
26-
exceptions = (
27-
8282F95E2E36B9C900AE2839 /* Exceptions for "UsbSerialForMacOS" folder in "UsbSerialForMacOS" target */,
28-
);
2916
path = UsbSerialForMacOS;
3017
sourceTree = "<group>";
3118
};
3219
/* End PBXFileSystemSynchronizedRootGroup section */
3320

3421
/* Begin PBXFrameworksBuildPhase section */
35-
8282F9562E36B9C900AE2839 /* Frameworks */ = {
22+
825383562E3E340B00F62FAA /* Frameworks */ = {
3623
isa = PBXFrameworksBuildPhase;
3724
buildActionMask = 2147483647;
3825
files = (
@@ -45,23 +32,15 @@
4532
8282F94F2E36B9C900AE2839 = {
4633
isa = PBXGroup;
4734
children = (
48-
8282F95B2E36B9C900AE2839 /* UsbSerialForMacOS */,
49-
8282F95A2E36B9C900AE2839 /* Products */,
35+
825383582E3E340B00F62FAA /* libUsbSerialForMacOS.dylib */,
36+
8253835E2E3E342C00F62FAA /* UsbSerialForMacOS */,
5037
);
5138
sourceTree = "<group>";
5239
};
53-
8282F95A2E36B9C900AE2839 /* Products */ = {
54-
isa = PBXGroup;
55-
children = (
56-
8282F9592E36B9C900AE2839 /* UsbSerialForMacOS.framework */,
57-
);
58-
name = Products;
59-
sourceTree = "<group>";
60-
};
6140
/* End PBXGroup section */
6241

6342
/* Begin PBXHeadersBuildPhase section */
64-
8282F9542E36B9C900AE2839 /* Headers */ = {
43+
825383542E3E340B00F62FAA /* Headers */ = {
6544
isa = PBXHeadersBuildPhase;
6645
buildActionMask = 2147483647;
6746
files = (
@@ -71,28 +50,27 @@
7150
/* End PBXHeadersBuildPhase section */
7251

7352
/* Begin PBXNativeTarget section */
74-
8282F9582E36B9C900AE2839 /* UsbSerialForMacOS */ = {
53+
825383572E3E340B00F62FAA /* UsbSerialForMacOS */ = {
7554
isa = PBXNativeTarget;
76-
buildConfigurationList = 8282F95F2E36B9C900AE2839 /* Build configuration list for PBXNativeTarget "UsbSerialForMacOS" */;
55+
buildConfigurationList = 825383592E3E340B00F62FAA /* Build configuration list for PBXNativeTarget "UsbSerialForMacOS" */;
7756
buildPhases = (
78-
8282F9542E36B9C900AE2839 /* Headers */,
79-
8282F9552E36B9C900AE2839 /* Sources */,
80-
8282F9562E36B9C900AE2839 /* Frameworks */,
81-
8282F9572E36B9C900AE2839 /* Resources */,
57+
825383542E3E340B00F62FAA /* Headers */,
58+
825383552E3E340B00F62FAA /* Sources */,
59+
825383562E3E340B00F62FAA /* Frameworks */,
8260
);
8361
buildRules = (
8462
);
8563
dependencies = (
8664
);
8765
fileSystemSynchronizedGroups = (
88-
8282F95B2E36B9C900AE2839 /* UsbSerialForMacOS */,
66+
8253835E2E3E342C00F62FAA /* UsbSerialForMacOS */,
8967
);
9068
name = UsbSerialForMacOS;
9169
packageProductDependencies = (
9270
);
9371
productName = UsbSerialForMacOS;
94-
productReference = 8282F9592E36B9C900AE2839 /* UsbSerialForMacOS.framework */;
95-
productType = "com.apple.product-type.framework";
72+
productReference = 825383582E3E340B00F62FAA /* libUsbSerialForMacOS.dylib */;
73+
productType = "com.apple.product-type.library.dynamic";
9674
};
9775
/* End PBXNativeTarget section */
9876

@@ -103,9 +81,8 @@
10381
BuildIndependentTargetsInParallel = 1;
10482
LastUpgradeCheck = 1640;
10583
TargetAttributes = {
106-
8282F9582E36B9C900AE2839 = {
84+
825383572E3E340B00F62FAA = {
10785
CreatedOnToolsVersion = 16.4;
108-
LastSwiftMigration = 1640;
10986
};
11087
};
11188
};
@@ -119,27 +96,17 @@
11996
mainGroup = 8282F94F2E36B9C900AE2839;
12097
minimizedProjectReferenceProxies = 1;
12198
preferredProjectObjectVersion = 77;
122-
productRefGroup = 8282F95A2E36B9C900AE2839 /* Products */;
99+
productRefGroup = 8282F94F2E36B9C900AE2839;
123100
projectDirPath = "";
124101
projectRoot = "";
125102
targets = (
126-
8282F9582E36B9C900AE2839 /* UsbSerialForMacOS */,
103+
825383572E3E340B00F62FAA /* UsbSerialForMacOS */,
127104
);
128105
};
129106
/* End PBXProject section */
130107

131-
/* Begin PBXResourcesBuildPhase section */
132-
8282F9572E36B9C900AE2839 /* Resources */ = {
133-
isa = PBXResourcesBuildPhase;
134-
buildActionMask = 2147483647;
135-
files = (
136-
);
137-
runOnlyForDeploymentPostprocessing = 0;
138-
};
139-
/* End PBXResourcesBuildPhase section */
140-
141108
/* Begin PBXSourcesBuildPhase section */
142-
8282F9552E36B9C900AE2839 /* Sources */ = {
109+
825383552E3E340B00F62FAA /* Sources */ = {
143110
isa = PBXSourcesBuildPhase;
144111
buildActionMask = 2147483647;
145112
files = (
@@ -149,71 +116,32 @@
149116
/* End PBXSourcesBuildPhase section */
150117

151118
/* Begin XCBuildConfiguration section */
152-
8282F9602E36B9C900AE2839 /* Debug */ = {
119+
8253835A2E3E340B00F62FAA /* Debug */ = {
153120
isa = XCBuildConfiguration;
154121
buildSettings = {
155-
CLANG_ENABLE_MODULES = YES;
156122
CODE_SIGN_STYLE = Automatic;
157-
COMBINE_HIDPI_IMAGES = YES;
158-
CURRENT_PROJECT_VERSION = 1;
159-
DEFINES_MODULE = YES;
160123
DYLIB_COMPATIBILITY_VERSION = 1;
161124
DYLIB_CURRENT_VERSION = 1;
162-
DYLIB_INSTALL_NAME_BASE = "@rpath";
163-
ENABLE_MODULE_VERIFIER = YES;
164-
GENERATE_INFOPLIST_FILE = YES;
165-
INFOPLIST_KEY_NSHumanReadableCopyright = "";
166-
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
167-
LD_RUNPATH_SEARCH_PATHS = (
168-
"$(inherited)",
169-
"@executable_path/../Frameworks",
170-
"@loader_path/Frameworks",
171-
);
172-
MARKETING_VERSION = 1.0;
173-
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
174-
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
175-
PRODUCT_BUNDLE_IDENTIFIER = akinbender.UsbSerialForMacOS;
176-
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
125+
EXECUTABLE_PREFIX = lib;
126+
PRODUCT_NAME = "$(TARGET_NAME)";
177127
SKIP_INSTALL = YES;
178128
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
179129
SUPPORTS_MACCATALYST = YES;
180-
SWIFT_EMIT_LOC_STRINGS = YES;
181-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
182-
SWIFT_VERSION = 6.0;
183130
TARGETED_DEVICE_FAMILY = 2;
184131
};
185132
name = Debug;
186133
};
187-
8282F9612E36B9C900AE2839 /* Release */ = {
134+
8253835B2E3E340B00F62FAA /* Release */ = {
188135
isa = XCBuildConfiguration;
189136
buildSettings = {
190-
CLANG_ENABLE_MODULES = YES;
191137
CODE_SIGN_STYLE = Automatic;
192-
COMBINE_HIDPI_IMAGES = YES;
193-
CURRENT_PROJECT_VERSION = 1;
194-
DEFINES_MODULE = YES;
195138
DYLIB_COMPATIBILITY_VERSION = 1;
196139
DYLIB_CURRENT_VERSION = 1;
197-
DYLIB_INSTALL_NAME_BASE = "@rpath";
198-
ENABLE_MODULE_VERIFIER = YES;
199-
GENERATE_INFOPLIST_FILE = YES;
200-
INFOPLIST_KEY_NSHumanReadableCopyright = "";
201-
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
202-
LD_RUNPATH_SEARCH_PATHS = (
203-
"$(inherited)",
204-
"@executable_path/../Frameworks",
205-
"@loader_path/Frameworks",
206-
);
207-
MARKETING_VERSION = 1.0;
208-
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
209-
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
210-
PRODUCT_BUNDLE_IDENTIFIER = akinbender.UsbSerialForMacOS;
211-
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
140+
EXECUTABLE_PREFIX = lib;
141+
PRODUCT_NAME = "$(TARGET_NAME)";
212142
SKIP_INSTALL = YES;
213143
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
214144
SUPPORTS_MACCATALYST = YES;
215-
SWIFT_EMIT_LOC_STRINGS = YES;
216-
SWIFT_VERSION = 6.0;
217145
TARGETED_DEVICE_FAMILY = 2;
218146
};
219147
name = Release;
@@ -251,6 +179,7 @@
251179
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
252180
CLANG_WARN_UNREACHABLE_CODE = YES;
253181
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
182+
CODE_SIGN_STYLE = Manual;
254183
COPY_PHASE_STRIP = NO;
255184
CURRENT_PROJECT_VERSION = 1;
256185
DEBUG_INFORMATION_FORMAT = dwarf;
@@ -277,6 +206,7 @@
277206
MTL_FAST_MATH = YES;
278207
ONLY_ACTIVE_ARCH = YES;
279208
SDKROOT = macosx;
209+
SWIFT_VERSION = 5.0;
280210
VERSIONING_SYSTEM = "apple-generic";
281211
VERSION_INFO_PREFIX = "";
282212
};
@@ -315,6 +245,7 @@
315245
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
316246
CLANG_WARN_UNREACHABLE_CODE = YES;
317247
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
248+
CODE_SIGN_STYLE = Manual;
318249
COPY_PHASE_STRIP = NO;
319250
CURRENT_PROJECT_VERSION = 1;
320251
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
@@ -334,6 +265,7 @@
334265
MTL_ENABLE_DEBUG_INFO = NO;
335266
MTL_FAST_MATH = YES;
336267
SDKROOT = macosx;
268+
SWIFT_VERSION = 5.0;
337269
VERSIONING_SYSTEM = "apple-generic";
338270
VERSION_INFO_PREFIX = "";
339271
};
@@ -342,20 +274,20 @@
342274
/* End XCBuildConfiguration section */
343275

344276
/* Begin XCConfigurationList section */
345-
8282F9532E36B9C900AE2839 /* Build configuration list for PBXProject "UsbSerialForMacOS" */ = {
277+
825383592E3E340B00F62FAA /* Build configuration list for PBXNativeTarget "UsbSerialForMacOS" */ = {
346278
isa = XCConfigurationList;
347279
buildConfigurations = (
348-
8282F9622E36B9C900AE2839 /* Debug */,
349-
8282F9632E36B9C900AE2839 /* Release */,
280+
8253835A2E3E340B00F62FAA /* Debug */,
281+
8253835B2E3E340B00F62FAA /* Release */,
350282
);
351283
defaultConfigurationIsVisible = 0;
352284
defaultConfigurationName = Release;
353285
};
354-
8282F95F2E36B9C900AE2839 /* Build configuration list for PBXNativeTarget "UsbSerialForMacOS" */ = {
286+
8282F9532E36B9C900AE2839 /* Build configuration list for PBXProject "UsbSerialForMacOS" */ = {
355287
isa = XCConfigurationList;
356288
buildConfigurations = (
357-
8282F9602E36B9C900AE2839 /* Debug */,
358-
8282F9612E36B9C900AE2839 /* Release */,
289+
8282F9622E36B9C900AE2839 /* Debug */,
290+
8282F9632E36B9C900AE2839 /* Release */,
359291
);
360292
defaultConfigurationIsVisible = 0;
361293
defaultConfigurationName = Release;

0 commit comments

Comments
 (0)