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

Configuring Mac files #67

Closed
wilsonowilson opened this issue Aug 22, 2021 · 2 comments
Closed

Configuring Mac files #67

wilsonowilson opened this issue Aug 22, 2021 · 2 comments

Comments

@wilsonowilson
Copy link

I'd like to know how we can tinker with macOS configuration files like the Podfile or Release.entitlements. Is there any way to edit files like these?

@knopp
Copy link
Contributor

knopp commented Aug 22, 2021

The Podfile is internally generated during build from flutter plugins. You can add macos_extra_pods argument to FlutterOptions inside build.rs if you want to add additional pods to the build, i.e.

    Flutter::build(FlutterOptions {
        macos_extra_pods: &[
            "pod 'Sparkle'", //
            "pod 'LetsMove'",
        ],
        ..Default::default()
    })?;

There is no code-signing during cargo build, so there is no entitlements file. There is bundle_tool project that you can install using

cargo install bundle_tool

and which can create self contained bundles as well as codesign and notarize them, but I haven't had much time to document it. After installing you can run cargo bundle-tool --help and see the available options.

@wilsonowilson
Copy link
Author

I see. On a side note would be really helpful if there was documentation highlighting the process of building and releasing Desktop apps with Nativeshell.

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