# Chapter 8: Compile error "Use of undeclared type 'Message'"

**URL:** <https://forums.kodeco.com/t/chapter-8-compile-error-use-of-undeclared-type-message/108507>\
**Category:** Push Notifications by Tutorials\
**Created:** [May 9, 2020, 10:14am UTC](https://forums.kodeco.com/t/chapter-8-compile-error-use-of-undeclared-type-message/108507 "2020-05-09T10:14:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandro-rossi](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/alessandro-rossi/32/81494_2.png) [@alessandro-rossi](https://forums.kodeco.com/u/alessandro-rossi)\
**Post date:** [May 9, 2020, 10:14am UTC](https://forums.kodeco.com/t/chapter-8-compile-error-use-of-undeclared-type-message/108507/1 "2020-05-09T10:14:03Z")

</div>

Hello,  
I’m trying to play with the exampled provided with the book in order to integrate the apn function in my project but, even the original example provided as final in the chapter 8 gave me this compile error at the following line in NotificationTableViewController.swift

" lazy private var fetchedResultsController: NSFetchedResultsController = { "  
– Error : Use of undeclared type ‘Message’

Thank you very much for the help,  
Alessandro Rossi

---

<div class="post-metadata">

**Author:** ![gargoyle](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gargoyle/32/107285_2.png) [@gargoyle](https://forums.kodeco.com/u/gargoyle)\
**Post date:** [May 10, 2020, 3:06am UTC](https://forums.kodeco.com/t/chapter-8-compile-error-use-of-undeclared-type-message/108507/2 "2020-05-10T03:06:41Z")

</div>

I just downloaded the project files, double-clicked on the xcode final project for chapter 8, changed the bundle identifier and then hit compile without issues.
