IBM-Swift / Kitura-HelloWorld-iOS

A Hello World example of running Kitura on iOS
https://developer.ibm.com/swift/2017/03/13/kitura-ios/
Apache License 2.0
55 stars 16 forks source link

Cannot run make Builder/Makefile #16

Open something24 opened 6 years ago

something24 commented 6 years ago

When I run the command above I get the following message: [setDeploymentVersionOfSharedServerClient] Error 1 ruby Builder/Scripts/set_deployment_version.rb SharedServerClient/SharedServerClient.xcodeproj 11.2 ruby: No such file or directory -- Builder/Scripts/set_deployment_version.rb (LoadError)

Any idea why please?

vadimeisenbergibm commented 5 years ago

@something24 Sorry, could not get to it earlier.

Strange, for me it works:

make Builder/Makefile
--- Fetching submodules
git submodule init
Submodule 'Builder' (https://github.com/IBM-Swift/Kitura-Builder-iOS.git) registered for path 'Builder'
Submodule 'ClientSide' (https://github.com/IBM-Swift/Kitura-Mobile-Server.git) registered for path 'ClientSide'
Submodule 'ServerSide' (https://github.com/vadimeisenbergibm/Kitura-Sample.git) registered for path 'ServerSide'
git submodule update --remote --merge
Cloning into '/Users/vadime/dev/KituraGBS/Kitura-Sample-iOS/Builder'...
Cloning into '/Users/vadime/dev/KituraGBS/Kitura-Sample-iOS/ClientSide'...
Cloning into '/Users/vadime/dev/KituraGBS/Kitura-Sample-iOS/ServerSide'...
Submodule path 'Builder': checked out '1b787a2ff78e63f3955e5b27b2f9f8c3503b5c73'
Submodule path 'ClientSide': checked out '17f29e17eec228d8c3038708bdb05b49767f0933'
Submodule path 'ServerSide': checked out '696d5ece264d721b75d4df0408aa82695292258a'
make setDeploymentVersionOfSharedServerClient
ruby Builder/Scripts/set_deployment_version.rb SharedServerClient/SharedServerClient.xcodeproj 12.1
make: `Builder/Makefile' is up to date.

The file that your error message says is missing, is here https://github.com/IBM-Swift/Kitura-Builder-iOS/blob/1b787a2ff78e63f3955e5b27b2f9f8c3503b5c73/Scripts/set_deployment_version.rb .

vadimeisenbergibm commented 5 years ago

@something24 Can you check that the file exists in your directory, Builder/Scripts/set_deployment_version.rb ?

something24 commented 5 years ago

Hi Vadim, for some reason the file doesn't exist in the directory. Even when I try and download the missing file, I get this message: "[setDeploymentVersionOfSharedServerClient] Error 1 ruby Builder/Scripts/set_deployment_version.rb SharedServerClient/SharedServerClient.xcodeproj 12.1 ruby: No such file or directory -- Builder/Scripts/set_deployment_version.rb (LoadError)"

You can find the complete log here: Terminal Saved Output.txt

Could you please help?

vadimeisenbergibm commented 5 years ago

@something24 I would just clone a fresh copy and run the make there.

something24 commented 5 years ago

@something24 I would just clone a fresh copy and run the make there.

I already tried doing that many times unfortunately...

vadimeisenbergibm commented 5 years ago

something24 Another option is to clone each of the repositories, ClientSide, ServerSider, Builder, manually. The modules and their repositories are specified in https://github.com/IBM-Swift/Kitura-HelloWorld-iOS/blob/master/.gitmodules.