Log in or register to post comments

QCAR Initialization Error

August 16, 2011 - 11:40pm #1

When running the Frame Marker sample app, I get the following error:

QCAR Initialization Error
Network connection required to initialize camera settings. Please check your connection and restart the application. If you are still experiencing problems, then your device may not be currently supported.

I checked my internet and it working fine (Safari).
These are my specs:

Using Unity extension
MacOS 10.6.8
Xcode 4.0 build 4A304a
Unity 3.4.0f5
Ipad 2 (16gb, wifi only, Model MC979ZP, jailbroken)
IOS v4.3.3 (8J2)

Re: QCAR Initialization Error

August 11, 2011 - 3:09am #11
MoSR wrote:

2) Check that the time is set correctly on the device.

I had same "connection" problem, but I had time set incorrectly! Yay, you saved my day :)

Re: QCAR Initialization Error

August 9, 2011 - 10:55am #10

-Successfully logged in to a https:// website
-Time and date confirmed to be correct

Still same problem...

Just out of interest, why does Qualcomm enclose this camera settings file in a shroud of secrecy?
-https?
-can't manually download?
-location on phone where it is saved unknown?

Re: QCAR Initialization Error

August 9, 2011 - 8:04am #9

elecman, could you check two things for us?

1) Try accessing another SSL encrypted site using Safari (https://...)

2) Check that the time is set correctly on the device.

Re: QCAR Initialization Error

August 9, 2011 - 3:07am #8
elecman wrote:

Edit:
Is it possible to download the settings file manually and then copy it to the appropriate directory on my iPad? This will save me a lot of time trying to fix this problem.

Note that there is a minor update scheduled for the final release that will allow the user (and developer!) to proceed with default settings even if the server can't be reached - the default settings will be replaced when connectivity is achieved.

Re: QCAR Initialization Error

August 8, 2011 - 11:29am #7

Well, un-jailbraking my iPad isn't really an option. An iPad without a jailbreak is a useless piece of electronic newspaper. Don't get me started on that. Besides, there are a lot of jailbroken devices out there and QCAR should work with them. There is no reason why it shouldn't. QCAR is free anyway, so no need to crack anything. And the fact that QCAR needs an internet connection shouldn't really create any problems. Why does apple want to block this app's internet connection? Mr Jobs control obsession is starting to piss me off. Anyway, I need to find a way around this problem. Will post it if I find a solution.

Edit:
Is it possible to download the settings file manually and then copy it to the appropriate directory on my iPad? This will save me a lot of time trying to fix this problem.

Re: QCAR Initialization Error

August 8, 2011 - 6:21am #6

The Qualcomm QCAR apps should build and run with the settings and files 'out-of-the-box', apart from setting your own Bundle Identifier in the Info.plist file.

To validate your development environment we recommend building and running an unmodified sample app on a non-jailbroken handset.

The SecItemDelete and SecItemAdd errors you see are from within the Keychain handling framework, which suggests a problem possibly triggered by the jail-break.

Re: QCAR Initialization Error

August 6, 2011 - 1:11am #5

The errors in that log, thrown before the QCAR initialization error are:
SecItemDelete: missing entitlement
SecItemAdd: missing entitlement

With Android you have to tell the application that it has permission to use networking resources. Is there a similar requirement for IOS? Are these errors related to that?

The error given in the log is:
Error - cannot download device start-up settings. Failed to initialize the QCAR SDK. Device settings must be downloaded at least once for the SDK to work.

Edit #1
-I added "Entitlements.plist" to my project.
-Set the variable "Application uses Wi-Fi" to YES.
-Removed all spaces from project name.
Same problem...

Edit #2
Can someone post a QCAR FrameMarker app on the Apple AppStore? This way I can check if the problem is my iPad or my Xcode setup.

Re: QCAR Initialization Error

August 5, 2011 - 6:49am #4
elecman wrote:

No information is given on the error dialog other then what I posted.

"Was there any further error information in the app log?"

The app log can be accessed in Xcode's gdb Debugger Console, or from the Xcode Organizer -> devicename -> Console - it may reveal a different problem.

We know that it works for many people on non-jailbroken phones, so that is where the suspicion lays at the moment.

Re: QCAR Initialization Error

August 5, 2011 - 6:27am #3

Ok, I tried again a few hours later and the same problem exists. I also connected to the internet via my Android using 3g and "portable wifi hotspot" feature. So that is a completely different source of internet. Same problem.

No information is given on the error dialog other then what I posted.

If your server doesn't receive an error log from my iPad, then clearly something is wrong with the QCAR logic used on my iPad. It thinks there is no internet but there is.

Re: QCAR Initialization Error

August 5, 2011 - 3:39am #2
elecman wrote:

When running the Frame Marker sample app, I get the following error:

QCAR Initialization Error
Network connection required to initialize camera settings. Please check your connection and restart the application. If you are still experiencing problems, then your device may not be currently supported.

I checked my internet and it working fine (Safari).
These are my specs:

Using Unity extension
MacOS 10.6.8
Xcode 4.0 build 4A304a
Unity 3.4.0f5
Ipad 2 (16gb, wifi only, Model MC979ZP, jailbroken)
IOS v4.3.3 (8J2)

This message is only given by the Unity generated version of FrameMarkers - to confirm I've just imported the beta release FrameMarkers package into Unity, generated the Xcode project, built in Xcode and run that over WiFi on an non-jailbroken iPad2 with no problem.

We've checked our server log and we've had no requests from an iPad2 that have failed, which points at the network connection inbetween.

I acknowledge that you've tested network connectivity with Safari, but can I respectfully suggest that you try that and the app again to confirm there wasn't a temporary network glitch.

We've not tested with jailbroken devices so there may be an api that returns an unexpected response in this situation.

Was there any further error information in the app log?

Log in or register to post comments