objc

Report an issue View source Nightly · 8.0 7.4 . 7.3 · 7.2 · 7.1 · 7.0 · 6.5

A configuration fragment for Objective-C.

Members

bool objc.alwayslink_by_default

Returns whether objc_library and objc_import should default to alwayslink=True.

copts

list objc.copts

Returns a list of options to use for compiling Objective-C.These options are applied after any default options but before options specified in the attributes of the rule.

copts_for_current_compilation_mode

list objc.copts_for_current_compilation_mode

Returns a list of default options to use for compiling Objective-C in the current mode.

disallow_sdk_frameworks_attributes

bool objc.disallow_sdk_frameworks_attributes

Returns whether sdk_frameworks and weak_sdk_frameworks are disallowed attributes.

generate_linkmap

bool objc.generate_linkmap

Whether to generate linkmap artifacts.

ios_simulator_device

string objc.ios_simulator_device

The type of device (e.g. 'iPhone 6') to use when running on the simulator. May return None.

ios_simulator_version

DottedVersion objc.ios_simulator_version

The SDK version of the iOS simulator to use when running on the simulator. May return None.

run_memleaks

bool objc.run_memleaks

Returns a boolean indicating whether memleaks should be run during tests or not.

should_strip_binary

bool objc.should_strip_binary

Returns whether to perform symbol and dead-code strippings on linked binaries.

signing_certificate_name

string objc.signing_certificate_name

Returns the flag-supplied certificate name to be used in signing, or None if no such certificate was specified. May return None.

uses_device_debug_entitlements

bool objc.uses_device_debug_entitlements

Returns whether device debug entitlements should be included when signing an application.