成員
- copts
- copts_for_current_compilation_mode
- generate_linkmap
- ios_simulator_device
- ios_simulator_version
- run_memleaks
- should_strip_binary
- signing_certificate_name
- simulator_device_for_platform_type
- simulator_version_for_platform_type
- uses_device_debug_entitlements
Copts
list objc.copts傳回用於編譯 Objective-C 的選項清單。這些選項會顯示在任何預設選項之後,但在規則屬性中指定的選項之前。
copts_for_current_compilation_mode
list objc.copts_for_current_compilation_mode傳回在目前模式中編譯 Objective-C 的預設選項清單。
generate_linkmap
bool objc.generate_linkmap是否產生連結對應構件。
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傳回布林值,表示是否應在測試期間執行外洩情形。
should_strip_binary
bool objc.should_strip_binary傳回是否要在連結的二進位檔上執行符號和無效程式碼去除。
signing_certificate_name
string objc.signing_certificate_name傳回要用於簽署的旗標所提供憑證名稱;如未指定這類憑證,則傳回 None。 可能會傳回
None
。simulator_device_for_platform_type
string objc.simulator_device_for_platform_type(platform_type)裝置類型 (例如「iPhone 6」以在模擬器上執行時模擬。
參數
參數 | 說明 |
---|---|
platform_type
|
必要 Apple 平台類型。 |
None
。simulator_version_for_platform_type
DottedVersion objc.simulator_version_for_platform_type(platform_type)在模擬器上執行模擬器時,要使用的模擬器 SDK 版本。
參數
參數 | 說明 |
---|---|
platform_type
|
必要 Apple 平台類型。 |
None
。uses_device_debug_entitlements
bool objc.uses_device_debug_entitlements傳回簽署應用程式時是否應加入裝置偵錯授權。