I am getting a black screen when attempting to add the WTArchitectView. I also do not get a request to use the camera.
Things I am doing and trying to get Wikitude to work
- built a template exported from WikitudeStudio. All I have in the template is a single image (trial version) which when recognised plays a embeded video.
- Able to build and run the exported template within xCode. No problems. Even get asked by the app to get permission to use the camera.
- Created a new project within Xcode - a Tabbed iOS objective-c app
- changed the view controller to be the same as the one used in the sample app. Also setup all the frameworks the same as the sample app.
- app builds and installs ok but shows a black screen once the ;
Where am I going wrong?
Do I have to tell Xcode somehwre that a camera needs to be used?
How do you know which version of the framework you are using?
I am currently using the trial version, hence my license is a trial license. If I can get this working I will purchase a SDK Pro license.
My build and test environment is as follows:
iPhone 6 with iOS 9.3
Xcode 7.3
The view controller is as follows:
#import "WTViewController.h"
#import <WikitudeSDK/WTArchitectView.h>
/* Wikitude SDK license key (only valid for this application's bundle identifier) */
Many thanks in advance for any responses. I hope I have included enough information to help find an answer
G
Glyn Szasz
said
over 7 years ago
I think where my problem lies is the way in which I am calling the startAR method within the within the AppDelegate applicationDidBecomeActive. A copy of my Xcode project can be downloaded from:
Hope this extra bit of information helps with finding an answer.
Again, many thanks for looking.
Glyn
A
Andreas Schacherbauer
said
over 7 years ago
Hi Glyn, Our Studio app template is not up to date. We're about to replace it with a newer version soon, but I thought I send you a link to already today.
Please download an empty app template from this link.
In combination with our getting started guide you should be able to get your application up and running.
A short summary to your previous questions: * You don't need to tell Xcode that you need access to the camera - our SDK does that for you if you call the -start: method. * Use the API to get the SDK version number * A Trial license is fine for your initial testing
Glyn Szasz
1 person has this problem