Alexander Seda
Alexander Seda

Reputation: 13

No such module Parse

import UIKit
import Parse

class RegisterPageViewController: UIViewController {

   let myUser: PFUser = PFUser();

        myUser.username = userEmail
        myUser.password = userPassword
        myUser.email = userEmail


        myUser.signUpInBackgroundWithBlock {
            (success:Bool!, error:NSError!) -> Void in

            println("User successfully registered")

How do I fix a "no such Module" issue on Parse?

Upvotes: 0

Views: 971

Answers (2)

TMin
TMin

Reputation: 2349

Also if you have a Swift only app, Parse's SKD is in Objective C so you are going to have to make your app a swift/Objective C app, and add Parse to your bridging header

Here's a good post on how to add a bridging header

Upvotes: 0

David Seek
David Seek

Reputation: 17132

As we have been able to solve this Issue in the GitHub Chat. You have forgotten to install Parse Framework.

You need to either install it with pod 'Parse' or drag and drop the Framework into your project and use the Bridging Header.

Upvotes: 1

Related Questions