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")) {
|
||||
|
||||
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")) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user