Sourcery: Error executing via build-phases ${parent_path}

I had an old version of Sourcery in a project, and today after I updated to 0.6.8 I’m having this error Coudn’t figure out why. I’ve already updated my templates using CLI. Bug when using via build-phases I get this error:

: line 6: 13376 Illegal instruction: 4  "${parent_path}"/Sourcery.app/Contents/MacOS/Sourcery "$@"
Command /bin/sh failed with exit code 132

This is my shell-script

"$SRCROOT/Frameworks/Sourcery/bin/sourcery" "${SRCROOT}/Warren" "${SRCROOT}/Frameworks/Sourcery/Templates" "${SRCROOT}/Frameworks/Sourcery/Sourcery.generated.swift"

Any info? Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

this should be fixed on master, please re-open if not