IosConfig class final

iOS configuration for DcbCMakeBuilder.

iOS requires static linking (dynamic loading is forbidden by the OS). The builder reads input.config.code.iOS.targetSdk to distinguish device (iphoneos) from simulator (iphonesimulator) builds, and input.config.code.iOS.targetVersion for the deployment target.

The Xcode toolchain (AppleClang + iOS SDK) is used automatically via -DCMAKE_SYSTEM_NAME=iOS. No custom compiler selection is needed.

Inheritance

Constructors

IosConfig({String cmake = 'cmake', CmakeGenerator? generator, String? generatorPath, String? developerDir, String? deploymentTarget, List<String> extraDefines = const []})
const

Properties

cmake String
The CMake executable to invoke (resolved via PATH by default).
final
deploymentTarget String?
Minimum iOS deployment target override (e.g. '15.0').
final
developerDir String?
Xcode developer directory path.
final
extraDefines List<String>
Extra definitions passed verbatim to the CMake configure step.
final
generator CmakeGenerator?
CMake generator selection.
final
generatorPath String?
Explicit path to the generator executable.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited