PromiseKit: PromiseKit build failed
- PromiseKit version: 4.0
- Xcode version: 8.0
- CocoaPods version: 1.1.0.rc.2 Mac OS Sierra Swift 3
after recets upgrade build fails withi this errors:
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/PromiseKit-umbrella.h"
^
/Users/francesco/Library/Developer/Xcode/DerivedData/astaLive-akmhaneumiopcdfoxvylaebquksf/Build/Products/Debug-iphonesimulator/PromiseKit/PromiseKit.framework/Headers/PromiseKit-umbrella.h:3:9: note: in file included from /Users/francesco/Library/Developer/Xcode/DerivedData/astaLive-akmhaneumiopcdfoxvylaebquksf/Build/Products/Debug-iphonesimulator/PromiseKit/PromiseKit.framework/Headers/PromiseKit-umbrella.h:3:
#import "AAA-CocoaPods-Hack.h"
^
/Users/francesco/Library/Developer/Xcode/DerivedData/astaLive-akmhaneumiopcdfoxvylaebquksf/Build/Products/Debug-iphonesimulator/PromiseKit/PromiseKit.framework/Headers/AAA-CocoaPods-Hack.h:14:9: error: 'PromiseKit/PromiseKit.h' file not found
#import <PromiseKit/PromiseKit.h>
^
<unknown>:0: error: could not build Objective-C module 'PromiseKit'
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 21 (12 by maintainers)
Delete
Pods, remove CocoaPods cache,pod installagain.Thank you Max! What did helped (temporary and very ugly) is replacing
#import <PromiseKit/PromiseKit.h>with#import "PromiseKit.h"in the pod sources everywhere (plus the same substitute forAnyPromise.h). Any thoughts on this?@boardmain
I was having the same problems. I tried
rm -rf Pods/with no success. Eventually I upgraded to Cocoapods 1.0.1 and removed all my Xcode cached files as per the link below. I then removed Pods/ again, pod installed, rebuilt, and finally got a success. Give it a try and see if you have any luck?http://stackoverflow.com/questions/5714372/how-to-empty-caches-and-clean-all-targets-xcode-4