{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/422","labels_url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/422/comments","events_url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/422/events","html_url":"https://github.com/CocoaLumberjack/CocoaLumberjack/issues/422","id":52207438,"number":422,"title":"CocoaLumberjackSwift does not compile. Issue with creating DDLogMessage","user":{"login":"mowens","id":4575216,"avatar_url":"https://avatars.githubusercontent.com/u/4575216?v=3","gravatar_id":"","url":"https://api.github.com/users/mowens","html_url":"https://github.com/mowens","followers_url":"https://api.github.com/users/mowens/followers","following_url":"https://api.github.com/users/mowens/following{/other_user}","gists_url":"https://api.github.com/users/mowens/gists{/gist_id}","starred_url":"https://api.github.com/users/mowens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mowens/subscriptions","organizations_url":"https://api.github.com/users/mowens/orgs","repos_url":"https://api.github.com/users/mowens/repos","events_url":"https://api.github.com/users/mowens/events{/privacy}","received_events_url":"https://api.github.com/users/mowens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/labels/Bug","name":"Bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-17T06:47:43Z","updated_at":"2015-02-09T21:06:08Z","closed_at":"2015-02-09T21:06:08Z","body":"Unable to compile the CocoaLumberjackSwift framework due to issues with the way the SwiftMacro creates the DDLogMessage:\r\n![screen shot 2014-12-16 at 10 37 19 pm](https://cloud.githubusercontent.com/assets/4575216/5467457/98717a8c-8574-11e4-8941-5651fc2a04b4.png)\r\n```\r\n/Users/mikeowens/Desktop/github/CocoaLumberjack/Classes/CocoaLumberjack.swift:67:19: Could not find member 'CopyFile'\r\n```\r\n\r\nOriginal error with no changes cannot file the .CopyFile or .CopyFunction. Prefixed both classes with DDLogMessageOptions but compiler still complains about the mask:\r\n![screen shot 2014-12-16 at 10 37 47 pm](https://cloud.githubusercontent.com/assets/4575216/5467473/d8b6a194-8574-11e4-95b5-04b195b8663b.png)\r\n```\r\n/Users/mikeowens/Desktop/github/CocoaLumberjack/Classes/CocoaLumberjack.swift:67:19: Cannot invoke '|' with an argument list of type '(message: String, level: DDLogLevel, flag: DDLogFlag, context: UInt, file: String, function: String, line: UInt, tag: AnyObject?, options: $T11, timestamp: NilLiteralConvertible)'\r\n```\r\n\r\nMoving the mask to a local constant still a no go:\r\n![screen shot 2014-12-16 at 10 38 43 pm](https://cloud.githubusercontent.com/assets/4575216/5467479/eb51fe0c-8574-11e4-9923-499db19a8bc3.png)\r\n```\r\n/Users/mikeowens/Desktop/github/CocoaLumberjack/Classes/CocoaLumberjack.swift:68:22: Cannot invoke 'init' with an argument list of type '(message: String, level: DDLogLevel, flag: DDLogFlag, context: UInt, file: String, function: String, line: UInt, tag: AnyObject?, options: DDLogMessageOptions, timestamp: NilLiteralConvertible)'\r\n```\r\n\r\nIs this currently expected? Based on the comments on #383 it would appear that the iOSSwift demo project should be building. Any thoughts?"}}