0b9176874e
Update target architectures to support building with the whole range of supported Xcode versions by not targeting i386 by default, as well as adding an arm64 target. Targeting i386 results in a deprecation error starting with Xcode 10: error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture.
21 lines
813 B
Plaintext
21 lines
813 B
Plaintext
WXTOOLKIT = cocoa
|
|
WXTOOLKITUPPER = COCOA
|
|
|
|
#include "wx.xcconfig"
|
|
|
|
MACOSX_DEPLOYMENT_TARGET = 10.10
|
|
MACOSX_DEPLOYMENT_TARGET[arch=arm64] = 11.0
|
|
|
|
GCC_VERSION =
|
|
|
|
// Set ARCHS explicitly for when Xcode stops targeting x86_64 by default.
|
|
// Unknown targets are ignored by Xcode (arm64 requires Xcode 12 or later).
|
|
ARCHS = x86_64 arm64
|
|
|
|
// Using i386 as a target results in a deprecation error since Xcode 10 (first
|
|
// a warning in 9). If Xcode 9 or earlier is used and the i386 target is also
|
|
// needed, one solution is to enable the following line locally.
|
|
//ARCHS = i386 x86_64
|
|
|
|
OTHER_LDFLAGS = -framework WebKit -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework OpenGL -framework AVFoundation -framework CoreMedia -framework Security -framework QuartzCore -weak_framework AVKit
|