Home Ask Login Register

Developers Planet

Your answer is one click away!

Terry Bu February 2016

Running "pod update" gives segmentation fault 11 error

Running pod update on my current project returns the "Command failed due to signal: Segmentation fault: 11 error. while trying to compile Swift source files ... What would be the best way to debug in this case? (Try to uninstall each pod and see which is causing this error?) I did try removing derived data but it didn't remove the error.

The list of my pods are pod 'HockeySDK' pod 'FBSDKCoreKit', '~> 4.8' pod 'FBSDKLoginKit', '~> 4.8' pod 'FBSDKShareKit', '~> 4.8' pod 'Koloda' pod 'TagListView' pod 'Alamofire' pod 'SwiftyJSON' pod 'MBProgressHUD' pod 'AlamofireImage'

CompileSwift normal x86_64 /Users/terrybu/Desktop/Tastii/Consumer App/Tastii/BrowseViewController.swift cd /Users/terrybu/Desktop/Tastii/Consumer App /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/EditProfileViewController.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/APIDataQuery.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/CreateAccountViewController.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/TastiiTabBarViewController.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/TagColorEffectHandler.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/LoginViewController.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/VenueMenuTableViewCell.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/UserManager.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/ActivityCellDesigner.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/EditBasicInfoSettingsViewController.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/MenuItemTableViewCell.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/SettingsMenuTableView.swift" "/Users/terrybu/Desktop/Tastii/Consumer App/Tastii/FeedViewControll


David Yang Liu February 2016

worst comes to worst reintegrate pods by

1) deintegrate it "pod deintegrate" https://github.com/CocoaPods/cocoapods-deintegrate

2) sudo gem uninstall pods and then reinstall it

3) remove Pod file directory remove Podfile.lock and do a clean pod install

4) test pod update is now working, all subsequent time you can do a pod update you can test and verify that it does not segfault after you install

Post Status

Asked in February 2016
Viewed 3,525 times
Voted 4
Answered 1 times


Leave an answer

Quote of the day: live life