Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
2018.4.3f1
8.1.1
iOS
version 9.3.2
What do you want to achieve?
What do you expect to happen?
What actually happened? Can you provide a stack trace?
What are the steps necessary to reproduce this issue?
Please provide a code sample, as well as any additional details, to help us track down the issue. If you can provide a link to a test project that allows us to reproduce the issue, this helps us immensely in both the speed and quality of the fix.
Note: Remember to format your code for readability:
CrashLog
Dyld Error Message:
Dyld Message: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/containers/Bundle/Application/4BD71E88-A013-47E7-8A0F-EA4327328BE9/free.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit
Reason: image not found
Dyld Version: 390.7
I think this option should be set to YES
, right?
Do your editor codes do this after xcode project generated?
for target Pods-Unity-iPhone
Unattended?
I meet the same promble, anyone solved this?
Is Facebook‘s QA department shut down?
Anybody?
Hi guys you can add
"Accelerate.framework"
Build Phases > Link Binary With Libraries > +
then Build and try.
Actually, by doing this (8.1.0 version of Facebook SDK) I can successfully build (8.1.1 give a lot of errors, even I can not build, it fails), but then it rejected by Apple because it crashed on the launch
I found a working form please check this link:
https://github.com/facebook/facebook-sdk-for-unity/issues/193#issuecomment-754953304
I try use pod upgrade FBCoreKit to ver8.0 solve this promble.
I try use pod upgrade FBCoreKit to ver8.0 solve this promble.
You mean v8.0 is OK for iOS 9.x?
Update Xcode to 12
Update Xcode to 12
Really?
I try use pod upgrade FBCoreKit to ver8.0 solve this promble.
You mean v8.0 is OK for iOS 9.x?
yes
@CodeMasterYi
For me set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to true fix the problem.
But you need to do it in your build script at order more than 100, because facebook sdk set this property to false at 100 order.
[PostProcessBuild(101)]
public static void OnPostprocessBuildEmbedSwiftLibraries(BuildTarget target, string pathToBuiltProject)
{
#if UNITY_IOS
var proj_path = PBXProject.GetPBXProjectPath(pathToBuiltProject);
var proj = new PBXProject();
proj.ReadFromFile(proj_path);
var mainTarget = proj.GetUnityMainTargetGuid();
proj.SetBuildProperty(mainTarget, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES");
File.WriteAllText(proj_path, proj.WriteToString());
#endif
}
I have this issue too - with Firebase SDK 9.0.0
Downgrading to 8.0.0 removes the issue.
On running the app on device from XCode, this is the output:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/containers/Bundle/Application/C2979E79-0D45-456B-8CE0-9C567CEEE765/d2w.app/d2w
Reason: image not found
dyld: launch, loading dependent libraries
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
(lldb)
I did try many of the recommendations on this page (and other pages) but nothing I have tried has been able to resolve it - apart from downgrading Facebook SDK, that is.
Most helpful comment
@CodeMasterYi
For me set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to true fix the problem.
But you need to do it in your build script at order more than 100, because facebook sdk set this property to false at 100 order.