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

SDK Integration Failure #66

Closed
blackwhiske opened this issue Jan 8, 2017 · 4 comments
Closed

SDK Integration Failure #66

blackwhiske opened this issue Jan 8, 2017 · 4 comments

Comments

@blackwhiske
Copy link

blackwhiske commented Jan 8, 2017

I'm following the steps under the iOS Mobile SDK Getting Started documentation pages, but I can't get a successful build.

Under what module or header files do I create the RegisterApp, DJISDKManagerDelegate, and showAlertViewWithTitle methods? Do I create new h files for each method?

I placed the methods in the SDKManager.h file.

I get a parse error: 'Could not build module 'DJISDK' as well as 47 documentation errors.

Xcode keeps trying to alter the methods that the Getting Started guides suggest to use. It just screws up even more.

  • DJI iOS SDK version you are using (iOS SDK 3.5)
  • DJI Product you are using (M600, Phantom 4)
  • iOS system version you are using ( iOS 10.2.1)
  • iOS device type you are using (Like iPhone5s, iPhone 6, iPad Air Wifi, iPad mini 3 LTE, etc)
  • Xcode version you are using ( Xcode 8.2.1)
@dji-dev
Copy link
Contributor

dji-dev commented Jan 10, 2017

Hi @blackwhiske, I guess you haven't install CocoaPods and download the iOS SDK in the Sample Code project. Please follow the README.md file of the this Github Repo: https://github.com/dji-sdk/Mobile-SDK-iOS to install the CocoaPods and download iOS SDK. Hope this help!

@blackwhiske
Copy link
Author

This worked for the registration. I'm getting one last build error:

linker command failed with exit code 1 (use -v to see invocation)

@blackwhiske
Copy link
Author

When I try to run Sample this happens:

ld: library not found for -lPods-DJISdkDemo
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@oliverou
Copy link
Contributor

Hi @blackwhiske, please try to open the DJISdkDemo.xcworkspace file in Xcode after you install the Cocoapods and download the iOS SDK instead.

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

3 participants