swift - 没有这样的模块解析

标签 swift xcode

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")

如何解决 Parse 上的“没有这样的模块”问题?

最佳答案

因为我们已经能够在 GitHub Chat 中解决这个问题。您忘记安装 Parse Framework.

您需要使用 pod 'Parse' 安装它,或者将框架拖放到您的项目中并使用 Bridging Header。

关于swift - 没有这样的模块解析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40031614/

相关文章:

ios - 某些 DynamoDB 项目的属性为零

ios - 以编程方式将 UIButton 置于 Superview 类的中心(Swift 3)

swift - 如何使用 didSet 更新 UIButton 的 .setTitle?

ios - 找不到 Node.js 设备

swift - 如何快速提取括号内的数据?

ios - 解雇错误

ios - 打开 Thread Sanitizer 会产生信号 SIGABRT

ios - 我可以在 Xcode 9.2 中为 iOS 12 开发 App 吗?

Xcode Swift macOS,终端应用程序不执行 NSURLSession

ios 使用自动布局在另一个 View 中放置 3 个 View