swift3 - App rejected due to crash on iPv6 -


recently app rejected due crash on ipv6 network. symbolicating crash report , unable crete crash on ipv6.

apple says: app crashed on ipad running ios 10.3.1 connected ipv6 network when tapped on of new articles in news tab. occurred when app used: - on wi-fi have attached detailed crash logs troubleshoot issue

symbolicated crash report :

thread 0 name:  dispatch queue: com.apple.main-thread  thread 0 crashed: 0   libswiftcore.dylib              0x000000010083e2ac **swift_unknownretain (__hidden#18966_:380) 1   *******                     0x0000000100026d68 **newsdetailviewcontroller.getnewsdetail() -> ()** (newsdetailviewcontroller.swift:0) 2   ******                          0x0000000100025228 newsdetailviewcontroller.viewdidload() -> () (newsdetailviewcontroller.swift:0) 

method:

func getnewsdetail(){      //checking reachability via apple reachability class     let reachability: reachability = reachability.forinternetconnection()     let networkstatus: int =      reachability.currentreachabilitystatus().rawvalue     if networkstatus == 0{return}      activityindicatorview.startanimating()     //webservices class uses simple nsurlsession tasks     webservices(type: .get).startrequest(url: appurl.news_detail +          (newsdetail?.newsid ?? ""), info: nil) { (response) in          if let data = response?["data"] as?dictionary<string,string>{            self.setdescription(desc: data["description"])         }else{             self.activityindicatorview.stopanimating()         }     }  } 

now after struggling lot have been unable find crash. server must support ipv6? if so, why other apis working , crash on api. please suggest me.

i uploaded again without change in code , approved, it's strange though. has happened me in 2 apps.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -