This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Flutter.
Summary
Settings for flutter build ios.
Build an iOS application bundle (Mac OS X host only)..
- Assembly
- Cake
.Flutter .dll - Namespace
- Cake
.Flutter - Base Types
-
- ToolSettings
- AutoToolSettings
graph BT
Type-->Base0["AutoToolSettings"]
click Base0 "/api/Cake.Flutter/AutoToolSettings"
Base0-->Base1["ToolSettings"]
Type["FlutterBuildIpaSettings"]
class Type type-node
Syntax
public sealed class FlutterBuildIpaSettings : AutoToolSettings
Attributes
Type | Description |
---|---|
Compiler |
Constructors
Name | Summary |
---|---|
Flutter |
Properties
Name | Value | Summary |
---|---|---|
AnalyzeSize | Nullable |
--[no-]analyze-size
Whether to produce additional profile information for artifact output size. This flag is only supported
on "--release" builds.When building for Android, a single ABI must be specified at a time with the
"--target-platform" flag.When building for iOS, only the symbols from the arm64 architecture are used
to analyze code size.
By default, the intermediate output files will be placed in a transient directory in the build
directory.This can be overridden with the "--code-size-directory" option.
This flag cannot be combined with "--split-debug-info".
|
BuildName | string |
--build-name=<x.y.z> A "x.y.z" string used as the version number shown to users. For each new version of your app, you will provide a version number to differentiate it from previous versions. On Android it is used as 'versionName'. On Xcode builds it is used as 'CFBundleShortVersionString'
|
BuildNumber | Nullable |
--build-number=<int> An integer used as an internal version number. Each build must have a unique number to differentiate it from previous builds. It is used to determine whether one build is more recent than another, with higher numbers indicating more recent build. On Android it is used as 'versionCode'. On Xcode builds it is used as 'CFBundleVersion'
|
CodeSizeDirectory | DirectoryPath |
--code-size-directory
The location to write code size analysis files. If this is not specified, files are written to a
temporary directory under the build directory.
|
DartDefine | string |
--dart-define=<foo=bar>
Additional key-value pairs that will be available as constants from the String.fromEnvironment,
bool.fromEnvironment, int.fromEnvironment, and double.fromEnvironment constructors.
Multiple defines can be passed by repeating "--dart-define" multiple times.
|
Debug | Nullable |
--debug Build a debug version of your app (default mode for iOS simulator builds).
|
DeviceId | string |
Target device id or name (prefixes allowed).
Inherited from AutoToolSettings
|
ExportOptionsPlist | FilePath |
--export-options-plist=<ExportOptions.plist>
Optionally export an IPA with these options. See "xcodebuild -h" for available exportOptionsPlist keys.
|
Flavor | string |
--flavor Build a custom app flavor as defined by platform-specific build setup. Supports the use of product flavors in Android Gradle scripts. Supports the use of custom Xcode schemes.
|
Help | Nullable |
-h, --help Print this usage information.
|
NullAssertions | Nullable |
--[no-]null-assertions
Perform additional null assertions on the boundaries of migrated and un-migrated code. This setting is
not currently supported on desktop devices.
|
Obfuscate | Nullable |
--[no-]obfuscate
In a release build, this flag removes identifiers and replaces them with randomized values for the
purposes of source code obfuscation.This flag must always be combined with "--split-debug-info" option,
the mapping between the values and the original identifiers is stored in the symbol map created in the
specified directory.For an app built with this flag, the "flutter symbolize" command with the right
program symbol file is required to obtain a human readable stack trace.
Because all identifiers are renamed, methods like Object.runtimeType, Type.toString, Enum.toString,
Stacktrace.toString, Symbol.toString(for constant symbols or those generated by runtime system) will
return obfuscated results.Any code or tests that rely on exact names will break.
|
Packages | FilePath |
Path to your ".packages" file.
(required, since the current directory does not contain a ".packages" file)
Inherited from AutoToolSettings
|
Profile | Nullable |
--profile Build a version of your app specialized for performance profiling.
|
Pub | Nullable |
--[no-]pub Whether to run "flutter packages get" before executing this command. (defaults to on)
|
Release | Nullable |
--release Build a release version of your app (default mode for device builds).
|
SplitDebugInfo | DirectoryPath |
--split-debug-info=
|
SuppressAnalytics | Nullable |
Suppress analytics reporting when this command runs.
Inherited from AutoToolSettings
|
Target | FilePath |
-t, --target=<path> The main entry-point file of the application, as run on the device. If the --target option is omitted, but a file name is provided on the command line, then that is used instead. (defaults to "lib/main.dart")
|
TreeShakeIcons | Nullable |
--[no-]tree-shake-icons Tree shake icon fonts so that only glyphs used by the application remain. (defaults to on)
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|