Log in or register to post comments

Invalid key

August 10, 2015 - 3:02am #1

Hi. Having a problem with testing my app on IOS. 
I use Unity 5.1.2 (32 bit) + 5-0-5 Vuforia + Xcode 6.2
 

When I start my application from unity or with android - its ok. Testing on IOS causes to "Vuforia Initialization Error". Invalid Key used and e.t.c 
So.. What can I do? 

Invalid key

November 29, 2015 - 3:18am #13

Hi!
It's was my mistake. Watermark is not visible after several launches of the application. I'm used to this and didn't pay attention. 

Invalid key

November 28, 2015 - 2:13pm #12

Ehh, I don't understand you.

So you finally build it on Mac and then you see the watermark?! Seems like you didn't buy a licence yet. On the other hand you say you don't see the watermark on PC and Android. Can you please tell me what you finally did or what exactly your issue was?

I just double-checked: Using a App with a free licence shows the watermark in Unity editor and on Android. Using our project with a licence I don't get the watermark in Unity Editor and Android. Also the Unity Cloud Build works for iOS builds.

Thanks

Invalid key

August 17, 2015 - 3:01pm #11

The Starter licenses will display a watermark. See this article for more details:

https://developer.vuforia.com/library/articles/FAQ/Watermark

 

Invalid key

August 14, 2015 - 8:05am #10

Amazing! It works!
We took Macbook with Yosemite and Xcode 6.4. 

But I was surprised a little bit when I saw a Vuforia watermark in the bottom-left corner. I don't see it on PC or Android. Are there some ways to remove it? 

Invalid key

August 13, 2015 - 2:45pm #9

I don't think you are absolutely right 'cas using virtual machine is not my own idea - I read about it. So, other developers use this, don't they? However I really can make some tests on friend's Macbook. I'll tell about my progress later.

Invalid key

August 13, 2015 - 12:10pm #8

Compiling Vuforia projects for Xcode from the Windows version of Unity is not supported. There's also past threads with users discussing unsuccessful attempts to build Vuforia projects for Xcode from a Windows version of Unity. Running Mac OS from a virtual machine on Windows requires a hacked version of Mac OS and therefore is also unsupported.

I verified that your license key works fine on an iOS device with a project compiled from a Mac running Unity.

 

Invalid key

August 13, 2015 - 2:14am #7

Yep!

I make my application on Unity (Windows). Build it for iOS. Then I go to my virtual machine with MacOS and open it with Xcode. Then I do some fixes in build settings (remove arm64, change c++ language and selecet Ad Hoc Sign) and build phases (add 2 additional libraries - Security.framework & libc++.1.dylib) - skiping this steps cause to Mach O Linker errors. Then I run all this on my Apple Device.

So, my problem is:

1) Vuforia 3 show me only black sreen. I've edited code as in tutorial to see camera access dialog. But it doesn't work.

2) Vuforia 4 & 5 don't see the licence key.

 

UPD: Your question about Windows Unity gave me an idea. I installed Unity on my MacOS virtual machine. Well... good news: I need ad hoc sign only and no other fixes, it succesfully compiles. Bad news: invalid key, again. 

Invalid key

August 12, 2015 - 8:05pm #6

Solsites wrote:

I use Unity 5.1.2 (32 bit) + 5-0-5 Vuforia + Xcode 6.2

Are you building your Xcode project on the Windows version of Unity?

Invalid key

August 12, 2015 - 1:22am #5

I told you, its ok! My project works fine in Unity and on Android device. I have problems with the key only on IOS.

Invalid key

August 11, 2015 - 10:11pm #4

In Unity Inspector tab, you can paste the key into the "App License Key" field on the ARCamera object.

Invalid key

August 11, 2015 - 2:14am #3

I'm working with my own project, not Vuforia Sample. And I did it in Unity. I use Xcode only for making .ipa file. I don't have any  SampleApplicationSession.mm.

SDK for IOS and SDK for Unity make different structure, 

Invalid key

August 10, 2015 - 5:51pm #2

For native iOS, look for the following method in the SampleApplicationSession.mm:

- (void)initQCARInBackground

 

Log in or register to post comments