i'm trying to Archive my app according to Apple's "App Distribution Guide", app is operating fine both on simulator and iPhone, no errors found. But when i just click Archive, two errors always happen:
one says: Swift Compiler Warning: Umbrella header for module 'Alamofire' does not include header 'Pods-Alamofire-umbrella.h'.
second says: /Users/applejwo/Library/Developer/Xcode/DerivedData/Cloud-eixkwmelyvsoqvabyduxipaohojy/Build/Intermediates/ArchiveIntermediates/Cloud/IntermediateBuildFilesPath/UninstalledProducts/Alamofire.framework: No such file or directory Command /usr/bin/codesign failed with exit code 1
the second error sometimes may disappear, i also don't know why?
i have tried every possible solution stated in "command/usr/bin/codesign failed with exit code 1- code sign error", but errors are still there.
my dev environment is: simulator 8.4, iPhone 5s iOS 8.4, Xcode 6.4 (6E35b), swift, Alamofire 1.2.3, cocoa pods 0.37.2
Thanks very much in advance!