Skip to content

SimpleDALPlugin load failed on other mac laptop (Mac10.14), even rebuild on mac 10.14 still load failed.  #11

Description

@jerrychen44

Hi, seanchas116, and all.

I rebuild this SimpleDALPlugin under os 10.15 with Xcode 12.0 and the result is good that can be found by QuickTime as an input camera.

What I really want is I can use this plugin under mac 10.14 also.
What I did ...
(1):
I want to share this plugin file to another mac laptop with os version 10.14, but after moving this file to /Library/CoreMediaIO/Plug-Ins/DAL/, it is not listed as a Quicktime input camera. (Log as below)

(2:)
I rebuild this project on that 10.14 laptop with Xcode 10.1 and still get the same load failed result.(Same Log as below)
(I change a few swift code and Xcode target from 10.15 to 10.14 to get build pass only.)

Seems like the error keeps showing: "dependent dylib '@rpath/libswiftCore.dylib' not found for..."

Any suggestion will be a big help :)
Thanks.

Log from console:
default 10:56:26.571525 -0500 QuickTime Player Error loading /Library/CoreMediaIO/Plug-Ins/DAL/SimpleDALPlugin.plugin/Contents/MacOS/SimpleDALPlugin: dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/SimpleDALPlugin.plugin/Contents/MacOS/SimpleDALPlugin, 0x0106): dependent dylib '@rpath/libswiftCore.dylib' not found for '/Library/CoreMediaIO/Plug-Ins/DAL/SimpleDALPlugin.plugin/Contents/MacOS/SimpleDALPlugin'

default 10:56:26.571578 -0500 QuickTime Player Cannot find function pointer simpleDALPluginMain for factory <CFUUID 0x6000014073a0> 25EBE7ED-3E65-4ACF-8DBD-3ABABBF9C161 in CFBundle/CFPlugIn 0x7fb478d29460 </Library/CoreMediaIO/Plug-Ins/DAL/SimpleDALPlugin.plugin> (bundle, not loaded)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions