ionic-team/capacitor-plugins

"App" plugin is not implemented on ios

nocteryals opened this issue · 4 comments

Bug Report

I'm working with a mono repo on nx, capacitor 5 works perfectly for me, I had to migrate to 6 to update some themes and now nothing works, no plugin registers.

I have run the npx cap migrate commands within the apps folders and they have worked, there are no errors but it still won't let me compile the applications correctly, I'm desperate and I don't know what else to do.

This are the capacitor dependencies,
image

That is my capacitor cli version.
image

That I have tried.

  1. I have deleted the iOS folder and regenerated it.

  2. Try to run the project on another machine in case it was my computer.

  3. I have tested various versions and compared the code on various occasions.

Plugin(s)

"@capacitor/app": "^6.0.0",
"@capacitor/ios": "^6.0.0",
"@capacitor/geolocation": "^6.0.0",

Capacitor Version

"@capacitor/cli": "^6.0.0",

Platform(s)

iOS

Current Behavior

Unhandled Promise rejection: "App" plugin is not implemented on ios ; Zone: ; Task: Promise.then ; Value: {"code":"UNIMPLEMENTED"}

Expected Behavior

The plugin should work.

Code Reproduction

Maybe you can configure a simple nx repo working with a capacitor 5 app and try to update it to 6.

Hi, have you found a solution?

I have the same issue and it seems I need to configure each plugin separately in XCode.

However, I cannot find what should be defined

Please let me know if you have found a solution to this problem

Hello, i have not, to solve it i downgraded capacitor and its plugins to 5 it was the only way to solve it. Sad but true.

Thank you for your response. As I understand it, Capacitor 5 may not be suitable for my needs because I need to upgrade the following versions of Android:

compileSdkVersion = 34
targetSdkVersion = 34

any ideas?

Actually, i don't, but, i have capacitor 5 working with android API 34, why it does not work for you?

image image