10.14版macOS.sdk编译32位可执行文件

一、背景介绍

The macOS 10.14 SDK no longer contains support for compiling 32-bit applications. If developers need to compile for i386, Xcode 9.4 or earlier is required. (39858111)
Apple has announced that its upcoming macOS Mojave release for Macs will officially be the last to support 32-bit apps.

大意:
中央已经决定了!从现在开始禁止编译32位的 mac 上的可执行文件!下一个大版本起,任何人都不得运行32位的可执行文件。

参考链接:https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
 

 

二、基本原理

xcode-select命令用于管理 /usr/bin/gcc 等常用的开发者工具,即Command Line Tools,检查其是否存在,有时候会跟 Xcode 一起被安装,也可以单独存在。其中有一个基础属性,用来指定Command Line Tools的位置,使用命令查看它的值。

> xcode-select -p
/Application/Xcode.app/C
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值