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

Invalid custom path error #1

Open
GuillaumeUnice opened this issue May 2, 2024 · 0 comments
Open

Invalid custom path error #1

GuillaumeUnice opened this issue May 2, 2024 · 0 comments

Comments

@GuillaumeUnice
Copy link

I opt out the converter on the geolocation plugin:

 debug-portal-spm (main|✚3…)./cap2spm node_modules/@capacitor/geolocation 
Moving GeolocationPlugin.swift to GeolocationPlugin.swift.old...
Moving /Users/gBorg/dev/debug-portal-spm/node_modules/@capacitor/geolocation/ios/Plugin/GeolocationPlugin.m to /Users/gBorg/dev/debug-portal-spm/node_modules/@capacitor/geolocation/ios/Plugin/GeolocationPlugin.m.old...
Moving /Users/gBorg/dev/debug-portal-spm/node_modules/@capacitor/geolocation/ios/Plugin/GeolocationPlugin.h to /Users/gBorg/dev/debug-portal-spm/node_modules/@capacitor/geolocation/ios/Plugin/GeolocationPlugin.h.old...

so far so good then I import the dependency into my project:

let package = Package(
    name: "MyTest",
		platforms: [.iOS(.v13)],
		dependencies: [
                    .package(path: "./node_modules/@capacitor/geolocation/")
		],

And the plugin seems to be present but XCode Issue navigator print the following error:

x-xcode-log://A91367E6-601E-4DFA-9891-9A86017E3656 invalid custom path 'ios/Sources/GeolocationPlugin' for target 'GeolocationPlugin'

I observe the plugin and source code in 'ios/Plugin' and not 'ios/Sources' but even by update that I still encounter the same issue.

Any Idea from where that come from?

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

No branches or pull requests

1 participant