Skip to content

Struggeling to sign app with Frameworks #163

@aluedeke

Description

@aluedeke

i am getting the following error when resigning an app bundle which contains Frameworks:

signing bundle at agent/agent-app.app/Frameworks/FlyingSocks.framework into agent/agent-app.app/Frameworks/FlyingSocks.framework
found an unversioned framework; signing like normal
collecting code resources files
Error: I/O error: No such file or directory (os error 2)

The error happens here.

    /// Obtain the path to the `Info.plist` file.
    pub fn info_plist_path(&self) -> PathBuf {
        match self.package_type {
            BundlePackageType::App | BundlePackageType::Bundle => self.resolve_path("Info.plist"),
            BundlePackageType::Framework => self.root.join("Resources").join("Info.plist"),
        }
    }

The returned path is always Resources\Info.plist. But my frameworks always have their Info.plist in the root.

Screenshot 2024-10-22 at 14 11 34

Why would you search in Resources instead of the root folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions