mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 21:28:21 +00:00
Add target detection to. xcode
This commit is contained in:
@@ -339,7 +339,7 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "./../../../../target/release/wasmer compile DylibExample/sum.wasm --target x86_64-apple-ios --dylib -o DylibExample/sum.dylib\n";
|
||||
shellScript = "export ARCH='x86_64'\nif [[ `uname -m` == 'arm64' ]]; then\n export ARCH='aarch64'\nfi\n\n\n./../../../../target/release/wasmer compile DylibExample/sum.wasm --target $ARCH-apple-ios --dylib -o DylibExample/sum.dylib\n";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user