Closed 435129214 closed 1 month ago
Have you tried the solutions in this thread: https://github.com/RenderHeads/UnityPlugin-AVProMovieCapture/issues/379
We don't support the iOS simulator with AVPro Movie Capture at this time.
this framework is dynamic or static?
Undefined symbols for architecture arm64: "_AVPMC_PluginBootstrap", referenced from: _NativePlugin_MCPluginBootstrap_m6355BE967777E3A8FC8E6467632F07A7AFDCBB60 in RenderHeads.AVProMovieCapture.Runtime1.o _NativePlugin__cctor_mC2DA05C1E2883E7AFC025620C10DA119F1C7C81C in RenderHeads.AVProMovieCapture.Runtime1.o "_CallIosMethod", referenced from: _NativeBridge_CallIosMethod_mBB3AB78AE6D7FA372FADAD8AC240D41A2115D2A1 in Assembly-CSharp8.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Try it use #379,but has error like this.
this framework is dynamic or static?
The framework is dynamic
Undefined symbols for architecture arm64: "_AVPMC_PluginBootstrap", referenced from: _NativePlugin_MCPluginBootstrap_m6355BE967777E3A8FC8E6467632F07A7AFDCBB60 in RenderHeads.AVProMovieCapture.Runtime1.o _NativePlugin__cctor_mC2DA05C1E2883E7AFC025620C10DA119F1C7C81C in RenderHeads.AVProMovieCapture.Runtime1.o "_CallIosMethod", referenced from: _NativeBridge_CallIosMethod_mBB3AB78AE6D7FA372FADAD8AC240D41A2115D2A1 in Assembly-CSharp8.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Try it use #379,but has error like this.
Are you trying to build with Unity as a library? That wasn't clear from your initial post. At this time we only support the iOS device SDK and iOS hardware. The plugin is not built against the simulator SDK and has no support for the x86_64 architecture.
yes, we are trying to build with Unity as a library. The error above is happend in build as Device, not simular.
The file AVProMovieCapture.m
provides the AVPMC_PluginBootstrap
function so it looks like the file is not being included as part of the Unity library in your project.
Did you mean setting in Xcode or Unity project? we use AVProMovieCapture.framework deriectly.
AVProMovieCapture.m
is in the Unity project and should be included when exporting the Xcode project. It is separate to AVProMovieCapture.framework
and required to load the framework at runtime.
You can find it under Assets/Plugins/RenderHeads/AVProMovieCapture/Runtime/Plugins/iOS
in the Unity project.
In the exported Xcode project it will be under Libraries/Plugins/RenderHeads/AVProMovieCapture/Runtime/Plugins/iOS
.
That function is provided in AVProMovieCapture.m
and is required to link the framework at runtime.
How should these two options be set?
That folder should contain both AVProMovieCapture.framework
and AVProMovieCapture.m
. You appear to be missing one of them (I cannot tell which from the screenshot).
AVProMovieCapture.framework
should have "Add to Embedded Binaries" checked. In a standard build this is handled in the script PostProcessBuild_iOS.cs
which can be found in Assets/Plugins/RenderHeads/AVProMovieCapture/Editor/Scripts
.
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Describe the issue After exporting the iOS project in Unity, when using the framework, it crashes during running. May I ask how to reference the plugin dependencies after exporting the iOS project in this case? Your Setup (please complete the following information):
To Reproduce
Logs
Screenshots
Videos If applicable, add a copy of your video or the URL
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us unitysupport@renderheads.com