Closed ProfDrLuigi closed 4 years ago
You need to install SwiftLint on your system before you can compile HeliPort. You can follow the link it shows you to install SwiftLint.
Yes I know. I put it in "Podfile" and installed it. But ... error.
Yes I did. have a look at my Screenshots above. I compiled HeliPort every day again. But this time it stucks.
Yes I did. have a look at my Screenshots above. I compiled HeliPort every day again. But this time it stucks.
Yup sorry I didn't see that picture until after I sent the previous message. There hasn't been anything that changed in HeliPort project with SwiftLint as far as I know. I used brew install SwiftLint
methods so I can't really say as to why the pods aren't working, well in this case SwiftLint.
If you want you could try the brew
method but HeliPort hasn't really changed anything regarding to scripts and SwiftLint.
brew install did the trick. But I don´t understand why it was working the days before and now (nothing is changed) it stucks. But ok ... Problem solved. :)
SwiftLint should be installed as a global CLI tool via brew, otherwise, you need to add the executable path of the pod module into your PATH
variable.
SwiftLint should be installed as a global CLI tool via brew, otherwise, you need to add the executable path of the pod module into your
PATH
variable.
It could also be included in Podfile via pod 'SwiftLint'
since now the latest master has a script that checks if SwiftLint is installed via CocoaPods, however I am not sure which would be the most recommended way if having in the command line or just for the project itself via CocoaPods.
It could also be included in Podfile via pod 'SwiftLint' since now the latest master has a script that checks if SwiftLint is installed via CocoaPods,
sry but I don't see the check script?
sry but I don't see the check script?
if which "${PODS_ROOT}/SwiftLint/swiftlint" >/dev/null; then
${PODS_ROOT}/SwiftLint/swiftlint
elif which swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
This script is in the latest commit https://github.com/OpenIntelWireless/HeliPort/commit/0222faeafe01d9af83baf1d54ac771c197859b9c.
You can find it here:
However it is not something you have to add, you can still use brew install swiftlint
, it's just another option since you have to invoke pod install
anyways to download the other dependencies.
oops I didn't notice the latest commit, so it should fix the issue.
:)
If I try to compile I get these error above.