Closed phildobbin closed 12 years ago
Sparkle is a git submodule. Did you run git submodule update --init
in the project directory after cloning?
no, there was no mention in the README of such so I didn't know it was a requirement to do so.
I just ran it now & got:
xcodebuild: Error: the project /Users/dobbin/dev/vico/sparkle/Sparkle.xcodeproj does not exist in this directory. make: *** [/Users/dobbin/dev/vico/build/DEBUG/sparkle/Sparkle.stamp] Error 1
which looks like the same error (haven't diffed it)...
this is the output after running git submodule update --init
$ git submodule update --init Submodule 'Bundles/vicoapp-ack.vico-bundle' () registered for path 'Bundles/vicoapp-ack.vico-bundle' Submodule 'Bundles/vicoapp-c.tmbundle' () registered for path 'Bundles/vicoapp-c.tmbundle' Submodule 'Bundles/vicoapp-css.tmbundle' () registered for path 'Bundles/vicoapp-css.tmbundle' Submodule 'Bundles/vicoapp-diff.tmbundle' () registered for path 'Bundles/vicoapp-diff.tmbundle' Submodule 'Bundles/vicoapp-html.tmbundle' () registered for path 'Bundles/vicoapp-html.tmbundle' Submodule 'Bundles/vicoapp-java.tmbundle' () registered for path 'Bundles/vicoapp-java.tmbundle' Submodule 'Bundles/vicoapp-javascript.tmbundle' () registered for path 'Bundles/vicoapp-javascript.tmbundle' Submodule 'Bundles/vicoapp-json.tmbundle' () registered for path 'Bundles/vicoapp-json.tmbundle' Submodule 'Bundles/vicoapp-objective-c.tmbundle' () registered for path 'Bundles/vicoapp-objective-c.tmbundle' Submodule 'Bundles/vicoapp-perl.tmbundle' () registered for path 'Bundles/vicoapp-perl.tmbundle' Submodule 'Bundles/vicoapp-php.tmbundle' () registered for path 'Bundles/vicoapp-php.tmbundle' Submodule 'Bundles/vicoapp-python.tmbundle' () registered for path 'Bundles/vicoapp-python.tmbundle' Submodule 'Bundles/vicoapp-ruby-on-rails.tmbundle' () registered for path 'Bundles/vicoapp-ruby-on-rails.tmbundle' Submodule 'Bundles/vicoapp-ruby.tmbundle' () registered for path 'Bundles/vicoapp-ruby.tmbundle' Submodule 'Bundles/vicoapp-shellscript.tmbundle' () registered for path 'Bundles/vicoapp-shellscript.tmbundle' Submodule 'Bundles/vicoapp-source.tmbundle' () registered for path 'Bundles/vicoapp-source.tmbundle' Submodule 'Bundles/vicoapp-sql.tmbundle' () registered for path 'Bundles/vicoapp-sql.tmbundle' Submodule 'Bundles/vicoapp-text.tmbundle' () registered for path 'Bundles/vicoapp-text.tmbundle' Submodule 'Bundles/vicoapp-xml.tmbundle' () registered for path 'Bundles/vicoapp-xml.tmbundle' Submodule 'Bundles/vicoapp-yaml.tmbundle' () registered for path 'Bundles/vicoapp-yaml.tmbundle' Submodule 'plblockimp' () registered for path 'plblockimp' Submodule 'sparkle' () registered for path 'sparkle'
Hmm something doesn't seem right. Was that all of the output? I just did a new clone and when I ran git submodule update --init
I see a bunch of these (note the repo URLs are included inside the brakets but yours were empty for some reason):
Submodule 'Bundles/vicoapp-ack.vico-bundle' (git@github.com:vicoapp/ack.vico-bundle.git) registered for path 'Bundles/vicoapp-ack.vico-bundle'
Submodule 'Bundles/vicoapp-c.tmbundle' (git@github.com:vicoapp/c.tmbundle.git) registered for path 'Bundles/vicoapp-c.tmbundle'
Submodule 'Bundles/vicoapp-css.tmbundle' (git@github.com:vicoapp/css.tmbundle.git
# [snip many more similar lines]
Followed by (this is the --init
bit where it clones each of the submodules into their registered paths):
Cloning into 'Bundles/vicoapp-ack.vico-bundle'...
remote: Counting objects: 48, done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 48 (delta 24), reused 44 (delta 20)
Receiving objects: 100% (48/48), 88.62 KiB | 34 KiB/s, done.
Resolving deltas: 100% (24/24), done.
Submodule path 'Bundles/vicoapp-ack.vico-bundle': checked out 'f03155c6b33b8257341cf0148b73a9e028c683ed'
Cloning into 'Bundles/vicoapp-c.tmbundle'...
remote: Counting objects: 1237, done.
remote: Compressing objects: 100% (484/484), done.
remote: Total 1237 (delta 748), reused 1216 (delta 738)
Receiving objects: 100% (1237/1237), 231.63 KiB | 66 KiB/s, done.
Resolving deltas: 100% (748/748), done.
Submodule path 'Bundles/vicoapp-c.tmbundle': checked out '38d8ae68e49ebc42c074b51b459f8de5ada88569'
Cloning into 'Bundles/vicoapp-css.tmbundle'...
remote: Counting objects: 874, done.
remote: Compressing objects: 100% (255/255), done.
remote: Total 874 (delta 561), reused 852 (delta 544)
Receiving objects: 100% (874/874), 137.62 KiB | 65 KiB/s, done.
Resolving deltas: 100% (561/561), done.
Submodule path 'Bundles/vicoapp-css.tmbundle': checked out 'c4eec86729743f729eeb8b253c78117c62f648f8'
C
# [snip many more similar lines]
if I scroll back to the original build before I ran git submodule update --init
I see:
git submodule update --init --recursive -- . Submodule 'Bundles/vicoapp-ack.vico-bundle' (git@github.com:vicoapp/ack.vico-bundle.git) registered for path 'Bundles/vicoapp-ack.vico-bundle' Submodule 'Bundles/vicoapp-c.tmbundle' (git@github.com:vicoapp/c.tmbundle.git) registered for path 'Bundles/vicoapp-c.tmbundle' Submodule 'Bundles/vicoapp-css.tmbundle' (git@github.com:vicoapp/css.tmbundle.git) registered for path 'Bundles/vicoapp-css.tmbundle' Submodule 'Bundles/vicoapp-diff.tmbundle' (git@github.com:vicoapp/diff.tmbundle.git) registered for path 'Bundles/vicoapp-diff.tmbundle' Submodule 'Bundles/vicoapp-html.tmbundle' (git@github.com:vicoapp/html.tmbundle.git) registered for path 'Bundles/vicoapp-html.tmbundle' Submodule 'Bundles/vicoapp-java.tmbundle' (git@github.com:vicoapp/java.tmbundle.git) registered for path 'Bundles/vicoapp-java.tmbundle' Submodule 'Bundles/vicoapp-javascript.tmbundle' (git@github.com:vicoapp/javascript.tmbundle.git) registered for path 'Bundles/vicoapp-javascript.tmbundle' Submodule 'Bundles/vicoapp-json.tmbundle' (git@github.com:vicoapp/json.tmbundle.git) registered for path 'Bundles/vicoapp-json.tmbundle' Submodule 'Bundles/vicoapp-objective-c.tmbundle' (git@github.com:vicoapp/objective-c.tmbundle.git) registered for path 'Bundles/vicoapp-objective-c.tmbundle' Submodule 'Bundles/vicoapp-perl.tmbundle' (git@github.com:vicoapp/perl.tmbundle.git) registered for path 'Bundles/vicoapp-perl.tmbundle' Submodule 'Bundles/vicoapp-php.tmbundle' (git@github.com:vicoapp/php.tmbundle.git) registered for path 'Bundles/vicoapp-php.tmbundle' Submodule 'Bundles/vicoapp-python.tmbundle' (git@github.com:vicoapp/python.tmbundle.git) registered for path 'Bundles/vicoapp-python.tmbundle' Submodule 'Bundles/vicoapp-ruby-on-rails.tmbundle' (git@github.com:vicoapp/ruby-on-rails.tmbundle.git) registered for path 'Bundles/vicoapp-ruby-on-rails.tmbundle' Submodule 'Bundles/vicoapp-ruby.tmbundle' (git@github.com:vicoapp/ruby.tmbundle.git) registered for path 'Bundles/vicoapp-ruby.tmbundle' Submodule 'Bundles/vicoapp-shellscript.tmbundle' (git@github.com:vicoapp/shellscript.tmbundle.git) registered for path 'Bundles/vicoapp-shellscript.tmbundle' Submodule 'Bundles/vicoapp-source.tmbundle' (git@github.com:vicoapp/source.tmbundle.git) registered for path 'Bundles/vicoapp-source.tmbundle' Submodule 'Bundles/vicoapp-sql.tmbundle' (git@github.com:vicoapp/sql.tmbundle.git) registered for path 'Bundles/vicoapp-sql.tmbundle' Submodule 'Bundles/vicoapp-text.tmbundle' (git@github.com:vicoapp/text.tmbundle.git) registered for path 'Bundles/vicoapp-text.tmbundle' Submodule 'Bundles/vicoapp-xml.tmbundle' (git@github.com:vicoapp/xml.tmbundle.git) registered for path 'Bundles/vicoapp-xml.tmbundle' Submodule 'Bundles/vicoapp-yaml.tmbundle' (git@github.com:vicoapp/yaml.tmbundle.git) registered for path 'Bundles/vicoapp-yaml.tmbundle' Submodule 'plblockimp' (https://github.com/landonf/plblockimp.git) registered for path 'plblockimp' Submodule 'sparkle' (https://github.com/andymatuschak/Sparkle.git) registered for path 'sparkle' Cloning into Bundles/vicoapp-ack.vico-bundle...
so it appears it was run without me having to explicitly ask for it so that may not be the problem...
Ahh ok and if you ls sparkle
from the vico directory what is in there?
~/dev/vico ] $ ls sparkle Configurations SUConstants.m SUStandardVersionComparator.h SUWindowController.h he.lproj Info.plist SUDSAVerifier.h SUStandardVersionComparator.m SUWindowController.m hu.lproj License.txt SUDSAVerifier.m SUStatus.xib Sample Appcast.xml id.lproj Makefile SUDiskImageUnarchiver.h SUStatusController.h Sparkle.h is.lproj NTSynchronousTask.h SUDiskImageUnarchiver.m SUStatusController.m Sparkle.icns it.lproj NTSynchronousTask.m SUHost.h SUSystemProfiler.h Sparkle.pch ja.lproj README.markdown SUHost.m SUSystemProfiler.m Sparkle.xcodeproj ko.lproj Relaunch Tool-Info.plist SUInstaller.h SUUIBasedUpdateDriver.h Test Application nl.lproj SUAppcast.h SUInstaller.m SUUIBasedUpdateDriver.m Tests no.lproj SUAppcast.m SULog.h SUUnarchiver.h bsdiff.c pl.lproj SUAppcastItem.h SULog.m SUUnarchiver.m bspatch.c pt_BR.lproj SUAppcastItem.m SUModelTranslation.plist SUUnarchiver_Private.h bspatch.h pt_PT.lproj SUAutomaticUpdateAlert.h SUPackageInstaller.h SUUnarchiver_Private.m ca.lproj ro.lproj SUAutomaticUpdateAlert.m SUPackageInstaller.m SUUpdateAlert.h cs.lproj ru.lproj SUAutomaticUpdateDriver.h SUPasswordPrompt.h SUUpdateAlert.m cy.lproj sign_update.rb SUAutomaticUpdateDriver.m SUPasswordPrompt.m SUUpdateDriver.h da.lproj sk.lproj SUBasicUpdateDriver.h SUPipedUnarchiver.h SUUpdateDriver.m de.lproj sl.lproj SUBasicUpdateDriver.m SUPipedUnarchiver.m SUUpdatePermissionPrompt.h el.lproj sv.lproj SUBinaryDeltaApply.h SUPlainInstaller.h SUUpdatePermissionPrompt.m en.lproj th.lproj SUBinaryDeltaApply.m SUPlainInstaller.m SUUpdater.h es.lproj tr.lproj SUBinaryDeltaCommon.h SUPlainInstallerInternals.h SUUpdater.m fi.lproj uk.lproj SUBinaryDeltaCommon.m SUPlainInstallerInternals.m SUUpdater_Private.h finish_installation-Info.plist zh_CN.lproj SUBinaryDeltaTool.m SUProbingUpdateDriver.h SUUserInitiatedUpdateDriver.h finish_installation.m zh_TW.lproj SUBinaryDeltaUnarchiver.h SUProbingUpdateDriver.m SUUserInitiatedUpdateDriver.m finish_installation.pch SUBinaryDeltaUnarchiver.m SUScheduledUpdateDriver.h SUVersionComparisonProtocol.h fr.lproj SUConstants.h SUScheduledUpdateDriver.m SUVersionDisplayProtocol.h generate_keys.rb
Sorry I ran out of suggestions the other day and without a 10.6 machine to test on I'm not sure what else to suggest. I'm not sure Vico is set up to build on 10.6 (which is different from building for 10.6 on a 10.7 or 10.8 machine). It has hardcoded references to the 10.7 SDK in the Makefile.
OK, not a problem. I'm not really a Mac developer anymore so I won't be following this up I'm afraid.
Thanks for the replies, cheers...
it exits with:
xcodebuild: Error: the project /Users/dobbin/dev/vico/sparkle/Sparkle.xcodeproj does not exist in this directory. make: *** [/Users/dobbin/dev/vico/build/DEBUG/sparkle/Sparkle.stamp] Error 1
after cloning & issuing
make run