-
Notifications
You must be signed in to change notification settings - Fork 22
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
"DJISDK/DJISDK.h" not found VideoPreviewer with Swift, CocoaPods #7
Comments
Hi, please make sure the VideoPreviewer folder(Includes the VideoPreviewer.xcodeproj file, not just the .h and .m files) you download is placed in the same Frameworks folder as DJISDK.framework. Follow the Importing the VideoPreviewer section in the tutorial. Hope this helps. |
porting to Swift was a little tricker than i expected, especially with the binary data types/streams for the video previewer. i built a sample here: feel free to pull it into the samples. |
Hi @dwcares, thanks for the help. You can also check Importing the VideoPreviewer tutorial for help. |
@oliverou thanks! the tutorial is helpful but since it's only objective-c it doesn't help with the tricky bits like getting the Swift3 Data object from ::videoFeed piped to the VideoPreviewer. if you make a new swift repo i will create a PR for a swift version of the sample that i wrote. (https://github.com/dwcares/iOS-FPVDemo-Swift) |
Hi,
I am trying develop camera feature with Swift, cocoapods and using the import VideoPreviewer but I'm having the error below:
-/Users/guilherme/Documents/xcodeprojects/skydronesCapture/VideoPreviewer/VideoPreviewer/VideoPreviewer.m:13:9: 'DJISDK/DJISDK.h' file not found
But the parent project is works fine the import DJISDK.
Thanks.
The text was updated successfully, but these errors were encountered: