iphone – Termination application due to an uncaught exception "NSInvalidArgumentException" reason: "Receiver () has no link with the identifier". pizzaSegue & # 39;

I am new to fast programming and errors when converting a cell from the table view to a view controller giving details of that cell. The error I receive is the following:

Stopping the application due to an uncaught exception "NSInvalidArgumentException", reason:
& # 39; Receiver ()
does not have a link with the identifier 'pizzaSegue & # 39; & # 39;

I have already tried the following:
1) Tried to rename the storyboard and set the main timeline in the project settings and in the info.plist file (the key is "Base name of the main timeline file"). I currently have the storyboard named: "Main.storyboard"

2) Tried to clean the product (Product -> Clean) and rebuild it, but it gives the same error

3) I tried to remove the simulator application and run it again.

4) I have checked a second time and the identifier of the division in the interface builder called "pizzaSegue" and it is the same in my code.

import UIKit
import Alamofire

struct Drink {
let id: String
leave name: String
leave description: String
leave amount: Float
let image: UIImage

init (data: [String: Any]) {
self.id = data["id"] as! Chain
self.name = data["name"] as! Chain
//self.amount = data["amount"] as! Fleet
self.amount = ((data["amount"] as? NSNumber)? FloatValue)!
self.description = data["description"] as! Chain
self.image = data["image"] as! UIImage

DrinkTableViewCell class: UITableViewCell {
@IBOutlet lowVELLname: UILabel!
@IBOutlet low var cellAmount: UILabel!
@IBOutlet low var cell Description: UILabel!
@IBOutlet low var cellImage: UIImageView!

overwrite init (style: UITableViewCell.CellStyle, reuseIdentifier: String!) {
super.init (style: style, reuseIdentifier: reuseIdentifier)

Required init? (encoder aDecoder: NSCoder) {
fatalError ("init (encoder :) has not been implemented")


DrinkListTableViewController class: UITableViewController {

drinks var: [Drink] = []

    replace func viewDidLoad () {
super.viewDidLoad ()
navigationItem.title = "Beverage Selection"
tableView.dataSource = self
tableView.delegate = self
//tableView.register(DrinkTableViewCell.self, forCellReuseIdentifier: "cell")

tableView.register (DrinkTableViewCell.self as AnyClass, forCellReuseIdentifier: "cell")

//tableView.register(UINib(nibName: "DrinkTableViewCell", bundle: Bundle.main), forCellReuseIdentifier: "cell")

//tableView.estimatedRowHeight = 134
//tableView.rowHeight = UITableView.automaticDimension

fetchInventory {drinks at
keep drinking! = null otherwise {return}
self.drinks = drink!
// print ("API call data:", self.drinks)
//self.tableView.reloadData ()
// DispatchQueue.main.async { [weak self] in
// self? .tableView.reloadData ()

replace func viewDidAppear (_ animated: Bool) {
super.viewDidAppear (animated)
DispatchQueue.main.async { [weak self] in
car? .tableView.reloadData ()

redefine func tableView (_tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
performSegue (withIdentifier: "pizzaSegue", sender: self.drinks[indexPath.row] as a drink)
// try another method below?
//self.navigationController?.pushViewController (UIViewController () as! PizzaViewController, animated: true)

override func prepare (for division: UIStoryboardSegue, sender: Any?) {

if segue.identifier == "pizzaSegue" {
keep letting vc = segue.destination like? PizzaViewController else {retour}
vc.pizza = sender as? Pizza

private function fetchInventory (completion: @escaping ([Drink]?) -> Void) {
Alamofire.request ("" method: .get)
.responseJSON {answer in
guard response.result.isSuccess else {full return (nil)}
keep let rawInventory = response.result.value as?[[[[[String: Any]?]else {full return (nil)}
leave Invent = rawInventory.compactMap {pizzaDict -> Drink? in
var data = pizzaDict!
The data["image"] = UIImage (named: pizzaDict!["image"] as! Chain)
// print ("Print each item:", Drink (data: data))
// successful printing of any inventory
return drink (data: data)
completion (inventory)

// MARK: - Table view data source

redefine func numberOfSections (in tableView: UITableView) -> Int {
back 1

redefine func tableView (_tableView: UITableView, section numberOfRowsInSection: Int) -> Int {
print ("ROWS:", drinks.count)
return of drinks.count

redefine func tableView (_tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {

// let cell = tableView.dequeueReusableCell (withIdentifier: "cell", for: indexPath) like! DrinkTableViewCell

// let cell = UITableViewCell (style: UITableViewCell.CellStyle.subtitle, reuseIdentifier: "cell")

let cell: DrinkTableViewCell = self.tableView.dequeueReusableCell (withIdentifier: "cell") as! DrinkTableViewCell

//cell.cellName?.text = drinks[indexPath.row].first name
//cell.cellAmount?.text = String (drinks[indexPath.row].amount)
//cell.cellDescription?.text = drinks[indexPath.row].the description
//cell.cellImage?image = drink[indexPath.row].picture

cell.imageView? .image = drinks[indexPath.row].picture
cell.textLabel? .text = drinks[indexPath.row].first name
cell.detailTextLabel? .text = drinks[indexPath.row].the description


print (cell.cellName? .text as any)
return cell

redefine func tableView (_tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
returns 100.0


Screen capture showing an error in the console and the sequence ID in the storyboard