Skip to content

Commit

Permalink
fix arch
Browse files Browse the repository at this point in the history
  • Loading branch information
larrytaowang committed Mar 26, 2024
1 parent a3f6f4b commit fadfd1a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions bluepill/bluepill.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
baseConfigurationReference = BAFCCA361E33595F00E33C31 /* bluepill.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
Expand Down Expand Up @@ -457,7 +457,7 @@
baseConfigurationReference = BAFCCA361E33595F00E33C31 /* bluepill.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
Expand Down Expand Up @@ -507,7 +507,7 @@
BAEF4B3C1DAC539400E68294 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CODE_SIGN_IDENTITY = "-";
DEPLOYMENT_LOCATION = NO;
DEVELOPER_PRIVATE_FRAMEWORKS_DIR = "";
Expand All @@ -529,7 +529,7 @@
BAEF4B3D1DAC539400E68294 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CODE_SIGN_IDENTITY = "-";
DEPLOYMENT_LOCATION = NO;
DEVELOPER_PRIVATE_FRAMEWORKS_DIR = "";
Expand Down
8 changes: 4 additions & 4 deletions bp/bp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@
baseConfigurationReference = 7A79018C1D5CF113004D4325 /* bp.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
Expand Down Expand Up @@ -968,7 +968,7 @@
baseConfigurationReference = 7A79018C1D5CF113004D4325 /* bp.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
Expand Down Expand Up @@ -1099,7 +1099,7 @@
B368E56B213F8D2F00B4DEA3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_OBJC_WEAK = YES;
Expand Down Expand Up @@ -1138,7 +1138,7 @@
B368E56C213F8D2F00B4DEA3 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = x86_64;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_OBJC_WEAK = YES;
Expand Down
34 changes: 17 additions & 17 deletions scripts/bluepill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,23 @@ bluepill_build()
echo Release in "build/$DST.zip"
}

bluepill_build_sample_app()
{
set -o pipefail
xcodebuild build-for-testing \
-workspace Bluepill.xcworkspace \
-arch x86_64 \
-scheme BPSampleApp \
-sdk iphonesimulator \
-derivedDataPath "$DerivedDataPath" 2>&1 | tee result.txt | $XCPRETTY

test $? == 0 || {
echo Build failed
cat result.txt
exit 1
}
set +o pipefail
}
# bluepill_build_sample_app()
# {
# set -o pipefail
# xcodebuild build-for-testing \
# -workspace Bluepill.xcworkspace \
# -arch x86_64 \
# -scheme BPSampleApp \
# -sdk iphonesimulator \
# -derivedDataPath "$DerivedDataPath" 2>&1 | tee result.txt | $XCPRETTY

# test $? == 0 || {
# echo Build failed
# cat result.txt
# exit 1
# }
# set +o pipefail
# }

# $1 scheme, $2 extra args for xcodebuild
run_tests() {
Expand Down

0 comments on commit fadfd1a

Please sign in to comment.