成员
bitcode_mode
apple_bitcode_mode apple.bitcode_mode返回用于编译步骤的位码模式。
此字段仅对设备 build 有效;对于模拟器 build,它始终返回 'none'
。
multi_arch_platform
apple_platform apple.multi_arch_platform(platform_type)指定平台类型的当前配置的平台。只能在可能支持多种架构的上下文中调用该方法;对于其他情况,请考虑使用 single_arch_platform。
参数
参数 | 说明 |
---|---|
platform_type
|
必需 Apple 平台类型。 |
single_arch_cpu
string apple.single_arch_cpu此配置的唯一“有效”架构(例如,
i386
或 arm64
)。
objc_library
single_arch_platform
apple_platform apple.single_arch_platform当前配置的平台。只能在可能支持单个架构的上下文中调用该方法;对于其他情况,请考虑使用 multi_arch_platform。