Closed Chevit closed 2 years ago
Hi @Chevit What you're suggesting won't work in Xcode 13.3 and above.
First, you need to remove the package from your project Clear the Swift Package Manager cache on your machine by going to ~/Library/Caches/org.swift.swiftpm/ and delete: Digital-iOS-SDK folder Digital-iOS-SDK lock file Then please reintegrate with version 4.0.2
If for some reason it doesn't work for you please contact your Medallia's CSM and we'll schedule a meeting.
We ran into the same issue. Our build broke and I can't re-add it using SPM for a specific version or range of versions (like we were doing).
I'm working around this issue by pointing to the main branch rather than specifying a version.
Hi @noelstieglitz After clearing cache like mentioned above, you can point to exact version 4.0.2 or if you don't want to use exact version the version should be between 4.0.0 and 5.0.0 You can see that the 4.0.2 tag exist here https://github.com/medallia/Digital-iOS-SDK/tags If you're still experiencing this issue, please contact your Medallia's CSM and we'll schedule a meeting
@OriMedallia thanks for following up. We were successfully referencing this project pointing to 3.9.1
prior to the update to this repo ~8 days ago. After the latest changes, I receive an error on my dev machine (as well as in the CI pipeline, pointing to it not being a cache issue) trying to reference this library using SPM. As I mentioned in my previous comment, I also am not able to add a reference using a specific version or a range of versions. Steps to reproduce:
4.0.2
or 4.00
- 5.0.0
.I can temporarily work around this issue by following the steps in the readme, except instead of choosing a specific version or a range of versions, choosing "branch" -> main (or a specific commit). Pointing to main is obviously a bad long term solution because anytime you push to this repo, we'll get latest, which could cause unexpected changes in our CI pipeline vs. our local environment. @Chevit's solution is the better long term solution if you guys aren't able to fix the repo.
Interestingly I'm not seeing any reference to the previously existing (at least looking at our references, looks like it used to exist) 3.9.1
tag and I'm seeing multiple commits against the same 4.0.2
tag.
@noelstieglitz Can please try to create a new project with v4.0.2 and let me know if the issue is reproduceable on an empty project? Thanks
Please don't do fixes in this way.
If you want to fix anything - add a new tag. At this moment our builds are broken cuz Xcode 13.2 can't find package product 'MedalliaPackage'. And And the previous version was good. 'Reset packages cache' and other commands don't help. As result, we will try to use manual integration and this is not the first time.