LoginSignup
2
0

More than 3 years have passed since last update.

[Unity/ARFoundation]Apple Mach-O Linker (ld) Error clang: error: no such file or directory com.unity.xr.arkit/Runtime/iOS/UnityARkit.aの対処方法

Posted at

はじめに

ARFoundationを2.xから4.02へアップデートしたタイミングで、iOSビルド時に次のエラーが発生しました。

Apple Mach-O Linker (ld) Error
clang: error: no such file or directory (中略) com.unity.xr.arkit/Runtime/iOS/UnityARkit.a

対処方法

ARKit XR Plugin更新履歴によると、 4.0.0-preview.1で破壊的変更として、 UnityARkit.alibUnityARKit.aにリネームされたようです。
古いファイルを参照しているので、一度プロジェクト>Libraryを削除し、再度ビルドすると今度はビルドが通りました。

参考文献

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0