Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to Configure tailor for Xcode #497

Open
AnkitPanchal10 opened this issue Jun 7, 2018 · 2 comments
Open

Not able to Configure tailor for Xcode #497

AnkitPanchal10 opened this issue Jun 7, 2018 · 2 comments

Comments

@AnkitPanchal10
Copy link

Tailor Version: v0.12.0

Swift Version: 4.2

Platform (Mac/Linux/Windows/CI): Mac

Installation Method: Homebrew

Steps to Reproduce Issue

1.install tailor using curl -fsSL https://tailor.sh/install.sh | sh
2.After successfully install tailor when trying to configure for my project using
tailor --xcode /path/to/demo.xcodeproj/
give me the error like

Integration Error: Invalid .xcodeproj file

This command gives an error for this particular project only. I have tried with another project in that it's working fine. Also, I have tried to create a new project and give the same name then tried to configure and again it's giving the same error.

Not sure what happened with a particular project or with a project name.

Expected Behavior

Successfully integrate tailor and add run script in the project.

Actual Behavior

Giving error

Integration Error: Invalid .xcodeproj file

@alykhank
Copy link
Member

Tailor relies on the xcodeproj gem to interact with Xcode, can you check if the gem is able to successfully manipulate the project file in this particular project? The workaround for this is to manually add a Build Phase Run Script that calls tailor in your target, see screenshot

@eliakorkmaz
Copy link

Hey @alykhank,

I have same error in my projects. I am planning to explore Tailor but when I try every .xcodeproj files I get Integration Error: Invalid .xcodeproj file error. How can I check xcodeproj gem interaction like you mentioned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants