# Bitrise-init tool / the bitrise scanner issues and updates

**URL:** <https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430>\
**Category:** Changelog\
**Created:** [January 25, 2017, 3:30pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430 "2017-01-25T15:30:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![godreikrisztian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/godreikrisztian/32/22_2.png) [@godreikrisztian](https://discuss.bitrise.io/u/godreikrisztian)\
**Post date:** [January 25, 2017, 3:30pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430/1 "2017-01-25T15:30:00Z")

</div>

Started working on adding Carthage configuration auto detection support to [bitrise-init / the bitrise config scanner](https://github.com/bitrise-core/bitrise-init) tool.

---

<div class="post-metadata">

**Author:** ![godreikrisztian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/godreikrisztian/32/22_2.png) [@godreikrisztian](https://discuss.bitrise.io/u/godreikrisztian)\
**Post date:** [January 25, 2017, 3:30pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430/2 "2017-01-25T15:30:20Z")

</div>

Carthage support PR: [https://github.com/bitrise-core/bitrise-init/pull/68](https://github.com/bitrise-core/bitrise-init/pull/68)

---

<div class="post-metadata">

**Author:** ![godreikrisztian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/godreikrisztian/32/22_2.png) [@godreikrisztian](https://discuss.bitrise.io/u/godreikrisztian)\
**Post date:** [January 25, 2017, 4:25pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430/3 "2017-01-25T16:25:58Z")

</div>

We decided to add Podfile fix to the new version of `bitrise-init`.

The scanner sometimes fails with:

```auto
[15:42:39] e[34;1mSearching for Podfilese[0m
[15:42:39] 1 Podfiles detected
[15:42:39] - LocallySelected/Podfile
[15:42:49] e[31;1mAnalyzer failed, error: No Podfile exists at path `LocallySelected/Podfile`.e[0m

```

**No Podfile exists at path** comes from cocoapods-core gem’s `Podfile.from_file()` function, see: [https://coveralls.io/jobs/318882/source\_files/33543988#L213](https://coveralls.io/jobs/318882/source_files/33543988#L213)

As a fix, i expanded the Podfile path, used by this ruby scripts and improved the error logging, PR: [https://github.com/bitrise-core/bitrise-init/pull/70](https://github.com/bitrise-core/bitrise-init/pull/70)

---

<div class="post-metadata">

**Author:** ![godreikrisztian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/godreikrisztian/32/22_2.png) [@godreikrisztian](https://discuss.bitrise.io/u/godreikrisztian)\
**Post date:** [January 25, 2017, 4:46pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430/4 "2017-01-25T16:46:17Z")

</div>

Another Podfile related issue:

```auto
[09:10:13] e[34;1mSearching for Podfilese[0m
[09:10:13] 1 Podfiles detected
[09:10:13] - Podfile
[09:10:24] e[31;1mAnalyzer failed, error: Pod::DSLErrore[0m

```

This seems to be an issue in the Podfile or in Pod’s spec, based on this threads:

- [https://github.com/ashleymills/Reachability.swift/issues/89](https://github.com/ashleymills/Reachability.swift/issues/89)
- [https://github.com/ashleymills/Reachability.swift/issues/73](https://github.com/ashleymills/Reachability.swift/issues/73)
- [https://github.com/CocoaPods/CocoaPods/issues/827](https://github.com/CocoaPods/CocoaPods/issues/827)

---

<div class="post-metadata">

**Author:** ![godreikrisztian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/godreikrisztian/32/22_2.png) [@godreikrisztian](https://discuss.bitrise.io/u/godreikrisztian)\
**Post date:** [January 25, 2017, 4:47pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430/5 "2017-01-25T16:47:39Z")

</div>

bitrise-init will print the files in the search dir if no platform detected.

`tree . -L 3`

Related PR: [https://github.com/bitrise-core/bitrise-init/pull/71](https://github.com/bitrise-core/bitrise-init/pull/71)

---

<div class="post-metadata">

**Author:** ![godreikrisztian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/godreikrisztian/32/22_2.png) [@godreikrisztian](https://discuss.bitrise.io/u/godreikrisztian)\
**Post date:** [January 25, 2017, 4:54pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430/6 "2017-01-25T16:54:35Z")

</div>

bitrise-init [1.1.0](https://github.com/bitrise-core/bitrise-init/releases/tag/1.1.0) released, started updating the project-scanner step.

---

<div class="post-metadata">

**Author:** ![godreikrisztian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/godreikrisztian/32/22_2.png) [@godreikrisztian](https://discuss.bitrise.io/u/godreikrisztian)\
**Post date:** [January 25, 2017, 5:17pm UTC](https://discuss.bitrise.io/t/bitrise-init-tool-the-bitrise-scanner-issues-and-updates/430/7 "2017-01-25T17:17:50Z")

</div>

project-scanner [1.1.0](https://github.com/bitrise-steplib/steps-project-scanner/releases/tag/1.1.0) is shared in the steplib.
