解决 Swift package manager 无法使用系统代理获取 GitHub 包问题 2021-09-06 枫叶 问题原因Xcode 无法使用系统代理,导致拉取 GitHub 包时超时或失败。解决方案在终端中设置代理后使用命令行获取,进入项目根目录,然后执行下面指令:xcodebuild -resolvePackageDependencies -scmProvider system
SwifUI onAppear 被调用两次 2021-09-03 枫叶 For everyone still having this issue and using a NavigationView. Add this line to the root NavigationView() and it should fix the problem..navigati...