pookjw / SidecarPatcher

Enables Sidecar on old Mac and iPad for macOS 10.15
GNU General Public License v3.0
666 stars 53 forks source link

Error when dragging in patch to Terminal after Sudo Swift command #86

Open MartaVine opened 4 years ago

MartaVine commented 4 years ago

Downloaded developer tools, followed the tutorial and I get stuck here. Please help me work out what's going wrong, what haven't I done?

Using: 10.15.6 (19G73) MacBook Pro (13-inch, Mid 2012) 2.9 GHz Dual-Core Intel Core i7 8 GB 1600 MHz DDR3

With 10.5 inch, iPad Pro.

Here begins error message:

Welcome to Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53). Type :help for assistance. 1> /Users/ben/Downloads/SidecarPatcher-master/main.swift error: repl.swift:1:1: error: '/' is not a prefix unary operator /Users/ben/Downloads/SidecarPatcher-master/main.swift ^

error: repl.swift:1:2: error: use of unresolved identifier 'Users' /Users/ben/Downloads/SidecarPatcher-master/main.swift ^~~~~

error: repl.swift:1:8: error: use of unresolved identifier 'benwatson' /Users/ben/Downloads/SidecarPatcher-master/main.swift ^~~~~

error: repl.swift:1:18: error: use of unresolved identifier 'Downloads' /Users/ben/Downloads/SidecarPatcher-master/main.swift ^~~~~

error: repl.swift:1:28: error: use of unresolved identifier 'SidecarPatcher' /Users/ben/Downloads/SidecarPatcher-master/main.swift ^~~~~~

error: repl.swift:1:43: error: use of unresolved identifier 'master' /Users/ben/Downloads/SidecarPatcher-master/main.swift ^~

error: repl.swift:1:50: error: use of unresolved identifier 'main' /Users/ben/Downloads/SidecarPatcher-master/main.swift ^~~~