Cocoapods: doppelte definition der Schnittstelle

Ich' wickelte mir private Bibliothek in cocoapods. Es hat die Abhängigkeit von ReactiveCocoa.

s.name =  'MineLibrary'
s.dependency 'ReactiveCocoa/Core'
s.source_files = 'Source/*.{h,m,swift}'
....

Einige header-Dateien enthält:

#import <ReactiveCocoa/RACSignal.h>

Ich in ein neues Projekt:

use_frameworks!
....
pod 'ReactiveCocoa'
pod 'MineLibrary', :git => 'git@.....'

Aber wenn ich das Projekt kompilieren, ich bin immer ein Fehler:

duplicate interface definition for class 'RACStream'
duplicate interface definition for class 'RACSignal'


/Users/USER/Library/Developer/Xcode/DerivedData/Project-emcwpmbbuimotuftzijeemvngrvj/Build/Products/Debug-iphoneos/Pods/ReactiveCocoa.framework/Headers/RACStream.h:27:1: error: duplicate interface definition for class 'RACStream'

@interface RACStream : NSObject
^
/Users/USER/Workspace/Project/Pods/ReactiveCocoa/ReactiveCocoa/RACStream.h:27:12: note: previous definition is here
@interface RACStream : NSObject

Wie es gelöst werden kann?

P. S. ich bin mit cocoapods 0.36.0.rc.1

InformationsquelleAutor Mikhail | 2015-02-26
Schreibe einen Kommentar