xcode - Change user-defined variable from fastlane -
i have user-defined variable in xcode project - my_variable
:
linked my_variable
in .plist file:
, use in code:
nsstring *myvariable = [[nsbundle mainbundle] objectforinfodictionarykey:@"my_variable"];
in fastfile have appstore lane and, in case, change value of my_variable
.
i'm using:
env["my_variable"] = "appstorevalue"
doesn't work.
after bit of research found solution this.
i'm using xcargs
in gym
action, like:
gym( scheme: "myscheme", configuration: "release", use_legacy_build_api: 1, xcargs: "my_variable=appstorevalue" )
Comments
Post a Comment