ios - Compiling an old Swift project with CocoaPods packages failed after conversion -


i'm trying fix couple of hours, still without success. i've got ios project company needs updates on app. written in swift 2.3

my xcode version 8.3.3 - when opened project, got message have convert code swift 3

as first thing, updated pods dependencies

pod deintegrate pod install 

here podfile if there's interested know

# uncomment line define global platform project platform :ios, '10.2' #there '8' when got code # uncomment line if you're using swift use_frameworks! workspace 'nakoleipesky'  target 'nakoleipesky'  pod 'alamofire' pod 'hanekeswift' pod 'swiftyjson' pod 'googlemaps' pod 'swiftloader' pod 'googleplacesautocomplete', git: 'https://github.com/watsonbox/ios_google_places_autocomplete' pod 'frhyperlabel' pod 'google/analytics' pod 'googleconversiontracking'  end 

i tried convert code (both pods packages , our code) swift3 via convert tool, returned error "convert: failed", popping 1700 buildtime errors. list of files tried converts.

enter image description here

i press okay, there's still lot of compiler errors. these

enter image description here enter image description here

or 1 enter image description here

probably wrongly converted, original code was

  self.handleresponse(data, response: response as? nshttpurlresponse, error: error, completion: completion) 

is convert tool working bad? can in case? don't want rewrite code , fix 680 errors before can compile working before. tried google lot problem no useful solutions found.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -