def get_arch_from_args():
    for i in range(len(sys.argv)):
        arg = sys.argv[i]
        next_arg = sys.argv[i + 1] if len(sys.argv) < (i + 1) else None

        if arg == '-arch':
            return next_arg
    raise Exception('Did not find the -arch argument')
dataset/ETHPy150Open facebook/clang-as-ios-dylib/clang-as-ios-dylib.py/get_arch_from_args/swapped operands of `<`