Obc
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
回報問題open_in_new
查看來源open_in_new
Nightly
·
8.4
·
8.3
·
8.2
·
8.1
·
8.0
·
7.6
Objective-C 的設定片段。
成員
alwayslink_by_default
bool objc.alwayslink_by_default
Returns whether objc_library and objc_import should default to alwayslink=True.
copts_for_current_compilation_mode
list objc.copts_for_current_compilation_mode
傳回要在目前模式中編譯 Objective-C 時使用的預設選項清單。
disallow_sdk_frameworks_attributes
bool objc.disallow_sdk_frameworks_attributes
傳回 sdk_frameworks 和 weak_sdk_frameworks 是否為不允許的屬性。
ios_simulator_device
string objc.ios_simulator_device
在模擬器上執行時使用的裝置類型 (例如「iPhone 6」)。
可能會傳回
None
。
ios_simulator_version
DottedVersion objc.ios_simulator_version
在模擬器上執行時要使用的 iOS 模擬器 SDK 版本。
可能會傳回
None
。
run_memleaks
bool objc.run_memleaks
傳回布林值,指出是否應在測試期間執行記憶體洩漏。
signing_certificate_name
string objc.signing_certificate_name
傳回用於簽署的旗標提供憑證名稱,如果未指定這類憑證,則傳回 None。
可能會傳回
None
。
strip_executable_safely
bool objc.strip_executable_safely
Returns whether executable strip action should use flag -x, which does not break dynamic symbol resolution.
uses_device_debug_entitlements
bool objc.uses_device_debug_entitlements
Returns whether device debug entitlements should be included when signing an application.
除非另有註明,否則本頁面中的內容是採用創用 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,[]]