Unable to build Alamofire framework in new Xcode 10.2 (iOS 12.2)Alamofire: Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compilerHow to “add existing frameworks” in Xcode 4?Version vs build in XcodeSwift Beta performance: sorting arrays“No such module 'Alamofire'” Xcode won't recognize Alamofire frameworkXcode 8 Beta 3 Use Legacy Swift issueUpdating to latest version of CocoaPods?Alamofire - not be code signed because its settings don't specify a development team in Xcode 8Equivalent Alamofire libraries supporting swift 3.0 and iOS 8.0+Xcode 9 Swift Language Version (SWIFT_VERSION)Xcode 10.1 Protocol Conformance vs Xcode 10.2 beta

Wordplay subtraction paradox

What is the word for "event executor"?

Was Jacobi the first to notice the ambiguity in the partial derivatives notation? And did anyone object to his fix?

Why does Eliyahu appear at a brit milah?

How can I help our ranger feel special about her beast companion?

How could an animal "smell" carbon monoxide?

Why does FFmpeg choose 10+20+20 ms instead of an even 16 ms for 60 fps GIF images?

Operation Unz̖̬̜̺̬a͇͖̯͔͉l̟̭g͕̝̼͇͓̪͍o̬̝͍̹̻

What would be the safest way to drop thousands of small, hard objects from a typical, high wing, GA airplane?

What does it actually mean to have two time dimensions?

How could a medieval fortress manage large groups of migrants and travelers?

How to find location on Cambridge-Mildenhall railway that still has tracks/rails?

Why does "git status" show I'm on the master branch and "git branch" does not in a newly created repository?

Generating a PIN from cryptographic bytes

Interviewing with an unmentioned 9 months of sick leave taken during a job

What happens if a company buys back all of its shares?

Cauchy reals and Dedekind reals satisfy "the same mathematical theorems"

Why don't commercial aircraft adopt a slightly more seaplane-like design to allow safer ditching in case of emergency?

A scene of Jimmy diversity

how slow a car engine can run

What is this green alien supposed to be on the American covers?

Strategy to pay off revolving debt while building reserve savings fund?

Cover a cube with four-legged walky-squares!

Why did Steve Rogers choose this character in Endgame?



Unable to build Alamofire framework in new Xcode 10.2 (iOS 12.2)


Alamofire: Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compilerHow to “add existing frameworks” in Xcode 4?Version vs build in XcodeSwift Beta performance: sorting arrays“No such module 'Alamofire'” Xcode won't recognize Alamofire frameworkXcode 8 Beta 3 Use Legacy Swift issueUpdating to latest version of CocoaPods?Alamofire - not be code signed because its settings don't specify a development team in Xcode 8Equivalent Alamofire libraries supporting swift 3.0 and iOS 8.0+Xcode 9 Swift Language Version (SWIFT_VERSION)Xcode 10.1 Protocol Conformance vs Xcode 10.2 beta






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I am unable to build Alamofire for swift 5 in Xcode 10.2, iOS 12.2, because of the following error



SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Alamofire iOS')


Is there a solution to this?










share|improve this question

















  • 1





    did you add the correct pod version pod 'Alamofire', '~> 5.0.0-beta.3' ? That branch shall be compatible with Swift 4 and later

    – user3344236
    Mar 26 at 9:18












  • I am using carthage, but I will try targeting that in carthage just to see if it will build. Thx

    – Miki
    Mar 26 at 9:19

















3















I am unable to build Alamofire for swift 5 in Xcode 10.2, iOS 12.2, because of the following error



SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Alamofire iOS')


Is there a solution to this?










share|improve this question

















  • 1





    did you add the correct pod version pod 'Alamofire', '~> 5.0.0-beta.3' ? That branch shall be compatible with Swift 4 and later

    – user3344236
    Mar 26 at 9:18












  • I am using carthage, but I will try targeting that in carthage just to see if it will build. Thx

    – Miki
    Mar 26 at 9:19













3












3








3








I am unable to build Alamofire for swift 5 in Xcode 10.2, iOS 12.2, because of the following error



SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Alamofire iOS')


Is there a solution to this?










share|improve this question














I am unable to build Alamofire for swift 5 in Xcode 10.2, iOS 12.2, because of the following error



SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Alamofire iOS')


Is there a solution to this?







swift xcode alamofire carthage






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 26 at 9:13









MikiMiki

4074 silver badges15 bronze badges




4074 silver badges15 bronze badges







  • 1





    did you add the correct pod version pod 'Alamofire', '~> 5.0.0-beta.3' ? That branch shall be compatible with Swift 4 and later

    – user3344236
    Mar 26 at 9:18












  • I am using carthage, but I will try targeting that in carthage just to see if it will build. Thx

    – Miki
    Mar 26 at 9:19












  • 1





    did you add the correct pod version pod 'Alamofire', '~> 5.0.0-beta.3' ? That branch shall be compatible with Swift 4 and later

    – user3344236
    Mar 26 at 9:18












  • I am using carthage, but I will try targeting that in carthage just to see if it will build. Thx

    – Miki
    Mar 26 at 9:19







1




1





did you add the correct pod version pod 'Alamofire', '~> 5.0.0-beta.3' ? That branch shall be compatible with Swift 4 and later

– user3344236
Mar 26 at 9:18






did you add the correct pod version pod 'Alamofire', '~> 5.0.0-beta.3' ? That branch shall be compatible with Swift 4 and later

– user3344236
Mar 26 at 9:18














I am using carthage, but I will try targeting that in carthage just to see if it will build. Thx

– Miki
Mar 26 at 9:19





I am using carthage, but I will try targeting that in carthage just to see if it will build. Thx

– Miki
Mar 26 at 9:19












1 Answer
1






active

oldest

votes


















5














As for Carthage use



 github "Alamofire/Alamofire" "5.0.0-beta.3"


in your Cartfile






share|improve this answer























  • Works great, thx for the answer

    – Miki
    Mar 26 at 9:32










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353418%2funable-to-build-alamofire-framework-in-new-xcode-10-2-ios-12-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














As for Carthage use



 github "Alamofire/Alamofire" "5.0.0-beta.3"


in your Cartfile






share|improve this answer























  • Works great, thx for the answer

    – Miki
    Mar 26 at 9:32















5














As for Carthage use



 github "Alamofire/Alamofire" "5.0.0-beta.3"


in your Cartfile






share|improve this answer























  • Works great, thx for the answer

    – Miki
    Mar 26 at 9:32













5












5








5







As for Carthage use



 github "Alamofire/Alamofire" "5.0.0-beta.3"


in your Cartfile






share|improve this answer













As for Carthage use



 github "Alamofire/Alamofire" "5.0.0-beta.3"


in your Cartfile







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 26 at 9:20









user3344236user3344236

2,9941 gold badge15 silver badges21 bronze badges




2,9941 gold badge15 silver badges21 bronze badges












  • Works great, thx for the answer

    – Miki
    Mar 26 at 9:32

















  • Works great, thx for the answer

    – Miki
    Mar 26 at 9:32
















Works great, thx for the answer

– Miki
Mar 26 at 9:32





Works great, thx for the answer

– Miki
Mar 26 at 9:32








Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353418%2funable-to-build-alamofire-framework-in-new-xcode-10-2-ios-12-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript