Skip to content

Instantly share code, notes, and snippets.

@mrchnk
Created May 11, 2021 16:56
Show Gist options
  • Save mrchnk/93ed43df6e495768eb135bb937eeea6f to your computer and use it in GitHub Desktop.
Save mrchnk/93ed43df6e495768eb135bb937eeea6f to your computer and use it in GitHub Desktop.
Common
-Xnovalidate
-XnoAneValidate
-Xruntime RUNTIME_DIR
set
-Xdebug
For IPA-packaging
-XO0
set optimize level to 0
-XO1
set optimize level to 1
-XO2
set optimize level to 2
-XO3
set optimize level to 3
-Xinline INLINE_LEVEL
set inline level to INLINE_LEVEL
-XcompressSWF
will compress swf
-Xverbose VERBOSE_LEVEL
set verbose level to VERBOSE_LEVEL
-Xnostrip
set no strip
-Xdebugruntime
set debug runtime
-Xdebugbuiltins
set debug builtins
-Xuseinterpreter
will use interpreter
-Xdryrun
dry run
-Xoutput FILE_NAME
output to FILE_NAME
-Xlinker LINKER_OPTION
add LINKER_OPTION to ld64
-Xtimeout TIMEOUT
set timeout to TIMEOUT
-Xsdk SDK
will set target to SDK
-Xsdklocation SDK_LOCATION
will set SDK location to SDK_LOCATION
-XenableSSC
will enable SSC
-Xmodulesplitlimit LIMIT
will set module split limit to LIMIT
-Xpoolsize POOL_SIZE
will set pool size to POOL_SIZE
-X32
will set force-32-bit
-XstackSize SIZE
will set stack size to SIZE
-Xaotperflog
will set AOT Perf logging
-XgenDSYM
MacOS only: will set generate DSYM
-Xplatformsdk SDK
will set device sdk directory to SDK (shell apps only)
-Xnoresign
will set no resign flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment