-
Notifications
You must be signed in to change notification settings - Fork 66
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
Compilation Errors when using Amazon SDK SPM #672
Comments
Hi @arehman86, did you import AVFoundation? |
@georgezy-amzn yes I have done that but it didnt work. There are other errors along with the errors of AVFoundation. Do you want me to prepare a sample project and share it with you guys? ![]() |
Yes, please share us a sample project. |
@georgezy-amzn |
@georgezy-amzn any update on this one? |
@georgezy-amzn Can you please update me on the sample project which I shared with you? Is there anything we need to do on our side to fix the issue? |
Your project is using .mm files, which is for c++, please use .m. |
Describe the bug
I have an objective-c project which I am working on right now. Previously I have downloaded xcframeworks and used it manually but now I have to use SPM. So I removed xcframeworks from the project and used SPM with video. When compiling the code I am getting compilation errors. I am importing the header like this #import <AmazonChimeSDK/AmazonChimeSDK-Swift.h> but getting compilation errors in this header.
To Reproduce
Add Amazon chime sdk spm to the project and import the header AmazonChimeSDK/AmazonChimeSDK-Swift.h and try to compile. It will give compilation errors.
Screenshots

The text was updated successfully, but these errors were encountered: