question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined symbols for architecture arm64:

See original GitHub issue

I have been using this package in another project successfully. But, I can’t run it on my new project. Anyone has seen this error before?

ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/.../ios/UnityExport/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_ARAnchor", referenced from:
      objc-class-ref in ARSessionNative.o
  "_OBJC_CLASS_$_ARImageAnchor", referenced from:
      objc-class-ref in ARSessionNative.o
  "_OBJC_CLASS_$_AROrientationTrackingConfiguration", referenced from:
      objc-class-ref in ARSessionNative.o
  "_OBJC_CLASS_$_ARPlaneAnchor", referenced from:
      objc-class-ref in ARSessionNative.o
  "_OBJC_CLASS_$_ARReferenceImage", referenced from:
      objc-class-ref in ARSessionNative.o
  "_OBJC_CLASS_$_ARSession", referenced from:
      objc-class-ref in ARSessionNative.o
  "_OBJC_CLASS_$_ARWorldTrackingConfiguration", referenced from:
      objc-class-ref in ARSessionNative.o
  "Geo::GetiOSAppDocumentsDir()", referenced from:
      Geo::PathUtils::GetSandboxDataPath() in libiPhone-lib.a(GeoPathUtils.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried changing universal to arm64 architecture in Player Settings, but didn’t work. Any hints, tips, suggestions is appreciated. Thanks.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:10

github_iconTop GitHub Comments

2reactions
ACacho22commented, May 21, 2019

Hi, go to General on your project panel and scroll down to Linked Frameworks and Libraries. Add ARKit’s framework to your list

1reaction
vlobanovcommented, Jun 19, 2019

@DaveAdams88 Maybe try ARFoundation & ARKit XR version 2.1? Because 2.2 requires ios 13 & xcode 11

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined symbols for architecture arm64 - ios - Stack Overflow
Undefined symbols for architecture arm64 · Simple Solution Go to Target ->Linking -> other linker Flag and add $(inherited) in other linker flag...
Read more >
Undefined symbols for architecture arm64 - Apple Developer
I am working on the ios project. I didn't have any problem at the moment. However, there is a problem with iOS 11.4...
Read more >
Undefined symbols for architecture arm64 #2600 - GitHub
Bug Report Throws an error of arm 64 when running app from Xcode 12.4 to iOS 14.6 Undefined symbols for architecture arm64: ...
Read more >
Undefined symbols for architecture arm64 : r/cpp_questions
Undefined symbols for architecture arm64. Hi, I am new to C++ and programming in general. I am currently taking my first class and...
Read more >
iOS : Undefined symbols for architecture arm64 - YouTube
iOS : Undefined symbols for architecture arm64 [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] iOS : Undefined symbols for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found