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

Resolve symlinks in iOS Podfile during copy #3247

Closed
imhoffd opened this issue Jul 13, 2020 · 1 comment · Fixed by #3249
Closed

Resolve symlinks in iOS Podfile during copy #3247

imhoffd opened this issue Jul 13, 2020 · 1 comment · Fixed by #3249

Comments

@imhoffd
Copy link
Contributor

imhoffd commented Jul 13, 2020

CocoaPods doesn't support symlinks with :file directive. When we run copy, we can resolve the symlink for CocoaPods and write the true file path to the Podfile.

-  pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
-  pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
+  pod 'Capacitor', :path => '../../../capacitor/ios'
+  pod 'CapacitorCordova', :path => '../../../capacitor/ios'

This feature would mostly be for contributors to Capacitor who need to symlink dependencies in order to work on them, e.g. with the Capacitor TestApp.

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 11, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant