capacitor: bug: EXC_BREAKPOINT in registerPlugins

#2532 Bug Report

Capacitor Version

npx cap doctor output: 💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 1.5.1

@capacitor/core: 1.5.1

@capacitor/android: 1.5.1

@capacitor/ios: 1.5.1

Installed Dependencies:

@capacitor/android not installed

@capacitor/cli 1.5.1

@capacitor/core 1.5.1

@capacitor/ios 1.5.1

Found 0 Capacitor plugins for ios: [success] iOS looking great! 👌

Affected Platform(s)

  • Android
  • iOS
  • Electron
  • Web

Current Behavior

run app on device. And registerPlugins crash

Reproduction Steps

build app on device. (on simulator all ok)

Other Technical Details

npm --version output: 6.13.7

node --version output: 10.17.0 pod --version output (iOS issues only): 1.8.4 xcode: 11.4b2

Other Information

po classes![0] 2020-03-06 13:02:41.565498+0500 XXXXX[11127:3805099] *** NSForwarding: warning: object 0x2027c4948 of class ‘PFEmbeddedMulticasterImplementation’ does not implement methodSignatureForSelector: – trouble ahead 2020-03-06 13:02:41.565830+0500 XXXXX[11127:3805099] *** NSForwarding: warning: object 0x2027c4948 of class ‘PFEmbeddedMulticasterImplementation’ does not implement doesNotRecognizeSelector: – abort error: Execution was interrupted, reason: EXC_BREAKPOINT (code=1, subcode=0x1b802b438). The process has been returned to the state before expression evaluation.

xcode

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 18 (3 by maintainers)

Commits related to this issue

Most upvoted comments

use @capacitor/ios@next

@capacitor/ios@next

That fixed it for me: npm i @capacitor/ios@next

try

ionic cap update ios or

ionic cap sync ios

By using this page here I was able to resolve this issue. However, I am now encountering a new one.

dyld: Library not loaded: @rpath/protobuf.framework/protobuf Reason: image not found

I’m seeing that other have faced a similar issue when using a free Apple Developer account. However, I am using a paid account. But, this is another issue.