Obc

回報問題 查看來源 Nightly · 8.4 · 8.3 · 8.2 · 8.1 · 8.0 · 7.6

Objective-C 的設定片段。

成員

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.