# Chapter 8 Starter Project Error

**URL:** <https://forums.kodeco.com/t/chapter-8-starter-project-error/50421>\
**Category:** RxSwift\
**Created:** [September 23, 2018, 5:19pm UTC](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421 "2018-09-23T17:19:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gfgruvin](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gfgruvin/32/81494_2.png) [@gfgruvin](https://forums.kodeco.com/u/gfgruvin)\
**Post date:** [September 23, 2018, 5:19pm UTC](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421/1 "2018-09-23T17:19:59Z")

</div>

I am using XCode 10. In some places, I am gettings the error "Contextual closure type ‘(String) throws → Bool’ expects 1 argument, but 2 were used in closure body. Specifically, when filtering the web responses in ActivityController.swift.

response  
.filter { response, \_ in  
return 200…\<300 ~= response.statusCode  
}

Regards,

Gary

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [September 30, 2018, 7:00pm UTC](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421/2 "2018-09-30T19:00:55Z")

</div>

@gfgruvin Do you still have this issue or have you managed to solve it in the meantime?

---

<div class="post-metadata">

**Author:** ![gfgruvin](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gfgruvin/32/81494_2.png) [@gfgruvin](https://forums.kodeco.com/u/gfgruvin)\
**Post date:** [October 7, 2018, 7:22pm UTC](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421/3 "2018-10-07T19:22:07Z")

</div>

Yes, I still have this problem.

---

<div class="post-metadata">

**Author:** ![gfgruvin](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gfgruvin/32/81494_2.png) [@gfgruvin](https://forums.kodeco.com/u/gfgruvin)\
**Post date:** [October 19, 2018, 7:57am UTC](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421/4 "2018-10-19T07:57:21Z")

</div>

Here is a screen shot of the problem I am having.

![49](https://files.chunter.kodeco.com/original/3X/a/f/af576347fd41aaad6f49a7e4967c11c1091257bf.png)

This is what the pod file looks like…

use\_frameworks!

```nohighlight
  pod 'RxSwift', '~> 4.0'
  pod 'RxCocoa', '~> 4.0'
  pod 'Kingfisher', '4.9.0'
end

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '4.0'
        end
    end
end
```

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [March 9, 2019, 9:20am UTC](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421/5 "2019-03-09T09:20:00Z")

</div>

Closed on March 9, 2019, 9:20am UTC

This topic was automatically closed after 166 days. New replies are no longer allowed.
