Obc
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Objective-C 的設定片段。
成員
alwayslink_by_default
bool objc.alwayslink_by_default
Returns whether objc_library and objc_import should default to alwayslink=True.
copts
list objc.copts
傳回用於編譯 Objective-C 的選項清單。這些選項會在任何預設選項之後套用,但會在規則屬性中指定的選項之前套用。
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 是否為不允許的屬性。
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
。
uses_device_debug_entitlements
bool objc.uses_device_debug_entitlements
Returns whether device debug entitlements should be included when signing an application.