Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"App" plugin is not implemented on ios #2162

Open
nocteryals opened this issue Aug 5, 2024 · 4 comments
Open

"App" plugin is not implemented on ios #2162

nocteryals opened this issue Aug 5, 2024 · 4 comments

Comments

@nocteryals
Copy link

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.

@EvgenyKL
Copy link

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

@nocteryals
Copy link
Author

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.

@EvgenyKL
Copy link

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?

@nocteryals
Copy link
Author

nocteryals commented Aug 28, 2024

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

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants