diff options
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | xmake/platforms/iphoneos/load.lua | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a08ff66b0..92c530350 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ * Remove `and_bindings` and `add_rbindings` api * Disable to output colors code to file * Update project templates with tbox +* Improve `lib.detect.find_program` interface ### Bugs fixed @@ -381,6 +382,7 @@ * 移除`add_rbindings`和`add_bindings`接口 * 禁止在重定向的时候进行彩色输出,避免输出文件中带有色彩代码干扰 * 更新tbox工程模板 +* 改进`lib.detect.find_program`模块接口 ### Bugs修复 diff --git a/xmake/platforms/iphoneos/load.lua b/xmake/platforms/iphoneos/load.lua index 0e1bd7d24..8a6214b16 100644 --- a/xmake/platforms/iphoneos/load.lua +++ b/xmake/platforms/iphoneos/load.lua @@ -37,6 +37,9 @@ function main() -- init target minimal version local target_minver = config.get("target_minver") + if target_minver and tonumber(target_minver) > 10 and (arch == "armv7" or arch == "armv7s" or arch == "i386") then + target_minver = "10" -- iOS 10 is the maximum deployment target for 32-bit targets + end local target_minver_flags = ifelse(simulator, "-mios-simulator-version-min=", "-miphoneos-version-min=") .. target_minver -- init the xcode sdk directory |
