[offsets-tool] Add a --gen-ios argument which can be used together with --targetdir...