ios - CloudKit Issue: did not find required record type -
my situation:
- in cloudkit dashboard, set record in 
private data'sdefault zonetesting function of downloading data icloud. - the thing is, there no error occurred in iphone simulator or app translated phone through xcode.
 - but when posted app 
testflight, app downloadedtestflightoccurred error,did not find required recored type. 

the thing worth mentioned cardmodel recode types in cloudkit dashboard.
my code:
   let delegate = uiapplication.sharedapplication().delegate as! appdelegate    let predicate = nspredicate(value: true)    let query = ckquery(recordtype: "cardmodel", predicate: predicate)    self.privatedb.performquery(query, inzonewithid: nil) {         results, error in         if error != nil {             dispatch_async(dispatch_get_main_queue()) {                 self.delegate?.errorupdating(error)                 println("error loading: \(error)")             }   after checking code, find error submitted self.privatedb.performquery(query, inzonewithid: nil). , errorupdating() function in it's class's protocol part.
my question:
- why got different results between app translated xcode , app downloaded 
testflight? - i know show more code, have no idea part of system occurred error. cloudkit or certification of icloud?
 
a big appreciation guide , answer.
ethan joe
did deploy data development production region in cloudkit dashboard? suppose testflight needs production database, not development.
Comments
Post a Comment