# Not able to run builds on travis after using SPM plugin

**URL:** <https://travis-ci.community/t/not-able-to-run-builds-on-travis-after-using-spm-plugin/13485>\
**Category:** Swift\
**Tags:** travis-build, bug\
**Created:** [December 26, 2022, 12:38pm UTC](https://travis-ci.community/t/not-able-to-run-builds-on-travis-after-using-spm-plugin/13485 "2022-12-26T12:38:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukesh-mt](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mukesh-mt/32/8407_2.png) [@mukesh-mt](https://travis-ci.community/u/mukesh-mt)\
**Post date:** [December 26, 2022, 12:38pm UTC](https://travis-ci.community/t/not-able-to-run-builds-on-travis-after-using-spm-plugin/13485/1 "2022-12-26T12:38:06Z")

</div>

Getting following error when running builds having any SPM plugin like [SwiftGenPlugin](https://github.com/SwiftGen/SwiftGenPlugin):

Build link: [https://app.travis-ci.com/github/mukesh-mt/SwiftLintTest/jobs/592013507](https://app.travis-ci.com/github/mukesh-mt/SwiftLintTest/jobs/592013507)

```auto
The following build commands failed:
    Validate plug-in “SwiftGenPlugin” in package “swiftgenplugin”

```

---

<div class="post-metadata">

**Author:** ![mukesh-mt](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mukesh-mt/32/8407_2.png) [@mukesh-mt](https://travis-ci.community/u/mukesh-mt)\
**Post date:** [January 6, 2023, 5:43am UTC](https://travis-ci.community/t/not-able-to-run-builds-on-travis-after-using-spm-plugin/13485/2 "2023-01-06T05:43:38Z")

</div>

Build Link: [https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/builds/259180201](https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/builds/259180201)

---

<div class="post-metadata">

**Author:** ![mukesh-mt](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mukesh-mt/32/8407_2.png) [@mukesh-mt](https://travis-ci.community/u/mukesh-mt)\
**Post date:** [January 6, 2023, 7:25am UTC](https://travis-ci.community/t/not-able-to-run-builds-on-travis-after-using-spm-plugin/13485/3 "2023-01-06T07:25:06Z")

</div>

I was able to solve this issue by using `-skipPackagePluginValidation` option in `xcodebuild`.

With fastlane you can pass it with `--xcargs "-skipPackagePluginValidation"` option in gym command

See this build [https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/builds/259435024](https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/builds/259435024)
