def METHOD_NAME(build):
    app = Application.wrap(build)
    if app.build_version and app.build_version >= LooseVersion('2.14'):
        return
    for module in app.get_modules():
        for form in module.get_forms():
            try:
                built_source = app.fetch_attachment(
                    'files/modules-{}/forms-{}.xml'.format(module.id, form.id)).decode('utf-8')
            except ResourceNotFound:
                continue
            if form.get_auto_gps_capture():
                return 'auto gps error'
            elif XForm(built_source).model_node.find("{orx}pollsensor"):
                return 'auto gps error'