XCode 9 构建失败:Dyld 错误消息未找到图像
XCode 9 failed to build : Dyld error message Image not found
在 XCode 9,我无法构建我的项目,并出现此错误:
KVNProgress Group/Users/xxx/Documents/project/Pods/KVNProgress/KVNProgress/Resources/KVNProgressView.xib
/Users/xxx/development/project/Pods/KVNProgress/KVNProgress/Resources/KVNProgressView.xib: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/kb/3qmqmk_569v9ggc23nnc5btm0000gn/T/IB-agent-diagnostics_2018-02-16_10-30-34_345000".
崩溃详情:
Process: Interface Builder Cocoa Touch Tool [10066]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/Interface Builder Cocoa Touch Tool
Identifier: Interface Builder Cocoa Touch Tool
Version: 9.2 (13772)
Code Type: X86-64 (Native)
Parent Process: ibtoold [10050]
Responsible: Interface Builder Cocoa Touch Tool [10066]
User ID: 262
Date/Time: 2018-02-15 14:33:28.445 +0100
OS Version: Mac OS X 10.12.6 (16G1114)
Report Version: 12
Anonymous UUID: C68970F4-1365-1C3A-554B-396EA6A954FC
Time Awake Since Boot: 1800 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks
Library not loaded: /System/Library/PrivateFrameworks/CoreAnalytics.framework/CoreAnalytics
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
Reason: image not found
我尝试了很多 的解决方案,但我仍然遇到问题。
重要精度:在我的另一个 mac 上,项目构建正确。
昨天之前,项目建立在这个 mac...
我尝试删除并重新创建所有配置文件和证书,删除 XCode 现金,删除项目并从 git 重新创建并再次安装 pod,重新启动 mac,清理派生数据,但没有任何效果...
其他精度:我无法使用 KVNProgress 库构建另一个项目。
原来 Avast 隔离了丢失的文件。
恢复了文件并且 Xcode 工作正常
在 XCode 9,我无法构建我的项目,并出现此错误:
KVNProgress Group/Users/xxx/Documents/project/Pods/KVNProgress/KVNProgress/Resources/KVNProgressView.xib
/Users/xxx/development/project/Pods/KVNProgress/KVNProgress/Resources/KVNProgressView.xib: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/kb/3qmqmk_569v9ggc23nnc5btm0000gn/T/IB-agent-diagnostics_2018-02-16_10-30-34_345000".
崩溃详情:
Process: Interface Builder Cocoa Touch Tool [10066]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/Interface Builder Cocoa Touch Tool
Identifier: Interface Builder Cocoa Touch Tool
Version: 9.2 (13772)
Code Type: X86-64 (Native)
Parent Process: ibtoold [10050]
Responsible: Interface Builder Cocoa Touch Tool [10066]
User ID: 262
Date/Time: 2018-02-15 14:33:28.445 +0100
OS Version: Mac OS X 10.12.6 (16G1114)
Report Version: 12
Anonymous UUID: C68970F4-1365-1C3A-554B-396EA6A954FC
Time Awake Since Boot: 1800 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks
Library not loaded: /System/Library/PrivateFrameworks/CoreAnalytics.framework/CoreAnalytics
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
Reason: image not found
我尝试了很多
重要精度:在我的另一个 mac 上,项目构建正确。 昨天之前,项目建立在这个 mac...
我尝试删除并重新创建所有配置文件和证书,删除 XCode 现金,删除项目并从 git 重新创建并再次安装 pod,重新启动 mac,清理派生数据,但没有任何效果...
其他精度:我无法使用 KVNProgress 库构建另一个项目。
原来 Avast 隔离了丢失的文件。 恢复了文件并且 Xcode 工作正常