It seems that the packaged iOS app has at least some default command line arguments specified mysteriously that’s conflicting my own command line switch. Specifically the command I created for my specific purpose is “-s”"" and I am using FParse::Value to parse for “-s” and taking the remaining string for my own use:
FString Address;
FParse::Value(FCommandLine::Get(), TEXT("-s"), Address);
While it seems when running my app on the iOS in the most vanilla fashion (just by tapping the icon on the iPhone), some (default?) command line argument starting with “-s” unexpectedly triggers the above parsing logic.
I am new to iOS development, and I searched around the internet and haven’t found any information that one can somehow specify command line arguments for the .ipa (or whatever bundle for the app). But my gut feeling tells me that technically this should be possible - like instead of running the actual executable directly without any command line arguments specified, maybe a script can be run to supply some needed arguments?
If anyone can shed some lights, that’d be greatly appreciated!