mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Use of undeclared type 'GCDQueue' #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThibaultVlacich on GitHub (Sep 6, 2016).
Hello,
I have a very strange bug with CoreStore. I'm using it through Cocoapods, and if I'm adding the "DEBUG" flag, I start getting that kind of errors from CoreStore :
Here what I've added to my Podfile to have the debug flags :
I also tried
-D DEBUGinstead of-DDEBUGwithout success. Just having the-D SWIFT_DEBUGworks (in the means that it compiles), but I do not have any logging from CoreStore.So that means that I can't use the CoreStore logger (because there is an
#if DEBUGbefore every logging action). Any idea how I can fix that and have a working logger ?@JohnEstropia commented on GitHub (Sep 6, 2016):
Hi, thanks for the feedback!
I think the problem is you are overwriting the
OTHER_SWIFT_FLAGSinstead of appending to it. CoreStore declares-D USE_FRAMEWORKSthat it uses to conditionally-import GCDKitTry adding
But you're right, I should probably declare DEBUG within CoreStore itself.
@ThibaultVlacich commented on GitHub (Sep 7, 2016):
Indeed, thanks ! I should have checked the podspec file to see that.
I can make you a pull request to add the DEBUG flag in Debug config if you want.
@JohnEstropia commented on GitHub (Sep 7, 2016):
That is awesome! Thanks!
@JohnEstropia commented on GitHub (Sep 7, 2016):
@ThibaultVlacich pushed your code to v2.0.5 👍