# Chapter 14, 'automatic()' is deprecated: Use SyncUser.configuration() instead

**URL:** <https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157>\
**Category:** Realm: Building Modern Swift Apps with Realm\
**Created:** [June 29, 2018, 8:54pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157 "2018-06-29T20:54:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamieinottawa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jamieinottawa/32/79496_2.png) [@jamieinottawa](https://forums.kodeco.com/u/jamieinottawa)\
**Post date:** [June 29, 2018, 8:54pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/1 "2018-06-29T20:54:44Z")

</div>

I am struggling with the replacement code.

Thx.

Jamie

---

<div class="post-metadata">

**Author:** ![jamieinottawa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jamieinottawa/32/79496_2.png) [@jamieinottawa](https://forums.kodeco.com/u/jamieinottawa)\
**Post date:** [June 29, 2018, 9:11pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/2 "2018-06-29T21:11:05Z")

</div>

sorry for the lack of detail. The reference is from the bottom of page 264, and the app will run with the deprecated code.

---

<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:** [June 29, 2018, 9:14pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/3 "2018-06-29T21:14:47Z")

</div>

@freak4pc Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![freak4pc](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/freak4pc/32/101113_2.png) [@freak4pc](https://forums.kodeco.com/u/freak4pc)\
**Post date:** [June 29, 2018, 9:20pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/4 "2018-06-29T21:20:20Z")

</div>

Hey both  
In on vacation until July 7th but will be glad to assist after 🙂 sorry for the delay and thanks for the understanding !

---

<div class="post-metadata">

**Author:** ![jamieinottawa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jamieinottawa/32/79496_2.png) [@jamieinottawa](https://forums.kodeco.com/u/jamieinottawa)\
**Post date:** [June 30, 2018, 10:34am UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/5 "2018-06-30T10:34:19Z")

</div>

Thx, enjoy your vacation!

---

<div class="post-metadata">

**Author:** ![freak4pc](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/freak4pc/32/101113_2.png) [@freak4pc](https://forums.kodeco.com/u/freak4pc)\
**Post date:** [July 8, 2018, 1:59pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/6 "2018-07-08T13:59:55Z")

</div>

@jamieinottawa Which version of Realm are you using?

---

<div class="post-metadata">

**Author:** ![jamieinottawa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jamieinottawa/32/79496_2.png) [@jamieinottawa](https://forums.kodeco.com/u/jamieinottawa)\
**Post date:** [July 9, 2018, 3:07pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/7 "2018-07-09T15:07:05Z")

</div>

I am using Realm 3.7.2 with xCode 9.4.1 is Mac OS 10.13.5

---

<div class="post-metadata">

**Author:** ![freak4pc](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/freak4pc/32/101113_2.png) [@freak4pc](https://forums.kodeco.com/u/freak4pc)\
**Post date:** [July 9, 2018, 6:20pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/8 "2018-07-09T18:20:14Z")

</div>

Thanks. Looking in the `bootstrap.sh` script you’ll notice the book currently maintains support for Realm 3.4.0 while the deprecation was part of 3.7.0.

In that sense, we will release a fix/update for this version in a next release and also updated @icanzilb about this issue.

---

<div class="post-metadata">

**Author:** ![jamieinottawa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jamieinottawa/32/79496_2.png) [@jamieinottawa](https://forums.kodeco.com/u/jamieinottawa)\
**Post date:** [July 13, 2018, 3:17pm UTC](https://forums.kodeco.com/t/chapter-14-automatic-is-deprecated-use-syncuser-configuration-instead/44157/9 "2018-07-13T15:17:13Z")

</div>

Understood, thx for the update.
