Comments (4)
Thanks for using ARCore, and for letting me know that you are not using Cocoapods in your project. It is very helpful for me to know how developers are using the framework, and this helps me know that instructions on how to use our framework outside of Cocoapods should be more of a priority.
The type of the error here is an NSError**
not an NSError*
. This means you must pass a pointer to the NSError*
. Simply replace your method to look more like:
GARSession* gSession = [GARSession sessionWithAPIKey:@"AAAAAAAAAAAAAAA" bundleIdentifier:nil error:&error];
And you should be able to read the error. Apple has more information on this here: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ErrorHandlingCocoa/CreateCustomizeNSError/CreateCustomizeNSError.html
Once you are able to see the error, feel free to let me know if it isn't intuitive.
from arcore-ios-sdk.
Thanks for your very fast reply!
The error contains an error code, but does not provide a readable message/userInfo:
error NSError *
domain: "GARSession" - code: 18446744073709551615 0x00000001c425e690
_userInfo id 0x0 0x0000000000000000
from arcore-ios-sdk.
I think you are getting error code -1, but it is being printed as an unsigned int and is underflowing.
If I had to guess I think you may not have the Resources bundle that is shipped with the Cocoapod. In our sample app this is packaged by the build phase called Copy Pods Resources
. I think things should work if you include this resource bundle in your app.
If this isn't correct would you mind giving me the output of NSLog(@"Error: %@", error.localizedDescription);
?
Thanks,
from arcore-ios-sdk.
I'm to close this issue due to inactivity. But feel free to reach out if I haven't resolved your issue or if there is anything else I can help with!
from arcore-ios-sdk.
Related Issues (20)
- Error when resolving anchors. No callback received. HOT 5
- ArcoreS
- Wrong transforms returned from GARFrame.anchors HOT 11
- ARCore/AugmentedFaces causes SwiftUI previews to crash
- Question about successful VPS tracking in indoor environments
- Unknown type name 'GARSession'; did you mean 'ARSession'? HOT 3
- Localization not possible HOT 2
- Unable to free resolved cloud anchors HOT 5
- Streetscape geometry rendered way above the altitude HOT 3
- Add action on Tapping particular Anchor and detect Vertical Plane like Big Building while standing form street .
- Thread 1: "+[GARDeviceProfile profileForIdentifier:osVersion:configurationManager:]: unrecognized selector sent to class 0x1052a7610" HOT 3
- VisionOS support HOT 1
- Is it allowed to save anchors on StreetscapeGeometry between sessions?
- Can't add ARCore as a pod dependency HOT 1
- Rooftop Anchors seem to failing HOT 1
- Arcore depends on Firebase, then duplicate symbols in iOS app that use Firebase too HOT 7
- The mask is unstable when using the rear camera HOT 4
- Update nanopb dependency version for PrivacyManifest support HOT 3
- App using arcore-ios-sdk fails to deploy with xcode 15.3 HOT 14
- Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcore-ios-sdk.