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

Error when adding framework manually #35

Open
ruslankmlv opened this issue Sep 1, 2023 · 0 comments
Open

Error when adding framework manually #35

ruslankmlv opened this issue Sep 1, 2023 · 0 comments

Comments

@ruslankmlv
Copy link

Hi, I'm having an issue when trying to add the framework manually. I'm using the version from the master branch. When using CocoaPods everything is fine, however this is the last dependency in the project that's using Cocoapods, so I'm trying to add it manually and remove the CocoaPods.

I've added Framework/KISSmetricsSDK.xcodeproj to the project, then I've added KISSmetricsSDK.framework to the "Frameworks, Libraries, and Embedded Content" section of the app target. When I try to build the project I'm getting the "'KISSmetricsSDK/KISSmetricsAPI.h' file not found" error in bridging header.

If I don't have the import in bridging header, then I'm getting "No such module 'KISSmetricsSDK'" error when I try to import it in the swift file. With CocoaPods it's working without the import in bridging header.

I can see the framework in the build folder. It contains "_CodeSignature", "Info.plist", "KISSmetricsSDK", so no "Headers" folder (when I build it with CocoaPods it has the Headers folder in the framework).
I've added $(BUILT_PRODUCTS_DIR) to the "Framework Search Paths" and "Header Search Paths" build settings, still getting the same error.

Any idea what else I'm missing?

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

1 participant