Reason: image not found

macOS specific usage questions
Williams_
Blank Cone
Blank Cone
Posts: 15
Joined: 27 Oct 2017 11:10

Reason: image not found

Postby Williams_ » 06 Nov 2017 03:24

When I put the compiled VLCKit.framework into the Mac project, it produces the following error and crash:

Code: Select all

dyld: Library not loaded: @loader_path/../Frameworks/VLCKit.framework/Versions/A/VLCKit Referenced from: /Users/XXX/Library/Developer/Xcode/DerivedData/MacVLC-cxqklppryicquxdnaorhqadksngc/Build/Products/Debug/MacVLC.app/Contents/MacOS/MacVLC Reason: image not found
Tried the solution:
1. Add the framework to the "Embedded binaries" section in the "General" tab.
2. Expand the "Link Binary With Libraries" section add change the status of the VLCKit.framework to Optional.
Solution 2 will not crash, but the vlcplayer object created is nil.

Platform:

Code: Select all

macOS 10.13 & 10.12 Xcode 8.3.3

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests