0

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 lib 构建另一个项目。

4

1 回答 1

1

原来 Avast 隔离了丢失的文件。恢复了文件,Xcode 工作正常

于 2018-02-22T21:05:18.707 回答