这次崩溃是一个阻塞问题,基本上我使用以下步骤来重现问题:
应用程序在启动时立即崩溃,这是控制台日志:
dyld: Library not loaded: @rpath/FrameworkTest03.framework/FrameworkTest03
Referenced from: /var/mobile/Applications/FA6BAAC8-1AAD-49B4-8326-F30F66458CB6/FrameworkTest03App.app/FrameworkTest03App
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
我试图在iOS 7.1和8.0设备上构建,它们都有相同的崩溃.但是我可以构建应用程序并在模拟器上运行良好.另外我知道我可以在Link Binary With Libraries中将框架从Required更改为Optional,但它没有完全解决问题,当我创建Dog实例时应用程序崩溃了.在设备和模拟器上的行为是不同的,我怀疑我们不能使用测试版的Xcode分发设备框架.任何人都可以阐明这一点吗?
我想在我的iPhone 4s上运行一个Swift应用程序.它在模拟器上工作正常,我的朋友可以在他的iPhone 4s上成功运行它.我有iOS 8和Xcode 6的官方发行版.
我试过了
$(inherited) @executable_path/Frameworks以下是整个错误
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/mobile/Containers/Bundle/Application/LONGSERIALNUMBER/AppName.app/AppName
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/LONGSERIALNUMBER/AppName.app/Frameworks/libswiftCore.dylib: mmap() error 1 at
address=0x008A1000, size=0x001A4000 segment=__TEXT in Segment::map() mapping
/private/var/mobile/Containers/Bundle/Application/LONGSERIALNUMBER/APPLICATION_NAME/Frameworks/libswiftCore.dylib
Run Code Online (Sandbox Code Playgroud) 将Swift类添加到旧的Xcode项目后,我收到此错误.
dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib
如何让项目再次运行?
我需要创建ipa文件用于测试目的.我转到Keychian访问 - >证书助理 - >从证书颁发机构申请证书并创建some.certSigningRequest文件.然后我将该文件上传到客户iOS Provisioning Portal并创建我下载并安装在我的vmware mac上的开发和分发证书.当我选择证书时,我得到了消息:这个证书是由未知的权威机构签署的.
这是图像:

我很困惑,不知道什么是错的?
任何帮助都非常感谢.谢谢大家......
尝试运行目标时抛出以下错误:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: x/Xcode/DerivedData/x/Build/Products/Debug/PriorityQueue.framework/Versions/A/PriorityQueue
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
我的目标是用Swift编写的命令行工具(OSX).我正在使用用Swift编写的Cocoa Framework(PriorityQueue).当我EMBEDDED_CONTENT_CONTAINS_SWIFT在框架上设置为yes时,目标将运行以下警告:
objc[99144]: Class _TtC10Foundation15NSSimpleCString is implemented in both x/PriorityQueue.framework/Versions/A/Frameworks/libswiftFoundation.dylib and x/MyTargetName. One of the two will be used. Which one is undefined.
objc[99144]: Class _TtC10Foundation16NSConstantString is implemented in both x/PriorityQueue.framework/Versions/A/Frameworks/libswiftFoundation.dylib and x/MyTargetName. One of the two will be used. Which one is undefined.
objc[99144]: Class _TtC10Foundation15NSFastGenerator is implemented in both x/PriorityQueue.framework/Versions/A/Frameworks/libswiftFoundation.dylib and x/MyTargetName. One of the two will be used. Which one …Run Code Online (Sandbox Code Playgroud) 我目前正在开发一个快速的SDK.
使用swift SDK编译示例时,出现错误
dyld: Library not loaded: @rpath/MyDSK.framework/ODBlockChainWallet
Referenced from: /Users/{}/Sample.app/Sample
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
如果我继续引用文件夹,我可以看到swift SDK T_T
任何的想法?
我最近从8.3.3升级到Xcode 9.
我们的项目是用Objective-C编写的,就像我们使用的所有其他框架一样.我添加了一个用Swift(3.0版)编写的框架.在Xcode 8中,我能够在模拟器和设备上构建和运行项目而不会出现问题.在Xcode 9中,由于错误,我无法在模拟器或设备上运行项目:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: .../libraryname
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
降级后,我能够再次运行该项目.
我的配置有:
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
STRIP_SWIFT_SYMBOLS = NO;
SWIFT_VERSION = 3.0;
Run Code Online (Sandbox Code Playgroud) 我在 android studio 中使用 flutter 来构建我的 iOS 应用程序。我在 mac 上安装了XCode 13。我最近从 windows 转到了 mac。除了我的两个主要应用程序之外,我所有的迷你应用程序都可以在 iPhone 模拟器上正常运行。构建它们后,我的应用程序在启动时崩溃,崩溃报告给出以下错误:
Reason: tried: '/Users/bilalsaeed/Library/Developer/
Xcode/DerivedData/Runner-bnnvczalmzdqlyblquzaiyfkgjkk/Build/Products/Debug-iphonesimulator/libswiftCore.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/
Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftCore.dylib' (no such file), '/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Frameworks/libswiftCore.dylib' (no such file),
'/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Frameworks/libswiftCore.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libswiftCore.dylib' (no such file)
Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Runner
Reason: tried: '/Users/bilalsaeed/Library/Developer/Xcode/DerivedData/Runner-bnnvczalmzdqlyblquzaiyfkgjkk/Build/Products/Debug-iphonesimulator/libswiftCore.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftCore.dylib' (no such file), '/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Frameworks/lib
swiftCore.dylib' (no such file), '/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91
(lldb)
Run Code Online (Sandbox Code Playgroud)
将我视为使用 flutter 构建 iOS 应用程序的新手。
这个问题已被问过很多次了,但我又要问了.因为没有一个解决方案适合我.
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /var/containers/Bundle/Application/A5F11EB9-3A99-4A28-A074-B9E17819C3A1/Notes.app/Notes
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
我在Xcode 7.3上并使用Swift 2.2.
我从以下帖子中尝试了几乎所有的方法:
但这些似乎都不适合我.我完全疯了.谁能帮帮我吗?