Skip to content

Commit

Permalink
Use OTHER_TAPI_FLAGS
Browse files Browse the repository at this point in the history
TAPI_LANGUAGE and TAPI_LANGUAGE_STANDARD are only supported from XCode 14.3 onwards.
  • Loading branch information
ksperling-apple committed Dec 22, 2023
1 parent 8c1e2f6 commit d1f275f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/darwin/Framework/Matter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2042,14 +2042,12 @@
MACOSX_DEPLOYMENT_TARGET = 11.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = "-Wl,-unexported_symbol,\"__Z*\"";
OTHER_TAPI_FLAGS = "-fobjc-arc -fvisibility=hidden";
OTHER_TAPI_FLAGS = "-x objective-c++ -std=gnu++17 -fvisibility=hidden -fobjc-arc";
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvos appletvsimulator watchos watchsimulator";
SUPPORTS_TEXT_BASED_API = YES;
SWIFT_INSTALL_OBJC_HEADER = NO;
TAPI_ENABLE_PROJECT_HEADERS = YES;
TAPI_LANGUAGE = "objective-c++";
TAPI_LANGUAGE_STANDARD = "gnu++17";
TARGETED_DEVICE_FAMILY = "1,2,3,4";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand Down Expand Up @@ -2210,13 +2208,11 @@
MACOSX_DEPLOYMENT_TARGET = 11.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = "-Wl,-unexported_symbol,\"__Z*\"";
OTHER_TAPI_FLAGS = "-fobjc-arc -fvisibility=hidden";
OTHER_TAPI_FLAGS = "-x objective-c++ -std=gnu++17 -fvisibility=hidden -fobjc-arc";
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvos appletvsimulator watchos watchsimulator";
SUPPORTS_TEXT_BASED_API = YES;
SWIFT_INSTALL_OBJC_HEADER = NO;
TAPI_LANGUAGE = "objective-c++";
TAPI_LANGUAGE_STANDARD = "gnu++17";
TARGETED_DEVICE_FAMILY = "1,2,3,4";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand Down

0 comments on commit d1f275f

Please sign in to comment.