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

'ting-Swift.h' file not found #15

Open
kapilkarda opened this issue Oct 31, 2023 · 5 comments
Open

'ting-Swift.h' file not found #15

kapilkarda opened this issue Oct 31, 2023 · 5 comments

Comments

@kapilkarda
Copy link

Screenshot 2023-10-31 at 2 52 37 PM

i am stuck in this issue isn't not fixing can anyone fix this

@agrawalshubham1012
Copy link

Can you give me update regarding this task i need it

@longnguyen2508
Copy link

Got the same error while building project

@baronha
Copy link
Member

baronha commented Dec 5, 2023

Did you guys use New Arch for the project?

@zcmgyu
Copy link

zcmgyu commented Dec 5, 2023

@baronha 👋 Possibly, the problem might stem from the use_frameworks! :linkage => :static entry in the Podfile. This configuration may currently not be compatible with Swift projects. Check out the discussion on GitHub for more details.

@4cc3ssX
Copy link
Contributor

4cc3ssX commented Mar 15, 2024

Just a workaround who is using this library with use_frameworks! enabled, please change #import <ting-Swift.h> to #import <Ting/Ting-Swift.h>. You're done and successfully built with use_frameworks! :linkage => :static enabled!🎉

diff --git a/ios/Ting.mm b/ios/Ting.mm
index 2ae7778f02d1a42fc029761a27f0f7c4d6225f85..3673dcf75eb95044891ae3a44c906a0e644a9e78 100644
--- a/ios/Ting.mm
+++ b/ios/Ting.mm
@@ -1,6 +1,6 @@
 #import "Ting.h"
 
-#import <ting-Swift.h>
+#import <Ting/Ting-Swift.h>
 
 @implementation Ting

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

6 participants