CoreStore/CoreStore-Swift.h' file not found #307

Closed
opened 2025-12-29 15:28:36 +01:00 by adam · 3 comments
Owner

Originally created by @rubenspessoa on GitHub (Jan 28, 2020).

Linked to this issue

I'm having the same issue when I install CoreStore via cocoapods.

'CoreStore/CoreStore-Swift.h' file not found

Versions:
CoreStore ~> 7.0.1
XCode ~> 11.3.1 (11C504)
Cocoapods ~> 1.8.3

Until now I couldn't find any workaround, but I noticed that there's no CoreStore-Swift.h file in the lib. 🤔

Originally created by @rubenspessoa on GitHub (Jan 28, 2020). Linked to this [issue](https://github.com/JohnEstropia/CoreStore/issues/333) I'm having the same issue when I install CoreStore via cocoapods. ```'CoreStore/CoreStore-Swift.h' file not found``` Versions: CoreStore ~> 7.0.1 XCode ~> 11.3.1 (11C504) Cocoapods ~> 1.8.3 Until now I couldn't find any workaround, but I noticed that there's no `CoreStore-Swift.h` file in the lib. 🤔
adam closed this issue 2025-12-29 15:28:36 +01:00
Author
Owner

@rubenspessoa commented on GitHub (Jan 28, 2020):

The solution is to add use_frameworks! in the Podfile. Since the CoreStore has some obj-c code in it, we should use frameworks instead of static libraries. I believe this information would be a great addition to the documentation @JohnEstropia .

Happy coding!

@rubenspessoa commented on GitHub (Jan 28, 2020): The solution is to add `use_frameworks!` in the Podfile. Since the CoreStore has some obj-c code in it, we should use frameworks instead of static libraries. I believe this information would be a great addition to the documentation @JohnEstropia . Happy coding!
Author
Owner

@JohnEstropia commented on GitHub (Jan 28, 2020):

I see, thanks for the heads up! Glad it was sorted out 👍

@JohnEstropia commented on GitHub (Jan 28, 2020): I see, thanks for the heads up! Glad it was sorted out 👍
Author
Owner

@skytoup commented on GitHub (Apr 4, 2020):

Sometimes Cocoapods use static libraries to manage third-party libraries, maybe it would be better to make them import compatible.

#if canImport
#import <CoreStore/CoreStore-Swift.h>
#else
#import <CoreStore-Swift.h>
#endif
@skytoup commented on GitHub (Apr 4, 2020): Sometimes Cocoapods use static libraries to manage third-party libraries, maybe it would be better to make them import compatible. ``` #if canImport #import <CoreStore/CoreStore-Swift.h> #else #import <CoreStore-Swift.h> #endif ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#307