蘋果
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
回報問題open_in_new
查看來源open_in_new
Nightly
·
8.4
·
8.3
·
8.2
·
8.1
·
8.0
·
7.6
適用於 Apple 平台的設定片段。
成員
apple_platform apple.multi_arch_platform(platform_type)
指定平台類型的目前設定平台。這項函式只能在可能支援多個架構的環境中叫用;其他情況請考慮使用
single_arch_platform。
參數
參數 |
說明 |
platform_type
|
string;必要
Apple 平台類型。 |
single_arch_cpu
string apple.single_arch_cpu
這項設定的單一「有效」架構 (例如
i386
或
arm64
),這類規則邏輯只與單一架構 (例如
objc_library
,用於註冊單一架構的編譯動作) 有關。
apple_platform apple.single_arch_platform
目前設定的平台。這項函式只能在僅支援單一架構的環境中叫用;其他情況請考慮使用
multi_arch_platform。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-05 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,[]]