IOS Swift how to debug SIGABRT: "fatal error: remote method call" from CocoaPod?

I have an application that uses SlideMenuControllerSwift . I changed the code to see how to present the different panels and then reverted my changes.

When starting the project, I get SIGABRT

fatal error: call of deleted method

in the console when it SlideMenuControllerSwift

initializes. No other error messages are provided.

  • The project's source control is in the same state as before the change.
  • I did "clean"
  • Reinstalled containers.
  • Remote pods directory and did a clean install
  • Removed app from device and launched again
  • Was there a new check in a different folder
  • Updated gem cocoapods
  • Even modified the function to use self.addLeftGestures ()

How to debug the problem caused by cocoa pod throwing "fatal error: remote method call"?

enter image description here

UPDATE: It looks like something is seriously broken with functions inside this module, calling another function inside init throws a bad access exception:

enter image description here

+3


source to share


1 answer


In my case, I created a project diagram that uses the release build configuration:

Change schema

In this configuration, if your project build settings do not allow testing in this release mode, then setting custom breakpoints or application crashes prevents you from debugging properly and you are given fatal error: call of deleted method


Decision:



Check your project build settings for verification .

Project build settings

Make sure this is Yes for the build configuration you are testing.

In my case, I temporarily enabled testability for Release by making it Yes .

+1


source







All Articles