|
| 1 | +SDKROOT = $(SDKROOT__CARTHAGE_$(CARTHAGE)) // basically, iphoneos (unless «CARTHAGE» == «YES») |
| 2 | +// Carthage relies on this assumption, years standing — that SDKROOT is default or explicitly |
| 3 | +// set to `macosx` (or equivalent) under the ‘single target, multiple platform’ paradigm |
| 4 | +// because of a xcodebuild bug involving the sdk flag and implicit dependency: see «Carthage/Carthage#347». |
| 5 | +SDKROOT__CARTHAGE_YES = macosx |
| 6 | +// Importantly, the below two lines appease «Xcode.app», and get the UI to show Mac Catalyst destinations. |
| 7 | +SDKROOT__CARTHAGE_NO = iphoneos |
| 8 | +SDKROOT__CARTHAGE_ = iphoneos |
| 9 | +// …in order for ‘single target, multiple platform’ extrapolations to hold true, |
| 10 | +// all the above relies on the ability of Xcode GUI, xcodebuild, and Carthage via xcodebuild to |
| 11 | +// override «SDKROOT» based on selected destination (particularly for appletv* and watchos* platforms.) |
| 12 | +// …if the override behavior ever breaks, expect weird output and the probable need to migrate away from |
| 13 | +// the ‘single target, multiple platform’ paradigm. |
| 14 | + |
| 15 | +// …`SUPPORTED_PLATFORMS`, in service of ‘single target, multiple platform’ extrapolation, must never |
| 16 | +// engage in dollar-parentheses syntax — unless that dollar-parentheses basis is |
| 17 | +// entirely non-platform–derived, e.g. based upon `XCODE_VERSION_MAJOR`. |
| 18 | +// Note: Carthage, unfortunately, as current of v0.34.0 queries rather harshly on the platform values below |
| 19 | +// ⋯ quite early in the process, queried values not compiled into Carthage will cause hard errors. |
| 20 | +SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator |
| 21 | +TARGETED_DEVICE_FAMILY = 1,2,3,4 |
| 22 | +SKIP_INSTALL = YES |
| 23 | +DEFINES_MODULE = YES |
| 24 | +DYLIB_COMPATIBILITY_VERSION = 1 |
| 25 | +DYLIB_CURRENT_VERSION = 1 |
| 26 | +DYLIB_INSTALL_NAME_BASE = @rpath |
| 27 | +MACH_O_TYPE = mh_dylib |
| 28 | +FRAMEWORK_VERSION = A |
| 29 | + |
| 30 | +PRODUCT_NAME = SentryPrivate |
| 31 | +CURRENT_PROJECT_VERSION = 7.30.0 |
| 32 | +PRODUCT_BUNDLE_IDENTIFIER = io.sentry.SentryPrivate |
| 33 | +ALWAYS_SEARCH_USER_PATHS = NO |
| 34 | +CLANG_ENABLE_OBJC_ARC = YES |
| 35 | +CLANG_ENABLE_MODULES = YES |
| 36 | +//OTHER_CFLAGS = -Wall -Wextra -Wpedantic -Wno-gnu-conditional-omitted-operand |
| 37 | + |
| 38 | +ONLY_ACTIVE_ARCH[config=Debug] = YES |
| 39 | +GCC_OPTIMIZATION_LEVEL[config=Debug] = 0 |
| 40 | +COPY_PHASE_STRIP[config=Debug] = NO |
| 41 | + |
| 42 | +MACOSX_DEPLOYMENT_TARGET = 10.9 |
| 43 | +IPHONEOS_DEPLOYMENT_TARGET = 9.0 |
| 44 | +WATCHOS_DEPLOYMENT_TARGET = 2.0 |
| 45 | +TVOS_DEPLOYMENT_TARGET = 9.0 |
| 46 | + |
| 47 | +LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks; |
| 48 | +LD_RUNPATH_SEARCH_PATHS[sdk=iphone*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks; |
| 49 | +LD_RUNPATH_SEARCH_PATHS[sdk=watch*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks; |
| 50 | +LD_RUNPATH_SEARCH_PATHS[sdk=appletv*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks; |
| 51 | + |
| 52 | +OTHER_LDFLAGS[sdk=watch*] = $(inherited) -framework WatchKit |
| 53 | + |
| 54 | +//SWIFT_INCLUDE_PATHS = $(SRCROOT)/Sources/Sentry |
| 55 | + |
| 56 | +// SWIFT_VERSION is only recognized by Xcode 8 and higher. |
| 57 | +// Prior versions of Xcode support only one Swift version. |
| 58 | +// SWIFT_VERSION = 3.1 |
| 59 | + |
| 60 | +// Although `YES` is the default for iOS targets, command-line output via `xcodebuild -showBuildSettings` |
| 61 | +// will not emit this value unless it is explicitly set. |
| 62 | +SUPPORTS_MACCATALYST = YES |
| 63 | + |
| 64 | +CLANG_CXX_LANGUAGE_STANDARD = c++14 |
| 65 | +CLANG_CXX_LIBRARY = libc++ |
0 commit comments