5 stars based on
Vuforia applications must be deployed to a device to run; they cannot be run in the iOS simulator. You can enroll here: We have tested Vuforia with XCode 4.
Also, follow the process to:. Once you have unarchived the file, Vuforia will be installed in a directory which will hereafter be referred to as the vuforia-sdk directory and which should look something like the image below:. We recommend developing your own applications outside of the SDK directory, to make it easier to upgrade to future versions of the SDK. We are now going to build the Vuforia Samples application which shows detection and tracking of natural features using a variety of targets supported by Vuforia.
This section shows you how to build the project in XCode and deploy to the device. To set your bundle identifier so it matches the provisioning profile you have set up on the Apple Developer Provisioning Portal:. Use your device to look at the chips or stones printed target, and you should see a textured teapot centered on top of the target, grounded to the plane.
The teapot will no longer appear on the Stones target. This is because the Tarmac image is stored in a different database. Now, point your device towards the tarmac printed target and you will see the teapot again.
This app shows how the SDK can detect and track a single image from a pre-defined set of images. The app also shows how to switch between databases without too much effort, as well as how to deal with camera settings, such as autofocus.
With a small code change, it can also be compiled to detect and track multiple images simultaneously. Changes in Vuforia 5. In particular, the newly released Vuforia Sample projects already come with the correct Xcode Build Settings to support both the bit armv7, armv7s and the bit arm64 modes.
You can obtain the Vuforia 4. If you are creating an app using Vuforia and iOS 8, you should also make sure to apply the same build settings to your own project, in order to be able to upload your App to the Apple App Store. There are instructions for configuring Unity iOS 64bit builds at the end of this article.
It is also recommended that you test your App on both at least one bit and one bit device, before submitting it to the App store; for example, the iPhone 5S is equipped with bit CPU, whereas the iPhone 4S has a bit chip. An App must be able to correctly run on both platforms 32 and bit.
You do not need to build two distinct apps, i. Vuforia does apple application support 32 bit and 64 bit both installed building introduces any additional requirements or constraints. The bit runtime uses a convention called ILP32, in which integers, long integers, and pointers are bit quantities.
The bit runtime uses the LP64 convention; integers are bit quantities, and long integers and pointers are bit quantities. One of the most important and obvious recommendations stemming from the above is to avoid casting pointers to integers. If your app code does cast pointers to integers, your code may behave correctly in bit mode but it may result in a crash or other runtime misbehavior when executed in bit mode, as soon as a pointer exceeds the bit scope.
Also, an array containing elements of type long will be double its size in bytes when the code is built in bit mode, with respect to the bit case. For large data arrays this may also result in a significantly increased memory usage. Keep this in mind when creating large arrays and choose the appropriate type; in many cases, bit integers may be sufficient to represent common data values. The NSInteger type is a bit integer in the bit runtime and a bit integer in the bit runtime.
CGFloat changes size in bit apple application support 32 bit and 64 bit both installed building. The CGFloat type changes to a bit floating point number. So use CGFloat consistently. For a complete guide on bit transition, please refer to the official iOS bit migration guidelines published in the Apple website:. Unity 64bit support was original introduced in the Unity 4. This is the earliest version that can support the Vuforia iOS 64bit Unity extension.
Follow the steps below to: Also, follow the process to: Create a Development Provisioning Profile using the App ID you created, and be sure to add the devices you wish to test. Download the provisioning profile to your computer and double-click it to install. If you experience problems, it is a good idea to search the web for solutions, as there is plenty apple application support 32 bit and 64 bit both installed building advice available. Download the Vuforia Samples that come in a compressed archive and expand these into their own directory.
Copy the samples into the Vuforia installation directory so it looks like this: Compiling and Running a Vuforia iOS Sample We are now going to build the Vuforia Samples application which shows detection and tracking of natural features using a variety of targets supported by Vuforia. Vuforia applications do not build or work with the Simulator. You must select a device to build and run any Vuforia application.
Ensure that your iOS device is connected to your computer via a USB cable and that XCode can recognize it as being usable for development as highlighted in the Organizer window by a green light next to it. Select the device via the dropdown selector at the top left of the XCode window as shown here: To enable bit in your project, we recommend using the default Xcode build setting of Standard architectures to build a single binary with both bit and bit code.
What does this mean for you Vuforia developers? Do I need to build two distinct apps? For a complete guide apple application support 32 bit and 64 bit both installed building bit transition, please refer to the official iOS bit migration guidelines published in the Apple website: