fix: universal build for intel

This commit is contained in:
Owen Gretzinger
2025-07-11 10:43:43 -04:00
parent 862e443f04
commit 8433af6c6e
4 changed files with 11 additions and 5 deletions
+5 -1
View File
@@ -35,7 +35,11 @@ Later:
## Local Development
Open the project in Xcode
Open the project in Xcode.
For faster development builds, ensure `ONLY_ACTIVE_ARCH = YES` is set in your Debug configuration (this is already set by default). This builds only for your current architecture, speeding up compilation.
For distribution builds that need to support both Intel and Apple Silicon Macs, the release process automatically uses `ONLY_ACTIVE_ARCH = NO` to create universal binaries.
## Releasing a New Version
+2 -2
View File
@@ -7,8 +7,8 @@
<pubDate>Fri, 11 Jul 2025 08:36:54 -0400</pubDate>
<sparkle:version>1</sparkle:version>
<sparkle:shortVersionString>1.0</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
<enclosure url="https://github.com/owengretzinger/notetaker/releases/download/v1.0/Notetaker-1.0.dmg" length="4108431" type="application/octet-stream"/>
<sparkle:minimumSystemVersion>14.0</sparkle:minimumSystemVersion>
<enclosure url="https://github.com/owengretzinger/notetaker/releases/download/v1.0/Notetaker-1.0.dmg" length="4108459" type="application/octet-stream"/>
</item>
</channel>
</rss>
+4 -2
View File
@@ -204,7 +204,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
@@ -261,7 +261,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
@@ -272,6 +272,7 @@
CC5718282E201D8E0042BA88 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "arm64 x86_64";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = notetaker/notetaker.entitlements;
@@ -303,6 +304,7 @@
CC5718292E201D8E0042BA88 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "arm64 x86_64";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = notetaker/notetaker.entitlements;
Binary file not shown.