mlevi
mlevi

Reputation: 1463

Getting THREAD 1: EXC_BREAKPOINT (code = EXC_ARM_BREAKPOINT...) error when running swift app on iOS device

I'm trying to run an app I've been working on in Swift on my iOS device.

I've run the app on my device in the past and have no problems, I'm getting this problem after running it on the device through Xcode 6 beta 5 for the first time. The app works when it's run in the simulator. I'm thinking this could be an Xcode 6 beta 5 bug but I'm not sure. My device isn't jailbroken, and I've tried restarting the device and reinstalling the app -- nothing has worked. Here is the full error:

objc[195]: Class _TtCSs20_IndirectArrayBuffer is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs43_NativeDictionaryStorageKeyNSEnumeratorBase is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs33_NativeDictionaryStorageOwnerBase is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs25_CocoaDictionaryGenerator is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs18_NSSwiftDictionary is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs18_NSSwiftEnumerator is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs21HeapBufferStorageBase is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs13_NSSwiftArray is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _TtCSs13VaListBuilder is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class SwiftObject is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _NSSwiftArrayBase is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _NSSwiftDictionaryBase is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. objc[195]: Class _NSSwiftEnumeratorBase is implemented in both /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswift_stdlib_core.dylib and /private/var/mobile/Containers/Bundle/Application/217E556F-6FB2-461E-BDA5-4E7831E60B81/Project Purple.app/Frameworks/libswiftCore.dylib. One of the two will be used. Which one is undefined. (lldb)

Any ideas?

Update: I am now getting another error: ld: library not found for -lswift_stdlib_core for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have no idea why I'm getting these, any ideas?

Upvotes: 2

Views: 2164

Answers (1)

TheWonderBird
TheWonderBird

Reputation: 663

I had the same trouble. Performing Product->Clean resolved it for me.

Upvotes: 1

Related Questions