DaveWoodCom / XCGLogger

A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
MIT License
3.95k stars 476 forks source link

Use of unresolved identifier 'XCGLoggerVersionNumber' #3

Closed neowinston closed 10 years ago

neowinston commented 10 years ago

I'm getting this error message when trying to run my project using XCGLogger:

/XCGLogger/XCGLogger.swift:389:90: Use of unresolved identifier 'XCGLoggerVersionNumber'

For now I've added the global var manually just to run the project.

Thanks.

Phillipus commented 10 years ago

I've done the same adding this:

let XCGLoggerVersionNumber = 1.0

neowinston commented 10 years ago

Thanks for the reply Phillipus, I've done similarly to what you did.

DaveWoodCom commented 10 years ago

Did you guys add the source to your project directly, or set it up with the full framework?

Phillipus commented 10 years ago

I just grabbed the XCGLogger.swift file and added it to my project. How do you add it as a framework?

Phillipus commented 10 years ago

I just cannot figure out how to add it as a framework to a Xcode project.

neowinston commented 10 years ago

I did the same as Phillipus did. I just dragged and dropped the XCGLogger.swift to my project and I also don't know how to add it as a framework. Thanks.

DaveWoodCom commented 10 years ago

I've changed the way the versioning works, basically handling it manually instead of using Xcode's versioning since Xcode 6 Betas have issues using Swift Frameworks right now.