gpt4 book ai didi

ios - Xcode 模拟器无法工作错误 - 无法加载插入的库 '/usr/lib/libignitor2.dylib',因为找不到合适的图像

转载 作者:行者123 更新时间:2023-11-30 13:05:32 31 4
gpt4 key购买 nike

今晚将我的 xcode 更新为 7.2.1,在 yosemite 10.10.5 上运行

我刚刚开始学习 swift,每次我尝试运行模拟器时,它都会崩溃并出现错误:

could not load inserted library '/usr/lib/libignitor2.dylib' because no suitable image found.

过去 4 小时我在网上搜索,似乎有一些类似的插入库丢失的错误,但我看不到任何可以帮助解决此错误的信息。完整代码如下。

    Process:               Simulator [2907]
Path: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Identifier: com.apple.iphonesimulator
Version: 9.2 (643)
Build Info: Indigo-643000000000000~28
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Simulator [2907]
User ID: 501

Date/Time: 2016-09-10 03:00:48.102 +0100
OS Version: Mac OS X 10.10.5 (14F1912)
Report Version: 11
Anonymous UUID: 1ACB9325-E877-4FA4-FEBD-B9450D15E13A


Time Awake Since Boot: 10000 seconds

Crashed Thread: 0

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_INSERT_LIBRARIES=/usr/lib/libignitor2.dylib

Dyld Error Message:
could not load inserted library '/usr/lib/libignitor2.dylib' because no suitable image found. Did find:
/usr/lib/libignitor2.dylib: mmap() error 1 at address=0x107DE9000, size=0x00001000 segment=__TEXT in Segment::map() mapping /usr/lib/libignitor2.dylib

Binary Images:
0x107da0000 - 0x107dccff7 com.apple.iphonesimulator (9.2 - 643) <2A577F90-517C-3363-A980-EEB79D21FEBF> /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
0x7fff65635000 - 0x7fff6566b92f dyld (353.2.4) <708E385E-50C6-32A3-983C-42E97BEE4346> /usr/lib/dyld

Model: MacBookPro12,1, BootROM MBP121.0167.B14, 2 processors, Intel Core i5, 2.7 GHz, 16 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.6f3 16238, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: Internal Memory Card Reader
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

如有任何帮助,我们将不胜感激。谢谢

最佳答案

你可以试试

sudo update_dyld_shared_cache -force

我正在尝试修复我的测试版,但它似乎是在更新后尝试修复的,这是我正在使用的解决方案。如果失败,您可以尝试

https://apple.stackexchange.com/questions/217232/trying-to-force-update-dyld-shared-cache-but-having-some-errors

希望这对您有帮助

关于ios - Xcode 模拟器无法工作错误 - 无法加载插入的库 '/usr/lib/libignitor2.dylib',因为找不到合适的图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39421901/

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