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.
i press okay, there's still lot of compiler errors. these
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
Post a Comment