Sqlite.swift: Egrep: SQLite.Swift is a directory Error

Created on 8 Apr 2016  路  15Comments  路  Source: stephencelis/SQLite.swift

Hi there,
I installed SQLite.Swift using pods. When I build my project, I get 4 Errors:
Egrep: /Users/YourUserName/YourApp/Pods/Headers/Private/SQLite.Swift: Is a directory
Egrep: /Users/YourUserName/YourApp/Pods/SQLite.Swift: Is a directory
Egrep: /Users/YourUserName/YourApp/Pods/Target Support Files/SQLite.Swift: Is a directory
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure

Any ideas how to prevent/fix this errors? They appeared after using SQLite.Swift :|
Thanks in advance :)

Most helpful comment

@PranKe01 , do you by any chance use the same script that I mentioned in my precious comment to exact TODO/FIXMEs?

Update:
I modified my script to
-name "*.swift" -and -name !"SQLite.swift"
and no longer get the error.

All 15 comments

@PranKe01 Are you running SQLite.swift 0.10.1? How did you install SQLite.swift? Cocoapods? Manually? Xcode version? Etc.

I am running XCode 7.3. I installed SQLite.Swift v1.10.1 via cocoapods. It is the only library I am using, which contains a dot in the name...

What version of cocoapods?

I am using CocoaPods 0.39.0.

Please read instructions here: https://github.com/stephencelis/SQLite.swift#cocoapods

Hopefully that resolves the issue you are seeing.

Ah :) Well this could help. But I think I will wait for the final version 1.0.
Thanks for your help!

Now I am using pod version 1.1.1 and I am still getting this error with SQLite.Swift 0.11.0 :(

I am also using CocoaPods 1.1.1 and still getting this error even after pod deintegrate.

Any update on this one?

@o15a3d4l11s2 version of Xcode? can you share your Podfile?

@jberkel, I am using Xcode 8.1 (8B62), CocoaPods 1.1.1, SQLite.swift 0.11.0

@o15a3d4l11s2 does a minimal project with pod try SQLite.swift work on your system?

I have traced the problem down to a script that I am using to highlight TODO and FIXME tags. It causes the error to show up in the Issue Navigator.

More details regarding the script itself: http://jeffreysambells.com/2013/01/31/generate-xcode-warnings-from-todo-comments

I will try to find a way to modify the script, so it does not emit such errors, but still keep the TODO and FIXME tags showing in the navigator.

I think that you can close the issue, as it is not caused by the pod itself. Thanks for the support.

@PranKe01 , do you by any chance use the same script that I mentioned in my precious comment to exact TODO/FIXMEs?

Update:
I modified my script to
-name "*.swift" -and -name !"SQLite.swift"
and no longer get the error.

That's right! I also used that script... Thanks for your help :)

Was this page helpful?
0 / 5 - 0 ratings