Log in or register to post comments

Unity 4 Support on iOS

September 12, 2012 - 3:12am #7

Vuforia works fine with Unity 4 and Android, however it won't compile on iOS.  I get these errors in AppController.mm

/Classes/AppController.mm:370:65: No member named 'w' in 'EAGLSurfaceDesc'

/Classes/AppController.mm:781:52: Use of undeclared identifier '_curOrientation'; did you mean 'orientation'?

/Classes/AppController.mm:781:52: Cannot initialize a parameter of type 'int' with an lvalue of type 'NSString *'

It looks like the API has changed slightly and Vuforia needs an update to deal with it?

Unity 4 Support on iOS

September 12, 2012 - 6:45am #6

Hi ralph,

Thanks for this.  

We are aware of the issues and do plan to support Unity 4 when it launches, but currently it is going through its beta phase.

N

 

Unity 4 Pro support for iOS still missing?

December 19, 2012 - 10:32am #5

NalinS wrote:

Hi ralph,

Thanks for this.  

We are aware of the issues and do plan to support Unity 4 when it launches, but currently it is going through its beta phase.

N

Still the sasme error trying to compile in Xcode from Unity 4 Pro, and it's been released already since a while... Any plan to enable us to use Vuforia on iOS devices?

Unity 4 is supported

December 20, 2012 - 2:53am #4

Hi DFT_Games

Unity 4 is supported.  If you build some of the new samples from scratch these will work.

Chances are you may have some old files lying around that are conflicting with the build process - possibly the PostProcessBuildPlayer - and you may need to assemble your project from scratch.

Note that we do recommend using the latest versions of Unity and XCode / iOS to avoid any potential problems.

HTH

N

 

Hi NalinS,   this is indeed a

December 20, 2012 - 3:56am #3

Hi NalinS,

 

this is indeed a fresh project made to test your demo scene, nothing else. It's the current Unity 4 Pro and your plugin freshly downloaded from Unity Asset Store. This is what I'm getting in Xcode (also latest version of it):

/Users/Pino/Documents/Fantasmi/Xcode/Classes/AppController.mm:348:65: No member named 'w' in 'EAGLSurfaceDesc'

/Users/Pino/Documents/Fantasmi/Xcode/Classes/AppController.mm:751:52: Use of undeclared identifier '_curOrientation'; did you mean 'orientation'?

/Users/Pino/Documents/Fantasmi/Xcode/Classes/AppController.mm:751:52: Cannot initialize a parameter of type 'int' with an lvalue of type 'NSString *'

 

 

Any help would be appreciated.

Best,

Pino

 

Vuforia 2.0 not yet on Asset Store

December 20, 2012 - 6:09am #2

Pino,

You need to download it from the Vuforia dev portal as the 2.0 SDK has not yet made it to the Asset Store :)

N

Ok, the one from here works

December 20, 2012 - 7:18am #1

NalinS wrote:

Pino,

You need to download it from the Vuforia dev portal as the 2.0 SDK has not yet made it to the Asset Store :)

N

Ok, the one from the portal works :) You should put a sticky notice in the forum about this "small detail" ;)

Thanks,

Pino

Log in or register to post comments