Post

Replies

Boosts

Views

Activity

Reply to Package update fails for package hosted on private Gitlab server
According to this stack overflow issue I finally stumbled on, there are/can-be (I am not entirely sure) issues with packages using SSH access i.e. git@. However, simply switching to https:// URLs for my packages was insufficient, I had to clear package caches and even go as far as manually deleting some directories. I deleted the contents of: ~/Library/Caches/org.swift.swiftpm ~/Library/Developer/Xcode/DerivedData Before deleting those, first I: Removed all the package dependencies from my project (and test projects I created to try and understand/resolve this problem). Closed Xcode Deleted the above directories Opened Xcode and then reimported my packages using the https:// links (not git@) After that, I was successfully able to commit changes to my package, push to my private repo, then use the "Update Package" feature in Xcode to pull the latest version.
Oct ’22
Reply to List view destroys Tab Bar in SwiftUI 3 on iOS 15.0
Thank you for sharing your solution. I ran into this bug today and spent hours trying to debug it. I just added a tab view controller to my app and one of the tabs is a hosting view controller that hosts a SwiftUI map which ignores all safe edges. When this map tab was selected, the only part of the tab view that was visible was the selected/current tab. I would have wasted a lot more time trying to debug this without your suggestion.
Mar ’23