I hit the error below on Xcode 8, anyone can help solve it. My application must support iOS 8 and above.
Alamofire will not be signed by code because its settings do not define the development team. Use the legacy version of Swift (SWIFT_VERSION) must be properly configured for purposes that use Swift. Use the [Edit> Convert> To Current Swift Syntax ...] menu to select the Swift version or use the Build settings editor to directly configure the build options.
thank
Alamofire Xcode 8 :
1) <yourproject>.xcworkspace
<yourproject>.xcworkspace
2) "" → "" → "" → " " :
, , Alamofire 4.0 - Swift 3/Xcode 8. .
PS "Alamofire , ". , , pod install , Alamofire - , . .
pod install
, Swift:
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '3.0' end end end
Source: https://habr.com/ru/post/1654541/More articles:Django: Add a user to a group through Django Admin - djangoPython square brackets between function name and arguments: func [...] (...) - pythonState in * ngFor - angularIs there any way to emulate the perfect OnePlus device? - oneplusoneVersion Management Microservice - architecturehow to add unicode to truetype0font on pdfbox 2.0.0? - unicodePlaceholder Prediction for Dynamic Placeholder - sitecoreXcode 8, iOS 8 crash simulator: "dyld: lazy binding binding failed: Symbol not found: _objc_unsafeClaimAutoreleasedReturnValue" - iosonclick trigger resize, highcharts - javascriptReading pdf through pdfbox in java - javaAll Articles