-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Update][WIP] ReactiveCocoa 0.9.0 (Help request) #804
Conversation
I think that the issue is related to the following code: #ifdef __IPHONE_OS_VERSION_MIN_REQUIRED
#import <ReactiveCocoa/libextobjc/extobjc/EXTKeyPathCoding.h>
[...]
#elif TARGET_OS_MAC
#import <ReactiveCocoa/EXTKeyPathCoding.h>
[...]
#endif On OS X they are referencing the |
Yeah, I don't know why I didn't catch that before. That's what happens when coding late at night. 😉 I'll go make an issue on the repo. |
@irrationalfab:
Pre-install hooks, we meet again. |
😄 Unfortunately At the moment I think that the best solution is to patch I any case a pre install hook should look like: Pod::Spec.new do |s|
s.pre_install do |pod, _|
header = pod.root + 'ReactiveCocoaFramework/ReactiveCocoa/ReactiveCocoa.h'
File.open(header, 'w') { |file| file.puts(header.read.gsub('ReactiveCocoa/EXTKeyPathCoding.h', 'EXTKeyPathCoding.h')) }
end
end |
@irrationalfab You sure that's the right syntax? Seems to be moaning about "wrong number of arguments". My lack of Ruby knowledge is really killing me right now. 😉 |
What a BS I wrote :-) With this hook it will lint on OS X. def s.pre_install (pod, _)
header = pod.root + 'ReactiveCocoaFramework/ReactiveCocoa/ReactiveCocoa.h'
modified_contents = header.read.gsub('ReactiveCocoa/EXTKeyPathCoding.h', 'EXTKeyPathCoding.h')
File.open(header, 'w') { |file| file.puts(modified_contents) }
end However there are still some issue in iOS, likely related to the deployment target and to a missing ReactiveCocoa/RACAsyncCommand.h.
|
Haha. Well it seems like this version really doesn't like CocoaPods, does it? The library itself builds just fine on their CI server. 😩 |
* master: (55 commits) Warning fixes Updating KIF to the latest version OHHTTPStubs need ARC enabled in order for responseWithError to work Adding spec for MGBox2 2.0.0 [Update] FamilySearchCocoa (0.8.0) [Add] FatSecretKit (0.0.1) [Add] SESpringBoard (0.0.1) Add ADBIndexedTableView spec Add RHPreferences. Add RHAddressBook. Removed untagged version of Inflections [Update] Inflections (1.0.0) Add socket.io 0.2.4 update DLStarRating spec update commit number for PSTCollectionView [Update] LastFm (1.2.0) [Update] WorkflowSchema (0.4.0) [Update] MTPocket (0.6.2) [Update] GRMustache 6.1.2, 6.1.3 specs for Tesseract lib and wrapper added ...
Now with 0.10! |
😍 |
There are some problems here. I keep getting:
or similar. I don't know why this would be happening. From what I can tell I've included the required files from
libextobjc
. Any ideas?