Skip to content

XCFramework signing error #4146

Description

@XericDesign

I have migrated from the framework to the xcframework in a macOS project. Everything was working before.

This is a 100% Cocoa project. No Swift.

After cleaning the project, during compile I get:

#import <RevenueCat/RevenueCat.h>. "'RevenueCat/RevenueCat.h' file not found"

Building a second time seems to get past this but then I get an OS-generated window saying "RevenueCat.framework" cannot be opened because the developer cannot be verified.

In my Framework search Paths, I have the parent folder where the RevenueCat.xcframework is stored in my project folder.

My project is set to automatic signing, the build phase has a Copy Files section where RevenueCat.xcframework is copied and signed on copy. In the General Build Tab, RevenueCat.xcframework is set to Embed & Sign.

The other curious thing is after building, there is a copy of the framework in my app bundle as expected but Xcode also places a copy of the framework in the same folder as my app. This is when I build for running in the debugger.

If I pull the appropriate .framework out of the .xcframework, and use it in my project, everything works as expected.

Xcode 15.4

How can I fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions