Dimillian / SwiftHN

A Hacker News reader in Swift
GNU General Public License v2.0
1.71k stars 282 forks source link

Error building the project #22

Closed hiroshido closed 8 years ago

hiroshido commented 10 years ago

I have Xcode 6 beta 6 installed. I'm trying to build the project but I keep getting this error.

'sharedApplication()' is unavailable: Use view controller based solutions where appropriate instead. /SwiftHN/libs/submodules/Hacker Swifter/Hacker Swifter/HTTP/Fetcher.swift:98:44

Any ideas why?

Dimillian commented 10 years ago

Actually yeah, I should not access sharedApplication from framework but I do a check before. Xcode should not emit an error. It does not on mine. Weird.

hiroshido commented 10 years ago

I see! For now if i use this app that have to remove the sharedApplication?