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

I'm unable to intregrate on prefPane #7

Closed
cuquet opened this issue Mar 30, 2021 · 7 comments
Closed

I'm unable to intregrate on prefPane #7

cuquet opened this issue Mar 30, 2021 · 7 comments
Labels
question Further information is requested

Comments

@cuquet
Copy link

cuquet commented Mar 30, 2021

Hi Leo, great job!.
I'm trying to integrate plist editor on prefPane to manage launchctl based on Postgres-prefPane. As I would like to manage nginx, mariadb, postgres, ... I'd like to replace current edit view by your editor and check changes later (it's like Launchrocket ). Drag&Drop project and include framework fails on compile.
May you help?

@LeoNatan
Copy link
Owner

Hello,
Can you please specify what the build failure is?
Thanks

@cuquet
Copy link
Author

cuquet commented Mar 31, 2021 via email

@LeoNatan
Copy link
Owner

I don't see anything related to the framework in the above log. Perhaps dynamic frameworks are not supported in preference panes?
I've made updates since. Try adding the framework using Swift Package Manager in Xcode, and link the Static variant of the framework. I just tried and it works:

Screen Shot 2021-03-31 at 23 17 31

@LeoNatan LeoNatan added the question Further information is requested label Mar 31, 2021
@cuquet
Copy link
Author

cuquet commented Mar 31, 2021 via email

@LeoNatan
Copy link
Owner

Follow this:
https://github.com/LeoNatan/LNPropertyListEditor#swift-package-manager

Other than that, Google is your friend. Xcode has support for Swift Package Manager, which you can use in your project. Then link with the Static target.

@cuquet
Copy link
Author

cuquet commented Mar 31, 2021 via email

@LeoNatan
Copy link
Owner

👍

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

No branches or pull requests

2 participants