1

I am migrating project from xcode 4.2 to xcode 7.0 and facing exception like this...

This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.

and app will be crashed after few seconds.

I have removed all reference from storyboard scenes and compile source. But problem remain same.Here is Exception Point

Umesh Verma
  • 876
  • 7
  • 28

1 Answers1

2

put the break point and check once you were called any thing in background thread, if yes change your thread to main

dispatch_async(dispatch_get_main_queue(), ^{
    // add your code here
});

check this also may be it helps

Community
  • 1
  • 1
Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143