解决error: failed to launch"/private/var/mobile/Applications/XX"-- timed out waiting for app to launch
来源:互联网 发布:数字转字符js 编辑:程序博客网 时间:2024/06/05 14:07
今天做ios遇见这个问题,网上也没有明确的说明啥原因,最后发现是自己免证书的项目配置出错了,最后重新配置了一下项目的Run Script就可以了,具体步骤如下:
1.选中项目后,点击Build Phases,在右下方看见Add Build Phase
2.选择Add Build Phase ,然后选择Run Script ,再在shell下的输入框中添加一下内容:
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocateif [ "${PLATFORM_NAME}" == "iphoneos" ] || [ "${PLATFORM_NAME}" == "ipados" ]; then/Applications/Xcode.app/Contents/Developer/iphoneentitlements/gen_entitlements.py "my.company.${PROJECT_NAME}" "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent";codesign -f -s "iPhone Developer" --entitlements "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent" "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/"fi
以上代码不能缺少,然后保存
操作完成后,重运行项目就ok了,这个操作只是针对xcode4.3 xcode4.4 ios版本位5.1.1的版本,越狱手机和免证书的xcode环境
- 解决error: failed to launch"/private/var/mobile/Applications/XX"-- timed out waiting for app to launch
- error: failed to launch '/private/var/mobile/Applications/** busy解决办法
- iOS - Could not launch"appName" process launch failed: timed out waiting for app to launch:
- iOS - Could not launch"appName" process launch failed: timed out waiting for app to launch
- Could not launch "xxx". process launch failed: timed out waiting for app to launch解决方案
- Could not launch "xxx". process launch failed: timed out waiting for app to launch
- Could not launch "xxx". process launch failed: timed out waiting for app to launch解决方案
- process launch failed: timed out waiting for app to launch问题解决
- iOS真机调试时“process launch failed: timed out waiting for app to launch”问题
- iOS开发 报错process launch failed: timed out waiting for app to launch的解决方案
- iOS - error: failed to launch '/private/var/mobile/Applications ' -- Permission denied :
- process launch failed: timed out trying to launch app
- Xcode process launch failed: timed out trying to launch app
- process launch failed: timed out trying to launch app
- 关于iOS 真机不能调试process launch failed: timed out waiting for app to launch 和 failed to get the task for
- iOS 真机调试 出现process launch failed: timed out waiting for app to launch 和 failed to get the task for 的
- Xcode Coule not launch "aaa" press launch failed:timed out waiting for app launch
- Launch error: Failed to connect to remote VM. Connection timed out
- Parameter Sniffing
- jsp内置对象
- CListCrtl控件行选中
- MySql 优化
- 旧版标准日语第17课单词
- 解决error: failed to launch"/private/var/mobile/Applications/XX"-- timed out waiting for app to launch
- 对应java练习题的答案
- SQLite
- 程序员每天该做的事
- Window Style
- Android layout xml总结(1)
- Robots.txt协议详解
- android 获取手机的各种状态
- 分享12个超棒的免费PSD格式UI套件