This app was unable to be installed.

简介: 今天升级XCode 9.1 beta,编译项目正常,模拟器运行出现以下错误弹框:error.pngAPP无法安装到模拟器上,也看不见任何提示,由于mac中存在多个XCode 版本,尝试下面命令:sudo xcode-select -s /Applications/Xcode-beta.app并不好使。

今天升级XCode 9.1 beta,编译项目正常,模拟器运行出现以下错误弹框:

img_d5719a167a4ef4d42c88a0fa83d11dce.png
error.png

APP无法安装到模拟器上,也看不见任何提示,由于mac中存在多个XCode 版本,尝试下面命令:

sudo xcode-select -s /Applications/Xcode-beta.app

并不好使。

这种问题看不见任何其他的问题提示,有点无从查起的赶脚。

stackoverflow上找到下面的方法:

xcrun simctl spawn booted log show

//或者可以标出这个错误提示相关的,很容易看到相关的错误提示
xcrun simctl spawn booted log show | grep "This app was unable to be installed.

然后,基本就能定位问题了,我这里出现的问题是:


img_67284949bf8b8859b3cddad57dd1a3f1.png
error.png

Info.plist文件中缺少CFBundleExecutable,加上即可。

目录
相关文章
|
iOS开发
解决App Installation failed, No code signature found.
解决App Installation failed, No code signature found.
349 0
|
3月前
|
JavaScript Linux Windows
【应用服务 App Service】NodeJS +Egg 发布到App Service时遇见 [ERR_SYSTEM_ERROR]: A system error occurred:uv_os_get_passwd returned ENOENT(no such file or directory)
【应用服务 App Service】NodeJS +Egg 发布到App Service时遇见 [ERR_SYSTEM_ERROR]: A system error occurred:uv_os_get_passwd returned ENOENT(no such file or directory)
|
6月前
|
开发工具
App Store Connect Operation Error ERROR ITMS-90087: “Unsupported Architectures
App Store Connect Operation Error ERROR ITMS-90087: “Unsupported Architectures
53 1
【Flask】WARNING: This is a development server. Do not use it in a production deployment.
WARNING: This is a development server. Do not use it in a production deployment.
|
Android开发
The application could not be installed: INSTALL_FAILED_TEST_ONLY. Android App包安装失败(Bug记录)
The application could not be installed: INSTALL_FAILED_TEST_ONLY. Android App包安装失败(Bug记录)
|
数据安全/隐私保护
导入 Walle 时报:ERROR: A problem occurred configuring project ':app'.
导入 Walle 时报:ERROR: A problem occurred configuring project ':app'.
导入 Walle 时报:ERROR: A problem occurred configuring project ':app'.
|
JavaScript 开发工具 Android开发
初学者做APP所需工具安装及ionic-app-scripts has unexpectedly closed问题
初学者做APP所需工具安装及ionic-app-scripts has unexpectedly closed问题
145 0
初学者做APP所需工具安装及ionic-app-scripts has unexpectedly closed问题
|
Shell
Detected problems with app native libraries (please consult log for detail): lib.so: text relocation
Detected problems with app native libraries (please consult log for detail): lib.so: text relocation
157 0
安装APK时弹窗提示“Detected problems with app native libraries”
安装APK时弹窗提示“Detected problems with app native libraries”
140 0
|
开发工具
Resolved versions for app (26.1.0) and test app (27.1.1) differ.
Resolved versions for app (26.1.0) and test app (27.1.1) differ.
Resolved versions for app (26.1.0) and test app (27.1.1) differ.