-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Build Errors with 2.4.0 #116
Comments
Hm, that's very strange. It looks like some kind of cache. Indeed, there is no reference to |
@onekiloparsec Many thanks for the suggestions. I tried resetting the package caches using both the command line and Xcode (using File > Packages > Reset Package Caches) but I got the same errors after cleaning the build folder and rebuilding. So I followed the instructions from this Stack Overflow article and completely deleted the SPM cache and configuration folders (having first closed Xcode):
I then re-opened my project in Xcode, reset the project's package caches (File > Packages > Reset Package Caches), cleaned the build folder and rebuilt. At this point SwiftAA finally built correctly. I hope this information helps anyone else with this issue. |
I reopened my project today, made some changes and suddenly started receiving the same build errors, despite the project building fine the day before. Very strange. I have reverting to 2.3.2 as a workaround. |
That's really weird! |
Try to download the whole package, unzip it to a folder nearby and reference to the package as a |
No news or new info, over here ? |
I use SwiftAA as a dependency in my Swift package. Today I updated my dependencies and SwiftAA was updated to 2.4.0 (it was previously 2.3.2).
I now cannot build my project (2.3.2 compiled fine), with the compilation of SwiftAA failing with the following errors:
The errors appear to occur when building AA+. The checkout directory indeed doesn't contain
aaplus-v2.08
files. Instead, it contains a checkout foraaplus-v2.44
:The complete build output is:
(
<project>
in the above refers to/Users/<user>/Library/Developer/Xcode/DerivedData/<package>
).It appears SwiftAA is checking out AA+ v2.44 but the build scripts are referencing v2.08 for some reason.
ObjCAA.podspec
that is checked out references AA+ 2.44 as expected:I have searched the files in my checkout for references to
2.08
but cannot find any, yet the paths passed toCompileC
clearly referenceaaplus-v2.08
:(A number of lines were omitted from the above in the interest of brevity).
I have no idea where these references to
aaplus-v2.08
come from, but presume they're generated at some point during checkout/build?I will implement a workaround to fix my SwiftAA dependency at v2.3.2, but I would prefer to use v2.4 and newer if possible at some point in the future. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: