【IOS】编译缓存错误Library/Caches/com.apple.mobile.installd.staging
项目场景:
xcode ios
问题描述
Failed to load Info.plist from bundle at path /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.FOrCHQ/extracted/xxxxModule_Example.app/Frameworks/Foundation.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.FOrCHQ/extracted/xxxxModule_Example.app/Frameworks/Foundation.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.FOrCHQ/extracted/FIKSDeviceModule_Example.app/Frameworks/Foundation.framework/Info.plist: No such file or directory
解决方案:
常clean build,重启xcode和手机,
甚至清xcode构建缓存 rm -rf ~/Library/Developer/Xcode/DerivedData/*
均无果
多做了一步操作,在系统里把xcode的缓存清了一下:
设置-通用-存储空间-开发者
xcode项目构建文件- 第一个 项目构建存储缓存给删除
再重启xcode,就ok了