I'm running SwiftyDropbox version 10.1.0 on XCode 15.4 with a MacOS deployment target of 14.5.
When i copy and paste the code in the tutorial here:
https://dropbox.github.io/SwiftyDropbox/api-docs/latest/
I get an error:
SwiftyDropbox/DropboxClientsManager.swift:53: Precondition failed: Only call `DropboxClientsManager.setupWithAppKey` or `DropboxClientsManager.setupWithTeamAppKey` once
I have this setup per the documentation
DropboxClientsManager.setupWithAppKeyDesktop("<APP_KEY>")So when i change it to .setupWithAppKey it gives me the error:
Type 'DropboxClientsManager' has no member 'setupWithAppKey'
Any help would be great