-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error on 2.0.0.4 beta #410
Comments
That line is supposed to be active for deployment targets >= iOS 6. |
Actually no, I always started with deployement target >= 7.0. So this is expected actually ? Hum. |
You shouldn't be getting that error and that line should be ok with your deployment target (#397 (comment)). Can you check the CocoaLumberjack Pod deployment target? Somewhere it is set to iOS 5. Otherwise if you could share a demo project to reproduce the error would be great. |
I got the same error. Seems to happen when using CocoaPods and deployment targets > iOS 5. |
Oh and this is my podfile 👍
|
Should be fixed. BTW not sure about your |
Hum with this pod 'CocoaLumberjack', :git => "https://github.com/CocoaLumberjack/CocoaLumberjack" in my podfile, I still get the error. If my params for the podfile are incorrect, can you advise me on the proper line so that cocoapods retrieve the latest beta ? |
I think you need: |
I just gave it a shot but I get some error :
|
Do you have another pod that has Lumberjack as a dependency? |
Hum not at all. all the others pods I m using were there BEFORE I added Lumberjack. |
Well well still no luck. Guess I have a bad karma. What I did
Sadly the compilation fails giving |
CrashlyticsLumberjack? Then the Podfile you posted is not complete. |
Also if you have the latest CocoaLumberjack the line you posted above should look like this: @interface DDAbstractLogger : NSObject <DDLogger>
{
// Direct accessors to be used only for performance
@public
id <DDLogFormatter> _logFormatter;
dispatch_queue_t _loggerQueue;
}
@property (nonatomic, strong) id <DDLogFormatter> logFormatter;
@property (nonatomic, DISPATCH_QUEUE_REFERENCE_TYPE) dispatch_queue_t loggerQueue;
|
Here is my current podfile
|
It does compiles in my test empty project: platform :ios, '7.0'
pod 'AZSocketIO'
pod 'TMCache'
pod 'StandardPaths'
pod 'FMDB'
pod 'CocoaLumberjack', :head
pod 'CrashlyticsFramework'
pod 'CrashlyticsLumberjack', '2.0.0-beta4'
pod 'FVCustomAlertView' I added Anyway we should make a new release soon. Probably a first RC @bpoplauschi ? |
OH I thought I was supposed to remove the original cocoalumberjack from the pod. Adding those lines to my podfile
it does now compile. Thx for your help |
Usually you can if it is required by other pods and you are ok about using the latest stable version.
CrashlyticsFramework 2.0.0-beta4 requires CocoaLumberjack 2.0.0-beta4, which has the bug you encountered, so you needed to force head on it. |
Hum now when I try to pod update, I get this message
|
There are newer versions of CrashlyticsLumberjack: $ pod search CrashlyticsLumberjack
-> CrashlyticsLumberjack (2.0.0-rc2)
A Crashlytics Logging->CocoaLumberjack Bridge.
pod 'CrashlyticsLumberjack', '~> 2.0.0-rc2'
- Homepage: http://github.com/TechSmith/CrashlyticsLumberjack
- Source: https://github.com/TechSmith/CrashlyticsLumberjack.git
- Versions: 2.0.0-rc2, 2.0.0-rc, 2.0.0-beta4, 1.0.2, 1.0.1, 1.0.0 [master repo] |
Hi guys.
Since yesterday I'm experiencing this compile error. Maybe remove the "strong" attribute to this one ?
The text was updated successfully, but these errors were encountered: