I get into Chapter 6 and then am required to install two more products: Brew and Vapor. I try to install Brew and get the error message:
/bin/bash: line 112: /usr/local/bin/git: Bad CPU type in executable
Failed during: git init -q
and it aborts without installing anything. Some Googling points to maybe it isn’t compatible with Catalina. I can’t find anything on the Homebrew site. This obviously precludes me installing Vapor.
I have no interest in learning the intricacies and hacking my way through Brew in order to install Vapor of which I also have no knowledge of. I bought this book to learn how to implement notifications via Swift using XCode, not having to hack through other products simply to get the tutorials to work.
I’ve created the required db in MySQL and have a PHP site built and ready to implement push notifications. I guess I’ll just read the book and “pretend” I have a working Swift app until the tutorial progresses to the PHP phase.
Does anyone have any suggestions on how to work around not having Vapor?