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

symbol _EMBED_INFO_PLIST is already defined #2

Closed
aneesijaz opened this issue Jan 15, 2022 · 1 comment
Closed

symbol _EMBED_INFO_PLIST is already defined #2

aneesijaz opened this issue Jan 15, 2022 · 1 comment

Comments

@aneesijaz
Copy link

Type: Bug
Getting error on making a call to

embed_plist::embed_info_plist!("../Info.plist");

Here's a screenshot let me know if I am doing something wrong.
I am actually new to rust and still learning and finding my way around let me if I am missing something.

Screenshot 2022-01-15 at 11 34 50 PM

Rust Version: 1.57.0
Tauri: { version = "1.0.0-beta.8", features = ["api-all"] }
OS: Mac Os Big Sur (11.6.1)
embed-plist: 1.2.0

@nvzqz
Copy link
Owner

nvzqz commented Jan 16, 2022

It appears that Tauri embeds your Info.plist for you in dev builds.

Because of how this crate is implemented, you cannot override Tauri's invocation of embed_info_plist!. Having a compile error on _EMBED_INFO_PLIST is a feature to catch this issue. Because this is expected behavior, I'm going to close this issue.

@nvzqz nvzqz closed this as completed Jan 16, 2022
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

2 participants