Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location of the plugin on MAC #87

Open
Massimix opened this issue Sep 6, 2022 · 5 comments
Open

Location of the plugin on MAC #87

Massimix opened this issue Sep 6, 2022 · 5 comments

Comments

@Massimix
Copy link

Massimix commented Sep 6, 2022

Hi everyone, this is my first time writing. I installed the OBS studio version 28.0.1 and the obs-ios-camera-source-2.9.3-macos-universal.pkg version of the plugin on my mac. Once I installed the plugin and restarted OBS Studio I didn't see iOSCamera among the resources, looking inside the application /Applications/OBS.app/Contents/PlugIns I noticed that the plugin was not there. I looked for the plugin name in the HD and found it in this path / Library / Application Support / obs-studio / plugins. I moved the plugin here /Applications/OBS.app/Contents/PlugIns, restarted OBS Studio finally found in the iOSCamera resources. I don't know if you need to correct the destination within the installer. I hope I have explained, greetings

@ilg
Copy link

ilg commented Oct 4, 2022

I hit basically the same issue and moving the plugin into the app bundle "fixed" it for me, too. The problem seems to be Library not loaded: '@rpath/libavcodec.58.134.100.dylib'. Below are the lines from the log that contain ios-camera. In particular, the appearance of /Users/runner/… surprises me, since that's not a user/path on my computer. Maybe something with the rpath changed between builds/versions of the plugin?

12:35:19.872: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so->/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so): dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so, 0x0101): Library not loaded: '@rpath/libavcodec.58.134.100.dylib'
12:35:19.872:   Referenced from: '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so'
12:35:19.872:   Reason: tried: '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/libobs/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obsdeps/lib/../lib/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/UI/obs-frontend-api/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/libobs/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obsdeps/lib/../lib/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/UI/obs-frontend-api/libavcodec.58.134.100.dylib' (no such file), '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/usr/lib/libavcodec.58.134.100.dylib' (no such file)
12:35:19.872: Module '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so' not loaded
12:35:19.872: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so->/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so): dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so, 0x0101): Library not loaded: '@rpath/libavcodec.58.134.100.dylib'
12:35:19.872:   Referenced from: '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so'
12:35:19.872:   Reason: tried: '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/libobs/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obsdeps/lib/../lib/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/UI/obs-frontend-api/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/libobs/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obsdeps/lib/../lib/libavcodec.58.134.100.dylib' (no such file), '/Users/runner/work/obs-ios-camera-source/obs-ios-camera-source/obs-studio/build/UI/obs-frontend-api/libavcodec.58.134.100.dylib' (no such file), '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/usr/lib/libavcodec.58.134.100.dylib' (no such file)
12:35:19.872: Module '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so' not loaded

@mattlangan
Copy link

This is amazing! Thank you so much for this report! I had assumed that my upgrade to the Ventura beta had broken the integration and that I would have to wait for a fix. This brought my iOS Camera Source back.

@darkoperator
Copy link

even after moving the plugin to the /Applications/OBS.app/Contents/PlugIn after upgrading to OBS 28 and installing the latest version of the plugin it still not working for me, had to switch to OBS 27 on the mac to get it to work.

@ilg
Copy link

ilg commented Nov 12, 2022

Putting this here in large part for my own reference next time I upgrade OBS—since upgrading replaced the app bundle, it removed the copy of the plugin that was inside the app bundle. Doing this in Terminal put a symbolic link to the normally-installed plugin into the app bundle:

cd /Applications/OBS.app/Contents/PlugIns
ln -s ~/Library/Application\ Support/obs-studio/plugins/obs-ios-camera-source.plugin

@djalanking
Copy link

I'm having the same problem (OBS not recognizing the iOS Camera) and doing my best to follow you guys' instructions above but I can't seem to figure it out. I'm probably not as computer literate about copying files from one location to another. Would greatly appreciate any more specific step-by-step guidance on the steps to take to fix! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants