-
Notifications
You must be signed in to change notification settings - Fork 253
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
iOS 10 Support #46
Comments
Hi @brianantonelli , thanks for your feedback! We are investigating this issue now, will get back to you once we make some progress. |
This is definitely an iOS 10 issue, I just verified the same code runs fine and successfully registers the app on iOS9 |
Hi @brianantonelli, please try to turn on the Data Protection in Capabilities of your Xcode project using Xcode 8. Then change the project's Bundle Identifier to a different one and try again. Remember to do a clean test (Delete the app on your iPhone 7, clean the project and rebuild it to install on your device) Let us know if it helps. Thanks! |
@brianantonelli Here is the screenshot for you to check the settings: |
Data Protection and deleting app off simulator worked for me. As bundle id is tried to so many things I cant change it. Glad I was able to navigate around that. 016-09-30 13:33:23:521 xxxx DJIManager: DJI SDK Registered |
Enabling Data Protection fixed the issue on the simulator and my iPhone. BTW, I didn't have to change my bundle identifier. Thanks for the quick help, @dji-dev! 👍 |
I'm unable to run the a sample app on iOS 10 in both the simulator and on a iPhone 7. It appears to be failing during the application registration call. I'm on 10.0.2 using the 3.3 DJI SDK.
On an iPhone 7 running iOS 10.0.2 I get the
REGISTRATION_INVALID_METADATA
error.If I run the same code on the iOS 10 Simulator I get the
REGISTRATION_DEVICE_NOT_MATCH
error.This error occurs when I invoke the register method (
[DJISDKManager registerApp:appKey withDelegate:self];
)It's also worth nothing I see this error when running on the device:
Couldn't find the "com.apple.private.externalaccessory.showallaccessories" entitlement
My plist has:
I tried all the suggestions from Issue #33 like changing the bundler identifier, etc.
The text was updated successfully, but these errors were encountered: