---
title: "[IOS] No such file or directory (path) 问题解决"
author: "lgl903"
date: "2013-07-05T17:23:06Z"
tags: []
categories: ["移动开发"]
slug: "ios-no-such-file-or-directory-path"
draft: false
lastmod: "2014-01-09T12:45:34Z"
id: 1900198
url: "https://lgl903.iteye.com/blog/1900198"
---

之前在做iphone设备上Debug工作，后来切换到ipad，就爆出这个错误，

找了一会找到了原因，ipad系统版本号为5.1，xcode  Deployment Target设置为6.1，所以不能运行成功。

将  Deployment Target 设置为小于设备版本号即可。

 

![](http://dl2.iteye.com/upload/attachment/0086/5618/630baf76-bec9-3984-a036-8e77215eb769.png)