Skip to content

Error when running flutter run while embedding a Unity Project with Vuforia as its AR Framework #314

Open
@Badjessa-git

Description

@Badjessa-git

Describe the bug
I have been unable to use Vuforia with the plugin on a ios. I followed all the instructions to install.

`(lldb) dyld: dependent dylib '@rpath/ARFoundationDriver.framework/ARFoundationDriver' not found for '/private/var/containers/Bundle/Application/EB7A6FE8-16A5-4A7E-A3C1-DC1953015CC5/Runner.app/Frameworks/UnityFramework.framework/UnityFramework', tried but didn't find: '/private/var/containers/Bundle/Application/EB7A6FE8-16A5-4A7E-A3C1-DC1953015CC5/Runner.app/Frameworks/ARFoundationDriver.framework/ARFoundationDriver' '/usr/lib/swift/ARFoundationDriver.framework/ARFoundationDriver' '@rpath/ARFoundationDriver.framework/ARFoundationDriver' '/System/Library/Frameworks/ARFoundationDriver.framework/ARFoundationDriver'

  • thread iOS Support #1, stop reason = signal SIGABRT
    frame #0: 0x00000001048cf440 dyld__abort_with_payload + 8 dyld__abort_with_payload:
    -> 0x1048cf440 <+8>: b.lo 0x1048cf460 ; <+40>
    0x1048cf444 <+12>: pacibsp
    0x1048cf448 <+16>: stp x29, x30, [sp, #-0x10]!
    0x1048cf44c <+20>: mov x29, sp
    Target 0: (Runner) stopped. `

I tried adding Vuforia for iOS using instructions here https://library.vuforia.com/articles/Solution/Getting-Started-with-Vuforia-for-iOS-Development.html as a framework to the Runner without any success. Any help here would be greatly appreciated

Xcode 12.0

flutter doctor -v
`[✓] Flutter (Channel master, 1.26.0-13.0.pre.141, on macOS 11.1 20C69 darwin-x64, locale en-US)
• Flutter version 1.26.0-13.0.pre.141 at /Users/romeobahoumda/flutter
• Framework revision f9a8c86d79 (2 weeks ago), 2021-01-23 15:04:04 -0500
• Engine revision fdddf87080
• Dart version 2.12.0 (build 2.12.0-253.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/romeobahoumda/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.1

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.19.0

[✓] Connected device (2 available)
• iPhone (mobile) • 00008030-001824D01AD8802E • ios • iOS 14.3
• Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.146

• No issues found!`

Smartphone (please complete the following information):

  • Device: iPhone 11 iOS 14.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions