naoty/Timepiece

"No such module 'Timepiece'"

Closed this issue · 7 comments

pketh commented

Hi, I'm pretty new to Swift/pods. I added timepiece to my pod file, installed it and can verify it's added to my app. But attempting to import Timepiece at the top of my appDelegate with the rest of my other imports gives me an error "No such module 'Timepiece'"

Any idea what I'm missing here?

Thanks!

pketh commented

Hmm, I also get the same error when I run the included timepiece.playground. I'm on XCode 7.3

naoty commented

@pketh Thank you for using my library. Do you open *.xcworkspace, not *.xcodeproj? Is your problem specific to Timepiece?

pketh commented

Thanks for the quick reply :)
Yeah I'm using xcworkspace and other pods do import. If it helps, I'm making a Mac app. But didn't do anything Mac specific in the playground file

On Apr 4, 2016, at 4:10 AM, Naoto Kaneko notifications@github.com wrote:

@pketh Thank you for using my library. Do you open *.xcworkspace, not *.xcodeproj? Is your problem specific to Timepiece?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

naoty commented

@pketh I created a sample OSX application using Timepiece, and successfully built the app. The repository is here. What is the difference with yours?

pketh commented

If I download your sample application directly and open it in xcode, going to the appDelegate shows the same error. Comparing our appDelegate files, they look like they have pretty much the same init. My project is https://github.com/pketh/weather-cat .

That being said, I've since found a workaround, so if I'm the only person who's had this issue I wouldn't bother trying too hard to track it down :) If other osx users bring this up, maybe file that as a duplicate issue.

Thanks Noato!

naoty commented

It's a pleasure for you to solve the problem!