2

There are several questions addressing this issue already, but all of them (I think) are in reference to earlier versions of Parse using an objective-C bridging header to connect the framework. I am using the latest version of Parse that has support for Swift directly, which is a different setup process.

I've downloaded and added Parse to Xcode in the Build Phases -> Link Binary With Libraries. The directions on their website are extremely straightforward...download the SDK, add it to Xcode, import it, and done.

Parse seems to be added properly everywhere it should be:

But alas, when I use import Parse, I get a no such module error. I've tried adding the framework search path $(PROJECT_DIR) under Build Settings both recursively and non-recursively, and a few other recommendations from the other questions addressing this issue, but with no luck.

I'm wondering if this could be an issue with Parse or the Xcode beta, since both are extremely new, but I'm assuming the error is on my end, just not exactly sure where to look since the quickstart guide on Parse.com seemed so simple.

5
  • You can easily add parse to your project using CocoaPods here's the link for parse SDK On parse.com there is quick start projects for working with ios/swift comes with everything you need. [2]: parse.com/apps/quickstart#parse_data/mobile/ios/swift Commented Oct 15, 2015 at 22:52
  • I've gone through the quickstart on parse.com several times, and it still gives me an error, which is the issue. Commented Oct 16, 2015 at 2:08
  • try this step by step, works for me: ios-blog.co.uk/tutorials/… Commented Oct 16, 2015 at 3:13
  • I've tried doing it with the bridging header, but the latest version of Parse has support for Swift which doesn't require the bridging header. Commented Oct 16, 2015 at 3:20
  • Is your platform set to IOS 9 in your podfile(platform :ios, '9.0')? I ran into similar problems from omitting it a while ago. Commented Oct 17, 2015 at 1:15

1 Answer 1

6

Apparently if you drag the Parse library to the 'Link with Binary Libraries' section, you will continue to get this error.

You have to drag Parse to the project navigator for it to properly import.

Since it should work regardless of where you drag it into Xcode, it is possible this could be a problem with the Xcode 7.1 beta or the updated Parse API for Swift support. I'm not entirely sure, but either way, it's a really simple fix, so not a big deal.

Sign up to request clarification or add additional context in comments.

1 Comment

Omg thank you. Couldn't figure this out for an hour.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.