Saturday, September 5, 2026
HomeiOS Developmentswift - Can't discover kind 'ParseCloud' in scope - Back4App ios implementation

swift – Can’t discover kind ‘ParseCloud’ in scope – Back4App ios implementation

[ad_1]

I’m growing an ios app utilizing Swift, Xcode, and back4app(Parse). I’m making an attempt to jot down an utility launched operate that connects to a operate on the again finish however am receiving this error. Any assist could be nice! Thanks prematurely.

struct CloudUser: ParseCloud {
      typealias ReturnType = String
      var functionJobName: String
      var username: String
      var password: String
      var electronic mail: String
    }
    
    let cloudUser = CloudUser(functionJobName: "userRecord", username: self.userName.textual content!, password: self.password.textual content!, electronic mail: self.electronic mail.textual content!)
    cloudUser.runFunction { lead to
          change consequence {
          case .success(let response):
            print("Response from cloud operate sumNumbers: (response)")
          case .failure(let error):
            assertionFailure("Error calling cloud operate sumNumbers: (error)")
          }
        }

Error: Can’t discover kind ‘ParseCloud’ in scope

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments