-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Run script fails on Xcode 7.2 (7C68) #264
Comments
Ah, you're right. Sorry about that. I can reproduce this by building this project's own This will take some time to debug. If you find out more about why this is the case, please post here. |
I couldn't really find anything wrong until now.
And the lint works if I perform |
@diogoguimaraes does this issue affect SwiftLint 0.4.0 with Xcode 7.2 as well? How about SwiftLint 0.5.0 with Xcode < 7.2 (e.g. 7.1.1)? I think Xcode 7.2 may have changed some behavior of shell script build phases, but I'm still investigating that. |
@jpsim SwiftLint 0.4.0 was working with Xcode 7.2. I haven't tried SwiftLint 0.5.0 with Xcode < 7.2 yet. |
Ok, I've found the issue. I mistakenly removed the Apparently it's a standard Xcode env variable that's always present, which is why @norio-nomura had added that option when he introduced that functionality in #193. Needless to say he's a smart guy and was doing the right thing here. Thankfully, re-introducing that flag should just take a few minutes, but I do have to cut another release for this. I'll do all that now, and hopefully we can just forget this little accident 😉. |
Thanks! |
Hi, |
Same issue with 0.7.0. |
@FlorianBasso & @ylibatsya can you please open new issues, hopefully sharing more information about your setup, such as:
|
Updating OSX to 10.11.3 and SwiftLint to 0.7.1 actually fixed the issue for me. My installation path and run script are the default ones, and I used pkg file from the release page to install SwiftLint. |
I've just updated swiftlint to version 0.5.0 and I can't build my project on Xcode 7.2 (7C68):
Building the project through the terminal shows the same build fail message.
I've already tried cleaning the
DerivedData
folder but the issue remains.However if I run
swiftlint
manually in the projects directory the lint works.Any clues on what this issue might be?
The text was updated successfully, but these errors were encountered: