Skip to content

Commit 1c2e87d

Browse files
committed
chore: update example with ios results
1 parent 8716862 commit 1c2e87d

File tree

3 files changed

+756
-2
lines changed

3 files changed

+756
-2
lines changed

example/ios/FastOpenpgpExample.xcodeproj/project.pbxproj

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,14 +564,15 @@
564564
COPY_PHASE_STRIP = NO;
565565
ENABLE_STRICT_OBJC_MSGSEND = YES;
566566
ENABLE_TESTABILITY = YES;
567-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
567+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
568568
GCC_C_LANGUAGE_STANDARD = gnu99;
569569
GCC_DYNAMIC_NO_PIC = NO;
570570
GCC_NO_COMMON_BLOCKS = YES;
571571
GCC_OPTIMIZATION_LEVEL = 0;
572572
GCC_PREPROCESSOR_DEFINITIONS = (
573573
"DEBUG=1",
574574
"$(inherited)",
575+
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
575576
);
576577
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
577578
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -592,12 +593,19 @@
592593
);
593594
MTL_ENABLE_DEBUG_INFO = YES;
594595
ONLY_ACTIVE_ARCH = YES;
596+
OTHER_CFLAGS = "$(inherited)";
595597
OTHER_CPLUSPLUSFLAGS = (
596598
"$(OTHER_CFLAGS)",
597599
"-DFOLLY_NO_CONFIG",
598600
"-DFOLLY_MOBILE=1",
599601
"-DFOLLY_USE_LIBCPP=1",
600602
);
603+
OTHER_LDFLAGS = (
604+
"$(inherited)",
605+
"-Wl",
606+
"-ld_classic",
607+
);
608+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
601609
SDKROOT = iphoneos;
602610
};
603611
name = Debug;
@@ -635,9 +643,13 @@
635643
COPY_PHASE_STRIP = YES;
636644
ENABLE_NS_ASSERTIONS = NO;
637645
ENABLE_STRICT_OBJC_MSGSEND = YES;
638-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
646+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
639647
GCC_C_LANGUAGE_STANDARD = gnu99;
640648
GCC_NO_COMMON_BLOCKS = YES;
649+
GCC_PREPROCESSOR_DEFINITIONS = (
650+
"$(inherited)",
651+
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
652+
);
641653
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
642654
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
643655
GCC_WARN_UNDECLARED_SELECTOR = YES;
@@ -655,12 +667,19 @@
655667
"\"$(inherited)\"",
656668
);
657669
MTL_ENABLE_DEBUG_INFO = NO;
670+
OTHER_CFLAGS = "$(inherited)";
658671
OTHER_CPLUSPLUSFLAGS = (
659672
"$(OTHER_CFLAGS)",
660673
"-DFOLLY_NO_CONFIG",
661674
"-DFOLLY_MOBILE=1",
662675
"-DFOLLY_USE_LIBCPP=1",
663676
);
677+
OTHER_LDFLAGS = (
678+
"$(inherited)",
679+
"-Wl",
680+
"-ld_classic",
681+
);
682+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
664683
SDKROOT = iphoneos;
665684
VALIDATE_PRODUCT = YES;
666685
};

example/ios/FastOpenpgpExample.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)