Error launching remote program: failed to get the task for process
来源:互联网 发布:算法导论 pdf 编辑:程序博客网 时间:2024/05/17 23:03
Error launching remote program: failed to get the task for process
该错误出现于真机调试时
机器为已越狱的iPad
问题出现原因
1 开发者证书没有选择正确,一般来说越狱机器直接选择don‘t code sign那个选项
2 没有加入那段越狱的脚本语言
解决办法
build phases--add build phases --add run script
在shell下面那个框框中,加入脚本即可
我的xcode是4.3 所以脚本如以下所示:
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
if [ "${PLATFORM_NAME}" == "iphoneos" ] || [ "${PLATFORM_NAME}" == "ipados" ]; then
/Applications/Xcode.app/Contents/Developer/iphoneentitlements401/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
0 0
- Error launching remote program: failed to get the task for process 10722.The解决方法
- 解决error launching remote program failed to get the task for process
- Error launching remote program: failed to get the task for process
- 真机调试Error launching remote program: failed to get the task for process xxx.
- Error launching remote program: failed to get the task for process
- Xcode4.2真机调试时出现: error launching remote program failed to get the task for process
- 在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"的解决方法
- [xcode]Error launching remote program: failed to get the task for process xxx 本人解决办法
- Iphone真机调试出错:launching remote program: failed to get the task for process XXX
- Iphone真机调试出错:launching remote program: failed to get the task for process XXX
- Error launching ... failed to get the task for process ...
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- Iphone真机调试出错:launching remote program: failed to get the task for process XXX解决方法
- IOS真机调试error launching remote program failed to get the task 解决方案
- failed to get the task for process
- failed to get the task for process 1363问题解决
- IOS:XCode failed to get the task for process解决方法
- xcode提示: failed to get the task for process 解决方法
- [资料备份] 高效类库汇总【转】
- cocos2d游戏开发日记1
- cocos2d游戏开发日记2
- iOS 常用代码汇总(持续更新)
- NSURL中带有汉字参数的乱码处理
- Error launching remote program: failed to get the task for process
- MKMapView 自定义大头针
- [Graduation]《WhereGo》工作计划安排-1
- Jmeter实现对字符串加密
- <<wherego>>项目
- 内存管理之Block(weak-strong dance)
- UILabel自适应文字大小
- plist文件的形式保存在本地程序沙盒中
- linker command failed with exit code 1 解决