cedarbdd / cedar

BDD-style testing using Objective-C
http://groups.google.com/group/cedar-discuss
1.19k stars 140 forks source link

new project can't find cedar #373

Closed SpaceTrucker2196 closed 8 years ago

SpaceTrucker2196 commented 8 years ago

Hello,

I'm creating a fresh project in Xcode 7.2 using cocoa pods to manage dependancies. The pod install seems to go fine. I'm able to add the cedar templates and create a spec file. However when I run the tests my spec file cannot import cedar.

Looking at the setup docs it references a main.m in Supporting Files which I only have for my code not tests. Was I supposed to create an additional project or target? I see the Xcode created test groups. And i've included my spec file in my project's test target.

SpaceTrucker2196 commented 8 years ago

Found my error which turned out to be a pod file issue. I was adding cedar to the wrong test target.