Skip to content

Commit 7a0d6c7

Browse files
committed
Bump minimum OSX version for next release
1 parent 4c9688d commit 7a0d6c7

File tree

3 files changed

+38
-27
lines changed

3 files changed

+38
-27
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*.rtf#
1010
*.gmo
1111
*.pot
12-
/bin/win32/Unicode Debug/
12+
x/bin/win32/Unicode Debug/
1313
/bin/win32/Unicode Release/
1414
/bin/win32/Debug/
1515
/bin/win32/Adapt_It.depend
@@ -59,3 +59,6 @@
5959
/setup Git/Git_Downloader_2_12_1_4AI.exe
6060
/bin/win32/Adapt_It.aps
6161
/setup Git/Git_Downloader_2_18_0_4AI.exe
62+
.DS_Store
63+
.DS_Store
64+
.DS_Store

bin/mac/AdaptIt.xcodeproj/project.pbxproj

+13-15
Original file line numberDiff line numberDiff line change
@@ -1242,8 +1242,8 @@
12421242
GCC_WARN_UNUSED_VARIABLE = YES;
12431243
HEADER_SEARCH_PATHS = "$(inherited)";
12441244
LIBRARY_SEARCH_PATHS = "";
1245-
MACOSX_DEPLOYMENT_TARGET = 10.9;
1246-
ONLY_ACTIVE_ARCH = YES;
1245+
MACOSX_DEPLOYMENT_TARGET = 11.0;
1246+
ONLY_ACTIVE_ARCH = NO;
12471247
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
12481248
SDKROOT = "";
12491249
USER_HEADER_SEARCH_PATHS = "$(inherited)";
@@ -1263,7 +1263,7 @@
12631263
COMBINE_HIDPI_IMAGES = YES;
12641264
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)";
12651265
COPY_PHASE_STRIP = NO;
1266-
CURRENT_PROJECT_VERSION = 6.10.7;
1266+
CURRENT_PROJECT_VERSION = 6.11.1;
12671267
DEVELOPMENT_TEAM = C5GMB572MV;
12681268
ENABLE_HARDENED_RUNTIME = YES;
12691269
FRAMEWORK_SEARCH_PATHS = "";
@@ -1296,9 +1296,9 @@
12961296
INFOPLIST_FILE = Info.plist;
12971297
INSTALL_PATH = "$(HOME)/Applications";
12981298
LIBRARY_SEARCH_PATHS = "$(WXWIN)/build/osx/build/Debug";
1299-
MACOSX_DEPLOYMENT_TARGET = 10.12;
1300-
MARKETING_VERSION = 6.10.7;
1301-
ONLY_ACTIVE_ARCH = YES;
1299+
MACOSX_DEPLOYMENT_TARGET = 11.0;
1300+
MARKETING_VERSION = 6.11.1;
1301+
ONLY_ACTIVE_ARCH = NO;
13021302
OTHER_CFLAGS = "";
13031303
OTHER_CPLUSPLUSFLAGS = "";
13041304
OTHER_LDFLAGS = (
@@ -1313,9 +1313,8 @@
13131313
PRODUCT_NAME = "Adapt It";
13141314
PRODUCT_NAME_NO_SPACE = AdaptIt;
13151315
PROVISIONING_PROFILE_SPECIFIER = "";
1316-
SDKROOT = "";
1316+
SDKROOT = macosx;
13171317
USER_HEADER_SEARCH_PATHS = "$(WXWIN)/build/osx/setup/cocoa/include ${BOOST_ROOT} ${WXWIN}/include .";
1318-
VALID_ARCHS = "x86_64 i386";
13191318
WARNING_CFLAGS = (
13201319
"-Wmost",
13211320
"-Wno-four-char-constants",
@@ -1361,7 +1360,7 @@
13611360
GCC_WARN_UNINITIALIZED_AUTOS = YES;
13621361
GCC_WARN_UNUSED_FUNCTION = YES;
13631362
GCC_WARN_UNUSED_VARIABLE = YES;
1364-
MACOSX_DEPLOYMENT_TARGET = 10.9;
1363+
MACOSX_DEPLOYMENT_TARGET = 11.0;
13651364
SDKROOT = "";
13661365
WARNING_CFLAGS = "";
13671366
};
@@ -1378,7 +1377,7 @@
13781377
CODE_SIGN_STYLE = Automatic;
13791378
COMBINE_HIDPI_IMAGES = YES;
13801379
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)";
1381-
CURRENT_PROJECT_VERSION = 6.10.7;
1380+
CURRENT_PROJECT_VERSION = 6.11.1;
13821381
DEVELOPMENT_TEAM = C5GMB572MV;
13831382
ENABLE_HARDENED_RUNTIME = YES;
13841383
FRAMEWORK_SEARCH_PATHS = "";
@@ -1411,9 +1410,9 @@
14111410
INFOPLIST_FILE = Info.plist;
14121411
INSTALL_PATH = "$(HOME)/Applications";
14131412
LIBRARY_SEARCH_PATHS = "$(WXWIN)/build/osx/build/Release";
1414-
MACOSX_DEPLOYMENT_TARGET = 10.12;
1415-
MARKETING_VERSION = 6.10.7;
1416-
ONLY_ACTIVE_ARCH = YES;
1413+
MACOSX_DEPLOYMENT_TARGET = 11.0;
1414+
MARKETING_VERSION = 6.11.1;
1415+
ONLY_ACTIVE_ARCH = NO;
14171416
OTHER_CFLAGS = "";
14181417
OTHER_CPLUSPLUSFLAGS = "";
14191418
OTHER_LDFLAGS = (
@@ -1428,9 +1427,8 @@
14281427
PRODUCT_NAME = "Adapt It";
14291428
PRODUCT_NAME_NO_SPACE = AdaptIt;
14301429
PROVISIONING_PROFILE_SPECIFIER = "";
1431-
SDKROOT = "";
1430+
SDKROOT = macosx;
14321431
USER_HEADER_SEARCH_PATHS = "$(WXWIN)/build/osx/setup/cocoa/include ${BOOST_ROOT} ${WXWIN}/include .";
1433-
VALID_ARCHS = "x86_64 i386";
14341432
VERSIONING_SYSTEM = "apple-generic";
14351433
WARNING_CFLAGS = (
14361434
"-Wmost",

platform_setup_docs/macos setup.md

+21-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Adapt It setup
22

3-
These are a couple other setup-related items I've run across with macOS.
3+
These are a couple other setup-related items I've run across with macOS. This file is meant to supplement the "Setting up Adapt It on OS X..." files, which are a bit of a mess right now (mostly because an errant edit of mine clipped out the back half of the file). Your mileage may vary.
44

55
## Suppress debug asserts in Release mode
66

@@ -15,6 +15,26 @@ We have to make one change to the wxWidgets library source before building; the
1515
// #define wxDEBUG_LEVEL 2
1616
#endif
1717

18+
## Set the xcode build path
19+
20+
We’re using a static build of wxWidgets for osx. Part of this setup requires a known path for the library when built -- a configuration that Apple deems "legacy" these days.
21+
22+
1. Open Xcode’s Settings > Locations tab, and click the Advanced button.
23+
2. In the popup that appears, select the Legacy radio button.
24+
25+
*Side note:* I’ve needed to jump back and forth between the legacy build location and the default one when moving from Adapt It and Adapt It Mobile, respectively. You'll likely only need to do this if you've got other/newer apps you support along with Adapt It.
26+
27+
## Build wxwidgets
28+
29+
As of May 2022 / wxWidgets 3.1.6 / Adapt It 6.10.7, we want to build for both Intel (x64) and Mac Silicon:
30+
31+
1. Open wxcocoa.xcodeproj and select the wxcocoa project>static target.
32+
2. From the build path / configuration bar, select static > Any Mac (Intel, Apple Silicon).
33+
3. Select the Project > Build For > Running menu command to build the debug version.
34+
4. Select the Project > Build For > Profileing menu command to build the release version.
35+
36+
If all goes well, the builds will succeed and end up in the osx>build>Debug and osx>build>Release subdirectories, respectively, as the file `libwx_osx_cocoa.static.a`.
37+
1838
## Environment variables
1939

2040
Setting the environment variables properly is a perennial topic in Adapt It's macOS port discussions. Apple has changed how this is done several times over the years, causing no end of hair-pulling and "how do I do this now?" conversations.
@@ -76,16 +96,6 @@ As of May 2022, there are two pieces needed to get a good build from _both_ the
7696
</dict>
7797
</plist>
7898

79-
80-
## Setting the wxwidgets build path
81-
82-
We’re using a static build of wxWidgets for osx. Part of this setup requires a known path for the library when built -- a configuration that Apple deems "legacy" these days.
83-
84-
1. Open Xcode’s Settings > Locations tab, and click the Advanced button.
85-
2. In the popup that appears, select the Legacy radio button.
86-
87-
*Side note:* I’ve needed to jump back and forth between the legacy build location and the default one when moving from Adapt It and Adapt It Mobile, respectively. You'll likely only need to do this if you've got other/newer apps you support along with Adapt It.
88-
8999
## Command line build / archive
90100

91101
Provided you’ve got the command line tools for Xcode installed (the command line should prompt to install if not), you can build from the command line using the following commands:

0 commit comments

Comments
 (0)