Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

SDK_NOT_CONFIGURED

Noura Feb 11, 2016

I'm using on device SDK in swift app, but I couldn't do much. I've this error SDK_NOT_CONFIGURED

I tried more than once, followed all the steps, and still has it, what do you think the cause to this issue?


thanks.


Noura

Feb 11, 2016

also I've this error, and I'm sure I've collection with this token!!
"Error Domain=com.catchoom.craftar.error.collection_manager Code=6 "There is no collection with the '8aaaecde1fc847bd' token." UserInfo=0x16400020 {NSLocalizedDescription=There is no collection with the '8aaaecde1fc847bd' token.}"
1 rated
( Agent )
Luis Martinell

Feb 11, 2016

The SDK_NOT_CONFIGURED message means you forgot to add the “-ObjC” flag to your Linker flags in the Build Settings of your xCode project.

It is possible that the other error disappears after fixing. If not, please let us know what SDK (on-device Image Recognition SDK or Augmented Reality SDK).

1 rated
Noura

Feb 14, 2016

Thanks Luis for replying,

Yes ObjC was missing, and the used SDK is "CraftAR On-Device Image Recognition SDK 1.2", but the other "There is no collection with the token" issue still exist?

thanks again..
0 rated
( Agent )
Luis Martinell

Feb 15, 2016

This message means that you have not added the collection to the device. Can you explain us what are you trying to achieve and the steps you have done so far?

1 rated
Noura

Feb 17, 2016

I followed the steps in the documentation:

http://catchoom.com/documentation/on-device-image-recognition-sdk/ios-on-device-image-recognition-sdk/

1- I added the SDK, and now it prints the SDK version.
2- I created Collection, and since I'm just using the free SDK I didn't create appId, So I used "com.catchoom.test", and changed my app bundle ID to it too.
3- I tried both using the embedded way or the downloading it in app way, same result with both.
and I'm using swift.



Thanks again..
0 rated
( Agent )
Luis Martinell

Feb 17, 2016

Hi Noura,

This error: “There is no collection with the ‘8aaaecde1fc847bd’ token.” means that the collection has not been added to the device. Is it possible that you are trying to access it directly without having added it first to the device?

Check this tutorial for more info.

1 rated
Noura

Feb 18, 2016

Thanks Luis, it works now.

I just called addDemoCollection before calling try mCollectionManager.getCollectionWithToken
that did the trick :')

Thanks again..
1 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete