[DEBUG] correct ARM7 or ARM64 selection

This commit is contained in:
Edouard DUPIN 2016-10-25 15:22:10 +02:00
parent 058c425feb
commit 72e956f06a

View File

@ -40,8 +40,12 @@ class Target(target.Target):
if config["simulation"] == True: if config["simulation"] == True:
arch = "i386" arch = "i386"
else: else:
arch="arm64" # for ipad air if config["bus-size"] == "32":
#arch="armv7" # for Iphone 4 # for Iphone 4
arch="armv7"
else:
# for ipad air
arch="arm64"
target.Target.__init__(self, ["IOs"] + sub_name, config, arch) target.Target.__init__(self, ["IOs"] + sub_name, config, arch)
if self.config["simulation"] == True: if self.config["simulation"] == True:
self.set_cross_base("/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/") self.set_cross_base("/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/")