小编Kev*_*ial的帖子

“此时无法安装此应用程序”CFBundleIdentifier 错误

我遇到了“此时无法安装此应用程序”错误。我尝试了几种方法,例如重新加载模拟器,删除模拟器中的应用程序和清理Xcode项目。但是,它仍然存在此错误。我转向 CoreSimulator 文件,发现由于 CFBundle Identifier 导致的错误。这是下面的日志:

Apr 26 18:49:49 kevins-air com.apple.dt.Xcode[27210] <Error>: installApplication:withOptions:error:: Error Domain=IXUserPresentableErrorDomain Code=1 "This app could not be installed at this time." UserInfo={NSLocalizedDescription=This app could not be installed at this time., NSUnderlyingError=0x7faad5709050 {Error Domain=MIInstallerErrorDomain Code=12 "Bundle at path /Users/kevinlauofficial/Library/Developer/CoreSimulator/Devices/0EB4D69B-61C8-468B-9D3D-2D6761E1D9D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.IMKy1v/extracted/DBS.app/Frameworks/HandySwift.framework did not have a CFBundleIdentifier in its Info.plist" UserInfo={LegacyErrorString=MissingBundleIdentifier, FunctionName=-[MIBundle _validateWithError:], SourceFileLine=45, NSLocalizedDescription=Bundle at path /Users/kevinlauofficial/Library/Developer/CoreSimulator/Devices/0EB4D69B-61C8-468B-9D3D-2D6761E1D9D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.IMKy1v/extracted/DBS.app/Frameworks/HandySwift.framework did not have a CFBundleIdentifier in its Info.plist}}}
Run Code Online (Sandbox Code Playgroud)

抱歉,我无法将其转换为代码格式。这是一个屏幕截图: 错误截图

DBS.app/Frameworks/HandySwift.framework 在其 Info.plist 中没有 CFBundleIdentifier}}} 表明 HandySwift.framework 在其 Info.plist 中没有 CFBundleIdentifier。我应该在属性列表中添加什么?这是我的 Info.plist 的屏幕截图。 …

xcode cfbundleidentifier ios swift swift4

1
推荐指数
1
解决办法
8857
查看次数

标签 统计

cfbundleidentifier ×1

ios ×1

swift ×1

swift4 ×1

xcode ×1