File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 614614 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
615615 SWIFT_SWIFT3_OBJC_INFERENCE = Off;
616616 SWIFT_VERSION = 4.0;
617+ VALIDATE_WORKSPACE = YES;
617618 };
618619 name = Debug;
619620 };
667668 SWIFT_SWIFT3_OBJC_INFERENCE = Off;
668669 SWIFT_VERSION = 4.0;
669670 VALIDATE_PRODUCT = YES;
671+ VALIDATE_WORKSPACE = YES;
670672 };
671673 name = Release;
672674 };
829831 SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
830832 SWIFT_SWIFT3_OBJC_INFERENCE = Off;
831833 SWIFT_VERSION = 4.0;
834+ VALIDATE_WORKSPACE = YES;
832835 };
833836 name = Profiling;
834837 };
912915 SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
913916 SWIFT_SWIFT3_OBJC_INFERENCE = Off;
914917 SWIFT_VERSION = 4.0;
918+ VALIDATE_WORKSPACE = YES;
915919 };
916920 name = "Release-Alpha";
917921 };
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # carthage.sh
4+ # Usage example: ./carthage.sh build --platform iOS
5+ # This script was copied from here: https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323
6+
7+ set -euo pipefail
8+
9+ xcconfig=$( mktemp /tmp/static.xcconfig.XXXXXX)
10+ trap ' rm -f "$xcconfig"' INT TERM HUP EXIT
11+
12+ # For Xcode 12 make sure EXCLUDED_ARCHS is set to arm architectures otherwise
13+ # the build will fail on lipo due to duplicate architectures.
14+ echo ' EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200 = arm64 arm64e armv7 armv7s armv6 armv8' >> $xcconfig
15+ echo ' EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))' >> $xcconfig
16+
17+ export XCODE_XCCONFIG_FILE=" $xcconfig "
18+ carthage " $@ "
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ cd Example
3636carthage update --platform iOS
3737```
3838
39+ * If using XCode 12 use the follow script:*
40+
41+ ``` bash
42+ cd Example
43+ ./carthage.sh update --platform iOS
44+ ```
45+
3946Once Carthage finishes, you should open the file ` Aztec.xcworkspace ` from the root directory of Aztec.
4047
4148Make sure the ` AztecExample ` target it selected, and press CMD + R to run it.
You can’t perform that action at this time.
0 commit comments