Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run make Builder/Makefile #16

Open
something24 opened this issue Nov 9, 2018 · 6 comments
Open

Cannot run make Builder/Makefile #16

something24 opened this issue Nov 9, 2018 · 6 comments

Comments

@something24
Copy link

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
Copy link
Member

@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
Copy link
Member

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

@something24
Copy link
Author

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
Copy link
Member

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

@something24
Copy link
Author

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

I already tried doing that many times unfortunately...

@vadimeisenbergibm
Copy link
Member

#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants