gpt4 book ai didi

ios - 在 iOS 设备上运行 swift 应用程序时出现 THREAD 1 : EXC_BREAKPOINT (code = EXC_ARM_BREAKPOINT. ..) 错误

转载 作者:可可西里 更新时间:2023-11-01 02:28:07 27 4
gpt4 key购买 nike

我正在尝试在我的 iOS 设备上运行我一直在使用 Swift 开发的应用。

我过去曾在我的设备上运行该应用程序并且没有任何问题,我在第一次通过 Xcode 6 beta 5 在设备上运行它后遇到了这个问题。该应用程序在模拟器中运行时可以正常工作。我认为这可能是 Xcode 6 beta 5 错误,但我不确定。我的设备没有越狱,我试过重启设备并重新安装应用程序——没有任何效果。这是完整的错误:

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)

有什么想法吗?

更新:我现在收到另一个错误:ld: library not found for -lswift_stdlib_core for architecture armv7clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)

我不知道为什么我会得到这些,有什么想法吗?

最佳答案

我遇到了同样的问题。执行 Product->Clean 为我解决了这个问题。

关于ios - 在 iOS 设备上运行 swift 应用程序时出现 THREAD 1 : EXC_BREAKPOINT (code = EXC_ARM_BREAKPOINT. ..) 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25345892/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com