Skip to content

Assigning Environment Variable for iOS #19415

Answered by jeromelaban
Mike-E-angelo asked this question in Q&A
Discussion options

You must be logged in to vote

There's no really good documentation from the .NET SDK for this, but you can set it by replicating this line:

<MtouchExtraArgs Condition="!$(MtouchExtraArgs.ToLowerInvariant().Contains('--setenv=mono_gc_params=')) and $(DisableXamarinDebug_Workaround) != 'true'">$(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>

You can repeat the --setenv for each variable you want to add.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Mike-E-angelo
Comment options

Answer selected by Mike-E-angelo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants