0% found this document useful (0 votes)
28 views2 pages

Texting Me and Saying

The document contains compiler error messages indicating issues with code syntax. Specifically: 1) Errors with single quoted strings that should use double quotes. 2) Missing semicolons between statements on the same line. 3) Missing closing parentheses in an expression. 4) Declaration only allowed at file scope. 5) Missing closing braces. 6) No such module imported.

Uploaded by

Socar Sanchez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views2 pages

Texting Me and Saying

The document contains compiler error messages indicating issues with code syntax. Specifically: 1) Errors with single quoted strings that should use double quotes. 2) Missing semicolons between statements on the same line. 3) Missing closing parentheses in an expression. 4) Declaration only allowed at file scope. 5) Missing closing braces. 6) No such module imported.

Uploaded by

Socar Sanchez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

compiler.

swift:31:5: error: single-quoted string literal found, use '"'


pod 'Firebase/Database'
^~~~~~~~~~~~~~~~~~~
"Firebase/Database"
compiler.swift:31:4: error: consecutive statements on a line must be separated by
';'
pod 'Firebase/Database'
^
;
compiler.swift:85:3: error: expected ')' in expression list
struct Product {
^
compiler.swift:79:77: note: to match this opening '('
let orderRef =
Database.database().reference().child("orders").child(order⬤
compiler.swift:130:1: error: declaration is only valid at file scope
import UIKit
^
compiler.swift:157:10: error: consecutive statements on a line must be separated by
';'
<!DOCTYPE html>
^
;
compiler.swift:158:6: error: consecutive statements on a line must be separated by
';'
<html lang="en">
^
;
compiler.swift:160:10: error: consecutive statements on a line must be separated by
';'
<meta charset="UTF-8">
^
;
compiler.swift:161:10: error: consecutive statements on a line must be separated by
';'
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^
;
compiler.swift:161:39: error: consecutive statements on a line must be separated by
';'
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^
;
compiler.swift:162:10: error: consecutive statements on a line must be separated by
';'
<meta name="viewport" content="width=device-width, initial-scale=1.0">
^
;
compiler.swift:162:26: error: consecutive statements on a line must be separated by
';'
<meta name="viewport" content="width=device-width, initial-scale=1.0">
^
;
compiler.swift:163:22: error: consecutive statements on a line must be separated by
';'
<title>Bienvenida con JavaScript</title>
^
;
compiler.swift:163:26: error: consecutive statements on a line must be separated by
';'
<title>Bienvenida con JavaScript</title>
^
;
compiler.swift:167:15: error: consecutive statements on a line must be separated by
';'
<h1>Bienvenido a mi Página</h1>
compiler.swift:167:17: error: consecutive statements on a line must be separated by
';'
<h1>Bienvenido a mi Página</h1>
compiler.swift:167:20: error: consecutive statements on a line must be separated by
';'
<h1>Bienvenido a mi Página</h1>
compiler.swift:171:11: error: single-quoted string literal found, use '"'
alert('¡Bienvenido a mi página!');
compiler.swift:177:1: error: expected '}' at end of brace statement

^
compiler.swift:78:51: note: to match this opening '{'
func deleteOrderFromFirebase(orderId: String) {
^
compiler.swift:177:1: error: expected '}' in class

^
compiler.swift:38:40: note: to match this opening '{'
class ViewController: UIViewController {
^
compiler.swift:35:8: error: no such module 'UIKit'
import UIKit
^

You might also like