Hi there,
Since the Dropbox API V1 has been turned off, the file download and upload in all our apps are not working any more. I'm now migrating to the API V2 and using Xcode 8.3.3 and Swift.
I followed the instructions here: https://github.com/dropbox/SwiftyDropbox#get-started and successfully installed the SwiftyDropbox and its dependency Alamofire:
Analyzing dependencies
Downloading dependencies
Installing Alamofire (3.5.1)
Using ArcGIS-Runtime-SDK-iOS (10.2.5)
Using SVProgressHUD (2.2.1)
Installing SwiftyDropbox (3.3.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 4 total pods installed.
My podfile looks like this:
# Uncomment this line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
target 'FCMapApp' do
# comment this line if you're not using Swift and don't want to use dynamic frameworks'
use_frameworks!
# Pods for FCMapApp
# pod 'Dropbox-iOS-SDK'
#pod 'Alamofire'
pod 'SwiftyDropbox'
pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'
pod 'ArcGIS-Runtime-SDK-iOS', '10.2.5'
target 'FCMapAppTests' do
inherit! :search_paths
# Pods for testing
end
end
But when I tried to build the project I got 267 Alamofire-related Swift compiler errors!!! I'm not sure what I'm doing wrong... Can anyone please help?
Thank you in advance.
Shimin