You may use the default Bundle Identifier to run the app from Xcode, but In Xcode, select the GeospatialExample workspace file, and clickĬheck the box, Automatically manage signing. xcworkspace file that you'll use later to build and run the Terminal window and run pod install from the folder where the Xcode project The GeospatialExample app ships with a Podfile preconfigured with theĪRCore SDK and iOS versions that you need. self.garSession = [GARSession up the ARCore SDK Previous step over the text, your-api-key (leave the quotes), as In Xcode, in the GeospatialExample sample app, open the ViewController.mĪdd your API key to the GARSession: paste the API key you copied from a In your Google Cloud Project, obtain an API key as described inĬopy the API key, as you will paste it, in a later step. Provide a bundle ID to associate with the API key. If you use a restricted API key, you must also To make Geospatial API calls to the VPS, the sample app needs authorization, and Search for the ARCore API, select it, and click Enable. In the sidebar, select APIs & Services, then Visit Create a project in Google Cloud Platform.Įnter an appropriate Project name, and choose a location for it. If you need to create the project, do the following: To use the Visual Positioning System (VPS), your app needs to be associated withĪ Google Cloud Project that is enabled for the ARCore API. Open the Examples folder, select the GeospatialExample folder, and Navigate to the arcore-ios-sdk-master/Examples folder. Open a Terminal or Finder window and navigate to the folder where you cloned The GeospatialExample project included with the ARCore SDK for iOSĭescribes code that calls the Geospatial API. Note: Beginning with ARCore 1.12, all ARKit-compatible devices are supported. (deployment target of iOS 12.0 or later required)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |