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

Registration Error #525

Open
HanJIk opened this issue Jul 11, 2022 · 14 comments
Open

Registration Error #525

HanJIk opened this issue Jul 11, 2022 · 14 comments

Comments

@HanJIk
Copy link

HanJIk commented Jul 11, 2022

Error Domain=DJISDKRegistration-ErrorDomain Code=-5
"The bundle identifier of your app should be identical to the one you registered on the website.(code:-5)"

@DJI-William
Copy link

If you are using iOS Sample, you must make usre the bundle identifier of your app is the same as the one you have applied for the app key.

@HanJIk
Copy link
Author

HanJIk commented Jul 13, 2022

Could an error occur due to the difference between '_' and '-'?

@DJI-William
Copy link

Of course, normally we are using '_'.

@HanJIk
Copy link
Author

HanJIk commented Jul 13, 2022

Does that mean an error occurs?
I set the bundle identifier to XXX''XX, and I set it to XXX''XX in info, but it did not apply and was saved as XXX'-'XX.
So is there an error?

@DJI-William
Copy link

I think it is better that you uploaded some screenshot for me to check what is the issue. I need the bundle identifier you applied for on our developer website and the one in your project.

@HanJIk
Copy link
Author

HanJIk commented Jul 13, 2022

image
image

@DJI-William
Copy link

DJI-William commented Jul 14, 2022

Your bundle identifier is weird, normally is like the iamge below, it should be com.xxx
image

@HanJIk
Copy link
Author

HanJIk commented Jul 18, 2022

Should I download the dji mobile sdk file from github and edit the key value and bundle identifier value when running the sample project?

@DJI-William
Copy link

If you have downloaded the iOS MSDK Sample, you need to re-apply a new appkey with a bundle identifier that is identical with the Sample project. And then, you copy the appkey into your Sample project.

@HanJIk
Copy link
Author

HanJIk commented Jul 20, 2022

Where do you apply it?

@HanJIk
Copy link
Author

HanJIk commented Jul 20, 2022

Can I modify the marked part?
Bundle Identifier format
com.dji.sdksamplecode. application name
Is it
image
?

@DJI-William
Copy link

Don't modify the Bundle Identifier, you need to modify the DJISDKAppKey. You can apply the appkey from here.
Link:https://developer.dji.com/user/apps/

@HanJIk
Copy link
Author

HanJIk commented Jul 20, 2022

In the case of the sample project, it means that only the Appkey is changed.
In case of development, do you edit the bundle identifier and the Appkey as in the comments above?

@DJI-William
Copy link

In your case of your own development, when you create your own project. The bundle identifier will be your projects, so you just apply an appkey according to what is your IDE generated.

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

2 participants