Send feedback
objc
Stay organized with collections
Save and categorize content based on your preferences.
A configuration fragment for Objective-C.
Members
alwayslink_by_default
bool objc.alwayslink_by_default
Returns whether objc_library and objc_import should default to alwayslink=True.
builtin_objc_strip_action
bool objc.builtin_objc_strip_action
Returns whether to emit a strip action as part of objc linking.
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.
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.
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-06 UTC."],[],[]]