parse.com - Parse saveInBackgroundWithBlock crashes on iOS -


i adding data parse class (table) successfully.

after saving completed (i can see data on website), app crashes without leaving message on console. tried message using "enable zombie objects" setting. message getting has nothing doing:

-[uiactivityindicatorview release]: message sent deallocated instance 0x126d16780 

i not have uiactivityindicatorview in whole project.

this how save data:

var currentuser = pfuser.currentuser()!          var usercase = pfobject(classname: "case")         usercase.relationforkey("user").addobject(currentuser)         usercase["casecode"] = "test_code"         usercase.saveinbackgroundwithblock {             (success: bool, error: nserror?) -> void in             if (success) {                 // object has been saved.                 println("saved")             } else {                 // there problem, check error.description                 println("error occurred: \(error?.description)")             }         } 

swift sdk version: 1.7.5 xcode version: 6.4

has have ever faced such problem?

update: error not occur on simulator (tested on iphone 5, iphone 5s, iphone 6) , not occur on device @ first run.

tried removing , re-installing app.

update 2: removing pffacebookutils.initializefacebookwithapplicationlaunchoptions(launchoptions) or changing pffacebookutils.initialize() appdelegate fixes issue think need use initializefacebookwithapplicationlaunchoptions(launchoptions). have problem now.

you may following.

1) go pffacebookutils.h  2) change:  (void)initializefacebookwithapplicationlaunchoptions:(nsdictionary *)launchoptions; to:  (void)initializefacebookwithapplicationlaunchoptions:(pf_nullable nsdictionary *)launchoptions; 

it posted here


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -