dyld:库未加载:/usr/lib/libstdc++.6.dylib
dyld: Library not loaded: /usr/lib/libstdc++.6.dylib
刚刚安装了Xcode 10,出现运行时间错误。你知道哪里出了问题吗?
dyld: Library not loaded: /usr/lib/libstdc++.6.dylib
Referenced from: /Users/kukodajanos/Library/Developer/CoreSimulator/Devices/50603E30-571E-484B-BABD-270D3D1F01AE/data/Containers/Bundle/Application/AFA530AF-2F31-4B26-ACE0-776070E28368/PFB.app/Frameworks/FoxitRDK.framework/FoxitRDK
Reason: no suitable image found. Did find:
/usr/lib/libstdc++.6.dylib: mach-o, but not built for iOS simulator
(lldb)
前一个 Xcode 应用程序在模拟器中运行。
lipo -info /Users/kukodajanos/Workspace/PFB/FoxitRDK.framework/FoxitRDK
Architectures in the fat file: /Users/kukodajanos/Workspace/PFB/FoxitRDK.framework/FoxitRDK are: i386 x86_64 armv7 arm64
如您所见,Foxit lipo 显示 它也有 i386 x86_64 架构。所以它应该在模拟器上工作。
this文章是否意味着我们需要将 Foxit 更新到 5.0.0.1107?
这是 Foxit PDF SDK V6.0 在 iOS 12 上的一个错误,Foxit 已在 V6.1 中修复。请仔细检查您使用的版本。
本期的背景是:Xcode10已删除"libstdc++.6.dylib",
基于V6.0的临时解决方案是将libstdc++.6.dylib从Xcode9.x复制到Xcode10。
对于 Foxit PDF SDK V6.1,SDK 本身不引用 libstdc++。6.dylib 而是引用 libc++(Apple 推荐)
刚刚安装了Xcode 10,出现运行时间错误。你知道哪里出了问题吗?
dyld: Library not loaded: /usr/lib/libstdc++.6.dylib
Referenced from: /Users/kukodajanos/Library/Developer/CoreSimulator/Devices/50603E30-571E-484B-BABD-270D3D1F01AE/data/Containers/Bundle/Application/AFA530AF-2F31-4B26-ACE0-776070E28368/PFB.app/Frameworks/FoxitRDK.framework/FoxitRDK
Reason: no suitable image found. Did find:
/usr/lib/libstdc++.6.dylib: mach-o, but not built for iOS simulator
(lldb)
前一个 Xcode 应用程序在模拟器中运行。
lipo -info /Users/kukodajanos/Workspace/PFB/FoxitRDK.framework/FoxitRDK
Architectures in the fat file: /Users/kukodajanos/Workspace/PFB/FoxitRDK.framework/FoxitRDK are: i386 x86_64 armv7 arm64
如您所见,Foxit lipo 显示 它也有 i386 x86_64 架构。所以它应该在模拟器上工作。
this文章是否意味着我们需要将 Foxit 更新到 5.0.0.1107?
这是 Foxit PDF SDK V6.0 在 iOS 12 上的一个错误,Foxit 已在 V6.1 中修复。请仔细检查您使用的版本。
本期的背景是:Xcode10已删除"libstdc++.6.dylib", 基于V6.0的临时解决方案是将libstdc++.6.dylib从Xcode9.x复制到Xcode10。 对于 Foxit PDF SDK V6.1,SDK 本身不引用 libstdc++。6.dylib 而是引用 libc++(Apple 推荐)