Skip to content

Commit b5a35dc

Browse files
committed
Include x86_64 binary in build
1 parent 228e2b6 commit b5a35dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

QLColorCode.xcodeproj/project.pbxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
);
316316
runOnlyForDeploymentPostprocessing = 0;
317317
shellPath = "/bin/zsh -x";
318-
shellScript = "set err_exit\ncd $PROJECT_DIR/highlight\nexport CFLAGS='-arch i386 -arch ppc'\nexport LDFLAGS=$CFLAGS\nmake\n# Make sure it was built universal\nlipo -info src/highlight | grep -q ppc || exit 1\nlipo -info src/highlight | grep -q i386 || exit 1\nmake \\\n\tDESTDIR=$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH \\\n\tPREFIX=/highlight/ \\\n\tinstall\n\n";
318+
shellScript = "set err_exit\ncd $PROJECT_DIR/highlight\nexport CFLAGS='-arch i386 -arch ppc -arch x86_64'\nexport LDFLAGS=$CFLAGS\nmake\n# Make sure it was built universal\nlipo -info src/highlight | grep -q ppc || exit 1\nlipo -info src/highlight | grep -q i386 || exit 1\nlipo -info src/highlight | grep -q x86_64 || exit 1\nmake \\\n\tDESTDIR=$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH \\\n\tPREFIX=/highlight/ \\\n\tinstall\n\n";
319319
showEnvVarsInLog = 0;
320320
};
321321
/* End PBXShellScriptBuildPhase section */
@@ -432,6 +432,7 @@
432432
isa = XCBuildConfiguration;
433433
buildSettings = {
434434
ARCHS = (
435+
x86_64,
435436
ppc,
436437
i386,
437438
);

0 commit comments

Comments
 (0)