vapor: Project cannot be opened because the project file cannot be parsed.

I am just starting with vapor and am trying to create a project.

I already had Xcode 8 (release version) installed, so I started by installing vapor with:

curl -sL check.vapor.sh | bash

And I got the compatible output:

✅  Compatible

I then installed the tool box:

url -sL toolbox.vapor.sh | bash

And I got the compatible output:

✅  Compatible
Downloading...
Compiling...
2016-10-20 09:06:42.385 xcodebuild[5919:265869] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WebDevSupport.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:42.408 xcodebuild[5919:265869] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WebDevelopment.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:42.422 xcodebuild[5919:265869] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:42.436 xcodebuild[5919:265869] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/test-plug.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:42.455 xcodebuild[5919:265869] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Rayrolling.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:42.478 xcodebuild[5919:265869] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:42.494 xcodebuild[5919:265869] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:43.975 xcodebuild[5920:266111] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WebDevSupport.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:43.977 xcodebuild[5920:266111] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WebDevelopment.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:43.978 xcodebuild[5920:266111] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:43.979 xcodebuild[5920:266111] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/test-plug.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:43.980 xcodebuild[5920:266111] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Rayrolling.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:43.981 xcodebuild[5920:266111] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:06:43.981 xcodebuild[5920:266111] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:08:38.104 xcodebuild[6397:280257] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WebDevSupport.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:08:38.118 xcodebuild[6397:280257] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WebDevelopment.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:08:38.182 xcodebuild[6397:280257] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:08:38.204 xcodebuild[6397:280257] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/test-plug.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:08:38.240 xcodebuild[6397:280257] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Rayrolling.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:08:38.271 xcodebuild[6397:280257] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-20 09:08:38.295 xcodebuild[6397:280257] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Installing...
Vapor Toolbox v1.0.3 Installed
Use vapor --help and vapor <command> --help to learn more.

All those errors you see are from when I had Xcode 7 and installed Alcatraz. The plugins don’t exist anymore (I think).

I then checked to see if it installed correctly and ran vapor --help:

Usage: vapor <new|build|run|fetch|clean|test|xcode|version|self|heroku|docker>
Join our Slack if you have questions, need help,
or want to contribute: http://vapor.team

After I created some directories, I ran vapor new hello-world and got the success output:


Cloning Template [Done]

                                                                                                                      **
                                                                                                                    **~~**
                                                                                                                  **~~~~~~**
                                                                                                                **~~~~~~~~~~**
                                                                                                              **~~~~~~~~~~~~~~**
                                                                                                            **~~~~~~~~~~~~~~~~~~**
                                                                                                          **~~~~~~~~~~~~~~~~~~~~~~**
                                                                                                         **~~~~~~~~~~~~~~~~~~~~~~~~**
                                                                                                        **~~~~~~~~~~~~~~~~~~~~~~~~~~**
                                                                                                       **~~~~~~~~~~~~~~~~~~~~~~~~~~~~**
                                                                                                       **~~~~~~~~~~~~~~~~~~~~~~~~~~~~**
                                                                                                       **~~~~~~~~~~~~~~~~~~~~~++++~~~**
                                                                                                        **~~~~~~~~~~~~~~~~~~~++++~~~**
                                                                                                         ***~~~~~~~~~~~~~~~++++~~~***
                                                                                                           ****~~~~~~~~~~++++~~****
                                                                                                              *****~~~~~~~~~*****
                                                                                                                 *************

                                                                                                        _       __    ___   ___   ___
                                                                                                       \ \  /  / /\  | |_) / / \ | |_)
                                                                                                        \_\/  /_/--\ |_|   \_\_/ |_| \
                                                                                                          a web framework for Swift

                                                                                                   Project "hello-world" has been created.
                                                                                            Type `cd hello-world` to enter the project directory.
                                                                                                                    Enjoy!

I then ran ls to make sure I was in the right directory. I got this output, so I continued:

Config      Localization    Package.swift   Procfile    Public      README.md   Resources   Sources     app.json    license

I am comfortable using Xcode and wanted to use it, so I ran cd hello-world/ and vapor xcode and this was the output:

No Packages folder, fetch may take a while...
Fetching Dependencies [Done]
Generating Xcode Project [Done]
Select the `App` scheme to run.
Open Xcode project?
y/n>
Open Xcode project?
[y]es or [n]o>y
Opening Xcode project...

Instead of opening the project, I got this error from Xcode:

Project /Volumes/Caleb's HD/Development/backEndWebDev/personal/vapor/projects/hello-world/hello-world.xcodeproj cannot be opened because the project file cannot be parsed.

Is there any guess as to why This is happening? Note what OS I am running:

  • Xcode 8
  • OS X 10.11.6

Some people said to look for a git conflict in the project.pbxproj, but I couldn’t find anything.

Is there a way to find where the error is coming from?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (14 by maintainers)

Most upvoted comments

WOOOOOOOOOOO!!! I updated to Xcode 8.2 beta and it WORKS!

Nope. I am thinking at this point I need to upgrade my hardware and get macOS.