I'm using Xcode6.4 and Cocoapods 0.38.2. When I use Alamofire through Cocoapods, some strage error happens.
When I use iPhone6(iOS8.4), everything is fine. I can compile and use Alamofire. But when I use iPhone5(iOS8.4), even if I can compile without errors, I get errors like below.
dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /private/var/mobile/Containers/Bundle/Application/AA92A24D-B208-46E8-8C08-1532116C9C64/knews.app/knews
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/AA92A24D-B208-46E8-8C08-1532116C9C64/knews.app/Frameworks/Alamofire.framework/Alamofire: mach-o, but wrong architecture
/private/var/mobile/Containers/Bundle/Application/AA92A24D-B208-46E8-8C08-1532116C9C64/knews.app/Frameworks/Alamofire.framework/Alamofire: mach-o, but wrong architecture
/private/var/mobile/Containers/Bundle/Application/AA92A24D-B208-46E8-8C08-1532116C9C64/knews.app/Frameworks/Alamofire.framework/Alamofire: mach-o, but wrong architecture
I don't know exactly when this problem happens, but I could use cocoapods and Amamofire with iPhone5 a while ago.
Please help.
Actually I even don't know what kind of information I should put here.
Thanks,