{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/657","repository_url":"https://api.github.com/repos/realm/SwiftLint","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/657/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/657/events","html_url":"https://github.com/realm/SwiftLint/issues/657","id":153818930,"number":657,"title":"Build fails with Error on static pod libraries. (excluded in .swiftlint.yml)","user":{"login":"AlkisP","id":16014264,"avatar_url":"https://avatars.githubusercontent.com/u/16014264?v=3","gravatar_id":"","url":"https://api.github.com/users/AlkisP","html_url":"https://github.com/AlkisP","followers_url":"https://api.github.com/users/AlkisP/followers","following_url":"https://api.github.com/users/AlkisP/following{/other_user}","gists_url":"https://api.github.com/users/AlkisP/gists{/gist_id}","starred_url":"https://api.github.com/users/AlkisP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlkisP/subscriptions","organizations_url":"https://api.github.com/users/AlkisP/orgs","repos_url":"https://api.github.com/users/AlkisP/repos","events_url":"https://api.github.com/users/AlkisP/events{/privacy}","received_events_url":"https://api.github.com/users/AlkisP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-09T16:42:24Z","updated_at":"2016-05-16T11:53:34Z","closed_at":null,"body":"Hello. I have static libs being build with cocoapods. When I try to build swiftlint force fails execution with the following errors. \r\n\r\n> PhaseScriptExecution Run\\ Script /Users/name/Library/Developer/Xcode/DerivedData/appname-eanjhsrnypjfgidfvqplpexdotuo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Adjust.build/Script-CB205B521CE0EDDD006873C1.sh\r\n>     cd /Users/name/Dropbox/Projects/company/appname-iOS/Pods\r\n>     /bin/sh -c /Users/name/Library/Developer/Xcode/DerivedData/appname-eanjhsrnypjfgidfvqplpexdotuo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Adjust.build/Script-CB205B521CE0EDDD006873C1.sh\r\n> \r\n> fatal error: Could not read configuration file at path '/Users/name/.swiftlint.yml': file /tmp/swiftlint20160315-2849-1pzqumo/Source/SwiftLintFramework/Models/Configuration.swift, line 153\r\n> /Users/name/Library/Developer/Xcode/DerivedData/appname-eanjhsrnypjfgidfvqplpexdotuo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Adjust.build/Script-CB205B521CE0EDDD006873C1.sh: line 5:  9007 Illegal instruction: 4  swiftlint lint --quiet --use-script-input-files --config $CONFIG\r\n> Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure\r\n> \r\n\r\nMy yml file looks like this.\r\n\r\n```\r\ndisabled_rules: # rule identifiers to exclude from running\r\n  - comma\r\n  - control_statement\r\n  - line_length\r\nincluded:\r\n  - Jellychat\r\nexcluded: # paths to ignore during linting. Takes precedence over `included`.\r\n  - Carthage\r\n  - Pods\r\nfile_length:\r\n  warning: 500\r\n  error: 1200\r\nreporter: \"xcode\" # reporter type (xcode, json, csv, checkstyle)\r\n\r\n```\r\n\r\nThe issue doesn't appear on the code rather than the libraries themselves. "},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/219408034","html_url":"https://github.com/realm/SwiftLint/issues/657#issuecomment-219408034","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/657","id":219408034,"user":{"login":"AlkisP","id":16014264,"avatar_url":"https://avatars.githubusercontent.com/u/16014264?v=3","gravatar_id":"","url":"https://api.github.com/users/AlkisP","html_url":"https://github.com/AlkisP","followers_url":"https://api.github.com/users/AlkisP/followers","following_url":"https://api.github.com/users/AlkisP/following{/other_user}","gists_url":"https://api.github.com/users/AlkisP/gists{/gist_id}","starred_url":"https://api.github.com/users/AlkisP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlkisP/subscriptions","organizations_url":"https://api.github.com/users/AlkisP/orgs","repos_url":"https://api.github.com/users/AlkisP/repos","events_url":"https://api.github.com/users/AlkisP/events{/privacy}","received_events_url":"https://api.github.com/users/AlkisP/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T11:53:34Z","updated_at":"2016-05-16T11:53:34Z","body":"@norio-nomura No, I'm not using it. I will give it a try when I finish work though, and get back to you.\r\nThanks."}}