-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Error loading /var/containers/Bundle/Application/XXX/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109): Library not loaded: @rpath/FBAEMKit.framework/FBAEMKit #2128
Comments
After pod install,I got the warning like this:
but I have to use it like the podfile as above。 |
After updating from FacebookUnitySDK 9.2.0 to 14.0.0 I got the same error. Managed to fix this by changing Podfile from:
to:
If anyone has any updates for this issue, would appreciate it if you can share. |
Removing ":linkage => :static" worked for me. Thanks! |
This worked for me thanks! But my use_frameworks! line was at the end of the podfile and I had to move it to the same place as your example for it to work. |
same issue, however changing pod file has same crash at app load using FB version 16 |
Unity 2022.2.14f |
Unity 2021.3.23f1 Pod Install Success. Same Issue. |
in unity2021.3.24, |
Solution from @tatsuki5820iso seems work. I just want to add some more info, instead of manually editing Podfile, you guys can untick |
Hello …. I see a lot of email that you send me but I am not a professional and I can’t fix them ….. sorry for this ….. maybe if you have any video step by step I try to make it. Στάλθηκε από το iPhone μου30 Μαΐ 2023, 6:42 πμ, ο χρήστης «NguyenTongTran ***@***.***>» έγραψε:
Solution from @tatsuki5820iso seems work. I just want to add some more info, instead of manually editing Podfile, you guys can untick Link frameworks statically in iOS Resolver Setting (from EDM menu in Unity) which will do similar for every build
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I am facing the same issue now. Have you managed to solve your problem? I am using version 16.1.0, and after adding the relevant xcframework to the "Frameworks, Libraries, and Embedded Content" entry, the test runs normally. However, the app crashes after uploading to TestFlight and opening it. |
This worked for me. Thanks! |
Hey, Here's a proposed solution to the linker error I don't understand why linking dynamically would cause a linker error at build time. |
yes, this worked for me too, adding manually the FB* pods to the project |
This solved my issue as well. Thank you very much. |
@mgrogin Thank you! It works. |
Environtment:
Plugins:
Device:
Steps to reproduce:
Expected behaviour:
Other information
Since this bug has more than 1.5 year and there isn't any update in the SDK since August 2023 I was wondering if the support of Facebook for Unity has officially been cancelled? |
Checklist before submitting a bug report
Xcode version
13.4.1
Facebook iOS SDK version
13.2.0
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
Error loading /var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109): Library not loaded: @rpath/FBAEMKit.framework/FBAEMKit
Referenced from: /private/var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework
Reason: tried: '/private/var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/FBAEMKit.framework/FBAEMKit' (no such file),
Expected results
Actual results
app crashed
Error loading /var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109): Library not loaded: @rpath/FBAEMKit.framework/FBAEMKit
Referenced from: /private/var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/UnityFramework.framework/UnityFramework
Reason: tried: '/private/var/containers/Bundle/Application/637025C2-0BDB-47ED-B2DE-FB4F05CE05A5/unity-framework.app/Frameworks/FBAEMKit.framework/FBAEMKit' (no such file),
Steps to reproduce
Our game uses unity2019,write podfile as this:
target 'UnityFramework' do
inherit! :search_paths
pod 'FBSDKLoginKit', '13.2.0'
end
#target 'Unity-iPhone' do
#inherit! :search_paths
#pod 'OpenSSL-Universal', '1.1.1100'
#end
�
Code samples & details
The text was updated successfully, but these errors were encountered: