-
Notifications
You must be signed in to change notification settings - Fork 254
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 app fails to register #33
Comments
Hi @triceam, this error is related to the app registration issue, please try the following methods:
Try if these two methods work, let me know the result. Thanks! |
I tried both of these things, but neither fixed it:
|
Hi, please try to create a new app key on DJI Developer Website, it should work now. Thanks! |
I'm still seeing errors on the DJI Developer website. I emptied the cache and reloaded, but I get the same error mentioned above (references to 127.0.0.1:3000). |
Sorry for the inconvenience, please try again, it should work now. |
Created a new ID, and changed my bundle identifier, but no luck - I got the same error message. iOS 10 is much more strict on networking & App Transport Security settings... possibly, do we need to add specific DJI domains or IPs to exception domains? |
Hi, since we use NSUserDefaults in SDK registration, and Xcode 8 Beta 1 has a bug related to NSUserDefault, please try to reboot your Mac and run iOS 10 simulator directly or upgrade your Xcode 8 to Beta2. For more details, please check this stackoverflow: Hope this help, thanks! |
I have an app that works fine on iOS 9, but when running on iOS 10 (beta) in the simulator, I get the following error.
Inside of my DJISDKManagerDelegate instance, the sdkManagerDidRegisterAppWithError fails with the following message:
Attempt to copy metadata from another registered device is not permitted.(code:-4)
This is occurring in the following code (in the error handler):
Note: This is on the iOS simulator, using the DJI Bridge app to a Phantom 3. This exact configuration works fine if I target the iOS 9 simulator. I have not tested on-device yet b/c I don't want to upgrade my iPade to iOS 10 yet.
This is happening using Xcode 8 Beta 5.
Aircraft: Phantom 3 Advance
Firmware: The latest - I don't see a way to access the firmware version, but the DJI Go app is not prompting me to update.
SDK: Version 3.2, from this release snapshot: https://github.com/dji-sdk/Mobile-SDK-iOS/releases/tag/v3.2
The text was updated successfully, but these errors were encountered: