Reputation: 648
I was using xcode 6 beta 6, but I have installed xcode 6 GM seed. Then, I have faced a problem like Swift Compiler error "Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1". I have researched many times and I have tried all of it but I couldnt find the solution. I have been using Alamofire library. I have uncomment code lines related to alamofire and delete from project directory and re-added it. Also, In some developer forums people mostly say that under the project target and Build settings - and clean runpath search paths and framework search paths. I have tried all of it but it is not compiled.
Thank you for your helps..
Best regards
Upvotes: 1
Views: 1288
Reputation: 863
My problem was that I was implicitly unwrapping an optional in an Array in a for loop. Changing the ! to ? for the class of the iterating var fixed it.
Upvotes: 1