Log in or register to post comments

Android works but IOS has problems

April 5, 2014 - 12:49pm #1

please help

first I will follow the rules and post this bit of info

  • Unity extension
  • MacOS version number (software?) OS X 10.8.5 (12F45)
  • Xcode version number - 5.0.1
  • Unity version number - 4.3.1f1
  • Device model. pretty sure 3g
  • iOS version - 6.1.3
  • Mention any jailbreaks or other modifications - nope

now my problem is after unity export i have 2 errors:

 

this line it looks like -  NSString* orientation = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"UIInterfaceOrientation"];

and this one - ../Libraries/QCARUnityPlayer.h:8:7: Redefinition of 'QCARUnityPlayer'
 
... UnityAppController.mm:6:10: In file included from ...UnityAppController.mm:6:
 
 
please help me

Android works but IOS has problems

April 15, 2014 - 3:30am #12

It should be smooth.

Try other devices and a range of samples.

N

Android works but IOS has problems

April 14, 2014 - 9:39am #11

changing camera mode from speed to default fixed it. 

 

why is the frame rate so choppy on the ios but on android its smooth?

Android works but IOS has problems

April 14, 2014 - 9:15am #10

What is the prefer build settings for unity ios?

 

Like is there anything that has to be set to a certain thing?

Android works but IOS has problems

April 14, 2014 - 8:34am #9

Well i have been trying to download the samples but it has been failing to download for some reason.

Android works but IOS has problems

April 14, 2014 - 8:33am #8

The other thing you could try is to add your dataset to the existing Image Targets samples, to narrow down the problem.

N

Android works but IOS has problems

April 14, 2014 - 8:28am #7

Yea that was the first thing I tried because i forgot to do that when i first started using this

Android works but IOS has problems

April 14, 2014 - 8:26am #6

but it isnt reading the image target.

The most common cause is failure to activate the dataset.

 

N

Android works but IOS has problems

April 14, 2014 - 8:19am #5

Hey replacing that file with the original file got my camera to start working, but it isnt reading the image target.

 

here is some codes that the debug logged. I actually had this problem first and trying to fix it caused me to lose my camera.

 

imageTargetSetSize

Found Trackable named ehsparkman2 with id 11

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

Trackable ehsparkman2 lost

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

 

I didnt want to paste all of the debug because there is a lot.

Android works but IOS has problems

April 14, 2014 - 3:04am #4

Well, the clue is in the error message:

Failed to set hint 'HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS' because the ImageTracker has not been initialized.

StartQCAR

If the Image Tracker has not been initialised, it is up to you to find out why not.

Although in theory it is ideal to hope that just because it works in Android, it should work in iOS.  This holds true for the samples, which if you compile and run will run perfectly first time.

Please try this first to give you some confidence.

 

Next, as I suggested below:

Chances are that you have an old project that you have tried to upgrade from a previous version of Vuforia.

If this happens then it can be possible that the PostProcessBuildPlayer step does not work correctly.  This is responsible for creating the XCode project, inserting the Vuforia code and linking up with the libraries.  So while you may have fixed the linker errors, your project may still have underlying problems which you may not yet have addressed.

 

If all else fails, try creating the project from scratch again.

 

HTH

N

 

 

 

 

 

 

Android works but IOS has problems

April 12, 2014 - 12:13pm #3

Thanks for the reply. sorry i didnt reply back as quick as you did. it didn't notify me that someone commented.

 

I fixed all the errors that I had. then there was more and i fixed those too lol. but now i have a bigger problem with the ios export.

Again no problems with android just iOS

the camera never starts up. in the debug it loads this at the end:

2014-04-12 14:04:38.391 yugiohar[1141:907] ERROR/AR(0) 2014-04-12 14:04:38: Failed to set hint 'HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS' because the ImageTracker has not been initialized.

StartQCAR

 

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

2014-04-12 14:04:38.686 yugiohar[1141:907] ERROR/AR(0) 2014-04-12 14:04:38: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

(lldb)

 

 

I understand you are really busy and cant respond right away but I thank you for the time you put into this for helping me

Android works but IOS has problems

April 7, 2014 - 3:03am #2

Chances are that you have an old project that you have tried to upgrade from a previous version of Vuforia.

Try building the Vuforia Image Targets sample and see if that builds.

The other possibility is that you have a blank space in your Unity project filename.

 

N

Log in or register to post comments