Upgraded skip to 1.1.8 - but still see logging ref to 1.1.1 #256
-
I'm still not able to re-build my project... Should be upgraded to 1.1.8 ❯ 1.1.8/skip.artifactbundle/macos/skip version But when I run > skip export and look at the /tmp/**** log files I see: Error: The skip.tools license was created with a version of the software that expired on 2024-10-01 00:00:00 +0000 and must be re-generated. Which I was getting BEFORE the Xcode : File > Packages > Update...version - which I thought it worked... Xcode builds started working. But > skip export fails. ❯ skip version ❯ skip export Find ref to skip 1.1.1 and errors with license file... skip-export-2024-10-08T01:24:07Z.txt Seems WEIRD that I've got 1.1.8 but the log file does NOT - it's 1.1.1 - how do I debug this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
Here's something WEIRD... after deleting the .build folder several times - and rebuilding... ❯ pwd Down inside that .build folder so thing copies in the skip command and it is version 1.1.1 Not 1.1.8 !!! So some where in the Gradle build there exist a cached 1.1.1 Skip tools that is being copied into the projects/.build/artifacts.... Riddle me ... this one Batman... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Let me point out that after getting builds working again... the issues I feel contributed to MY confusion and many mistakes I've made... My ignorance of the two build tool chains. (A BIG problem) The need (requirement) to update the two build tool chains. (I'd not done this since ver 1.1.1 some months back) The strange fact that some process copies executables that are installed in HomeBrew into the hidden project folder (.build/artifacts/skip...) and uses that absolute path to skip executable to build. Which is a redundant skip exe that got out of sync with the properly installed skip exe. This redundancy should be eliminated in the build tool chain. Oh... and the weird reasoning that there is a HIDDEN (.build) folder in the first place. Just BAD form for a build system to hide it's work. The build system does NOT have a proper CLEAN tool/command. The consumer (ME) does not know which pieces of this are generate/derived files and what is source data. The build system and tool chain copies in unix paths and then uses the absolute path to execute commands or as parameters (input) to commands - as apposed to using a relative path - or a well known Env Var (oh how I hate the JAVA_HOME Env Var) but it does solve for this issue. I put this here to help make Skip.tools better in MY future! |
Beta Was this translation helpful? Give feedback.
Xcode and SwiftPM's command-line interface don't use the same pins. Xcode's is internal, whereas the CLI uses the
Package.resolved
file. This can indeed be confusing, because Xcode might be using one version of the libraries (after you update usingFile
/Packages
/Update to latest package version
), whereas command-lineswift
might be using another (which won't be updated until you runswift package update
, or just delete thePackage.resolved
file).I agree that this is confusing. We will consider ways to call out when the package may be out of date.