Let architecture be specified for simulator builds

This commit is contained in:
Justin Espedal
2017-04-27 14:42:00 -07:00
committed by Joshua Granick
parent f2a4b425c1
commit c31345e147

View File

@@ -41,9 +41,17 @@ class IOSHelper {
if (project.targetFlags.exists ("simulator")) {
commands.push ("-arch");
//commands.push ("i386");
commands.push ("x86_64");
if (project.targetFlags.exists ("i386")) {
commands.push ("-arch");
commands.push ("i386");
} else {
commands.push ("-arch");
commands.push ("x86_64");
}
} else if (project.targetFlags.exists ("armv7")) {