# Issue with input: ProjectPath

**URL:** <https://discuss.bitrise.io/t/issue-with-input-projectpath/2312>\
**Category:** Builds\
**Created:** [July 19, 2017, 3:47am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312 "2017-07-19T03:47:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shen.yingyin](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@shen.yingyin](https://discuss.bitrise.io/u/shen.yingyin)\
**Post date:** [July 19, 2017, 3:47am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312/1 "2017-07-19T03:47:25Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Build error during Recreate User Schemes step which shows that project path does not exit.  
I’ve checked my repository to make sure that my app.xworkspace exits.  
And my other iOS project which using the same workflow works just fine.  
Any tips will be so much thankful.

## Environment:

**Where did the issue happen?**

_If on [Bitrise.io](http://Bitrise.io): which stack? If not on [Bitrise.io](http://Bitrise.io): on what operating system? (Plus any other information you can share)_  
trying to build an iOS app written with Xcode7.3 and using Pods ver 0.39.0  
Build failed in Recreate User Schemes step

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : NO
- _If you have multiple different build configurations (workflows), does the issue affect all/more than one?_ : NO
- _If it’s an issue which happens sporadically, what’s the frequency? (e.g. Once a day ; about x% of the builds)_ : Always
- _Does upgrading the build Step to the latest version help?_ : NO
- _When did the issue start?_ :

### Other stacks

_Can it be reproduced by running the build locally with our CLI ( [https://www.bitrise.io/cli](https://www.bitrise.io/cli) ), after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [https://www.bitrise.io/cli](https://www.bitrise.io/cli) )?_

## Build log

_Please attach the build log (you can download the build log from the build’s page, once the build is finished, using the “Download log” button - floating at the bottom right corner of the log viewer), **or if you can’t attach the whole log** then send the **full log** through a private channel (e.g. email - [https://www.bitrise.io/contact](https://www.bitrise.io/contact) ), **with a link to the related GitHub issue**._

±-----------------------------------------------------------------------------+

| (6) recreate-user-schemes@1.0.1 |  
±-----------------------------------------------------------------------------+  
| id: recreate-user-schemes |  
| version: 1.0.1 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: go |  
| time: 2017-07-18T20:31:12-07:00 |  
±-----------------------------------------------------------------------------+  
| |  
INFO[20:31:12] \* [OK] Step dependency (go) installed, available.  
Configs:

- ProjectPath: peachjohncatalog.xcworkspace  
Issue with input: ProjectPath - path not exist at: peachjohncatalog.xcworkspace  
| |  
±–±--------------------------------------------------------------±---------+  
| x | recreate-user-schemes@1.0.1 (exit code: 1) | 3.66 sec |  
±–±--------------------------------------------------------------±---------+  
| Issue tracker: …hub.com/bitrise-steplib/steps-recreate-user-schemes/issues |  
| Source: [https://github.com/bitrise-steplib/steps-recreate-user-schemes](https://github.com/bitrise-steplib/steps-recreate-user-schemes) |  
±–±--------------------------------------------------------------±---------+

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 19, 2017, 7:55am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312/2 "2017-07-19T07:55:55Z")

</div>

Hi @shen.yingyin,

Thanks for asking this here! 🙂

> [@shen.yingyin](#):
>
> ProjectPath: peachjohncatalog.xcworkspace

Are you sure that this workspace exists at that path?

Keep in mind this is a **relative path** , by default **relative to the root of the repository** (unless you have a Change Workdir step or similar which changes the working directory), so if the workspace file is in a sub dir then it should be `./my/sub/dir/peachjohncatalog.xcworkspace`

If that wouldn’t help, can you please send us the build’s [bitrise.io](http://bitrise.io) URL through email or the onsite chat?

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 25, 2017, 10:06am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312/3 "2017-07-25T10:06:42Z")

</div>

Hi @shen.yingyin,

Checked the log you sent. The issue is that you changed where the code should be checked out in the `primary` workflow in your config.

From the build’s `bitrise.yml`:

```auto
  primary:
    steps:
    - activate-ssh-key@3.1.1:
        run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
    - git-clone:
        inputs:
        - clone_into_dir: "$$BITRISE_GIT_BRANCHBITRISE_SOURCE_DIR"

```

Please select the **primary** workflow in the Workflow Editor, then select the **Git Clone Repository** step in the workflow, and set the **Clone destination** input back to the original **`$BITRISE_SOURCE_DIR`** :

 ![](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/9bd98721bc3ca2ba4480e9635221dc3b3805761e.png)

* * *

Or, alternatively, switch to the `bitrise.yml` tab and just remove the `git-clone` step’s `inputs`.

From:

```auto
    - git-clone:
        inputs:
        - clone_into_dir: "$$BITRISE_GIT_BRANCHBITRISE_SOURCE_DIR"

```

change it to:

```auto
    - git-clone: {}

```

---

<div class="post-metadata">

**Author:** ![shen.yingyin](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@shen.yingyin](https://discuss.bitrise.io/u/shen.yingyin)\
**Post date:** [July 26, 2017, 12:58am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312/4 "2017-07-26T00:58:03Z")

</div>

Thanks for the check.  
I followed the suggested step to change the clone destination.  
But it ended up with the same error…  
Here’s the build’s log

> **[Bitrise - Mobile Continuous Integration and Delivery](https://app.bitrise.io/users/sign_in)**
>
> Mobile Continuous Integration and Delivery for your whole team, with dozens of integrations for your favourite services.

Totally being stuck in there 😖

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 26, 2017, 10:07am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312/5 "2017-07-26T10:07:11Z")

</div>

You changed the value to `$$BITRISE_SOURCE_DIR`.

Please either remove that input from `bitrise.yml` or change the value to `$BITRISE_SOURCE_DIR` (single dollar sign `$`)!

---

<div class="post-metadata">

**Author:** ![shen.yingyin](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@shen.yingyin](https://discuss.bitrise.io/u/shen.yingyin)\
**Post date:** [July 27, 2017, 1:23am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312/6 "2017-07-27T01:23:45Z")

</div>

Oh my… can’t believe I missed that…  
Problem resolved!  
Thanks sooo much for your help! 😄

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 27, 2017, 10:35am UTC](https://discuss.bitrise.io/t/issue-with-input-projectpath/2312/7 "2017-07-27T10:35:14Z")

</div>

Any time 😉
