Xcode 15: Fixing SwiftLint Error "deny file-read-data. "🌛.- To avoid SwiftLint execution errors, turn off Build Settings "User Script Sandboxing". - The default setting was changed; Xcode 14: No => Xcode 15: Yes.* Of course, this should be done only if you trust the project.
Naive, motivated me:. „Hey, it would be cool to follow best practices in my side project and install SwiftLint. Maybe it will detect a few issues…“. Also me:. „Crying about 1820 issues…“🥲
How to easily add SwiftLint to your project:. 1- Install swiftlint using terminal: brew install swiftlint.2- Add this package using SPM: 3- Add "New Run Script Phase" to your Project target.4- Disable "Based on dependency analysis" and "Show environment.
Exited to introduce SwiftLint Annotations GitHub Action! 🎉🚀. This action is written in TypeScript and follows all the best practices like persistent tools caching on self-hosted runners and showing parsed reports with annotations. Check it out! 👇.
It’s just a really small Swift package, but I’m really happy about this GH Actions runtime. Includes linting with swift-format and swiftlint, and 28 test cases. 2 external deps, no build cache. Mac Mini runner. `swift test` is so much faster than xcodebuild, it’s not even funny.
Day 2 and Day 3 of building in public:. 1. Explored all opt in rules for SwiftLint and implemented them in the project. I would like to reduce tech debt. 2. Added “The Reason” section and modified the cells of the “Summary” section. 3. Working on making cells in the “Summary”
Xcode 15 beta 3.recommends enabling User Script Sandboxing, but when turning it on, SwiftLint run script causes build error. So I don't enable it so far.🌛
אוקיי, זו החוויה הכי משעשעת שקרתה לי עם AI. צפו בקלוד 3.7 מתחרפן ולוקה בסכיזופרניה קשה. הכל התחיל כשהוא ניסה לקמפל בעצמו את הקוד כדי למצוא באגים ולתקן אותם. מפה לשם הוא הגיע למסקנה שהוא צריך לבנות תוסף swiftLint בעצמו, ואז הוא התחיל להתייעץ עם עצמו איך לעשות את זה, לתת לעצמו
Okay, this is the most entertaining experience I've had with AI. Watch Claude 3.7 go crazy and have severe schizophrenia. It all started when he tried to compile the code himself to find bugs and fix them. From there he came to the conclusion that he needed to build a swiftLint
For the longest time I have disliked those pesky header comments in the top of Swift files. Only now (and thanks to @jpsim!) did I realize that SwiftLint has a rule that can be used to throw a warning when file headers are present.