Let architecture be specified for simulator builds
This commit is contained in:
committed by
Joshua Granick
parent
f2a4b425c1
commit
c31345e147
@@ -41,9 +41,17 @@ class IOSHelper {
|
|||||||
|
|
||||||
if (project.targetFlags.exists ("simulator")) {
|
if (project.targetFlags.exists ("simulator")) {
|
||||||
|
|
||||||
commands.push ("-arch");
|
if (project.targetFlags.exists ("i386")) {
|
||||||
//commands.push ("i386");
|
|
||||||
commands.push ("x86_64");
|
commands.push ("-arch");
|
||||||
|
commands.push ("i386");
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
commands.push ("-arch");
|
||||||
|
commands.push ("x86_64");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
} else if (project.targetFlags.exists ("armv7")) {
|
} else if (project.targetFlags.exists ("armv7")) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user