Post

Replies

Boosts

Views

Activity

Reply to xcode build failure: linker command failed with exit code 1
Thanks so much ! I am new to Swift and Xcode. I quit Xcode, deleted the DerivedData folder, cleaned the project and re-ran the project. The build was successful, but the run aborted. It says: "Thread 1 --> 0 _abort with payload" Here's the console log message I see in Xcode: dyld: Library not loaded: @rpath/KeychainSwift.framework/KeychainSwift  Referenced from: /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/od-mobile-ios  Reason: no suitable image found. Did find: /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift: mmap() errno=5 at address=0x1081E1000, size=0x0000C000 segment=TEXT in Segment::map() mapping /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift: mmap() errno=5 at address=0x108209000, size=0x0000C000 segment=TEXT in Segment::map() mapping /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift: stat() failed with errno=5 /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift: mmap() errno=5 at address=0x108231000, size=0x0000C000 segment=TEXT in Segment::map() mapping /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift /Library/Developer/CoreSimulator/Devices/D6BB9207-2509-45D1-9747-CEB0994F5843/data/Containers/Bundle/Application/16658618-D0F7-4AFD-99DA-67519DB2A4C4/od-mobile-ios.app/Frameworks/KeychainSwift.framework/KeychainSwift: stat() failed with errno=5 dyld: launch, loading dependent libraries DYLDSHAREDCACHEDIR=/Library/Developer/CoreSimulator/Caches/dyld/19H114/com.apple.CoreSimulator.SimRuntime.iOS-14-3.18C61 DYLDROOTPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLDLIBRARYPATH=/Library/Developer/Xcode/DerivedData/od-mobile-ios-haflmdscxliwpfclxlpeqzhgfmlk/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLDINSERTLIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/Core Thanks again for your help !!
Feb ’21