ポッドを Xamarin にバインドしようとしているときに、いくつかのエラーが発生しました。
次のコマンドを実行しました。
sharpie pod init ios libPusher
sharpie pod bind
しかし、それは私に次のようなエラーを与えました:
- (RACSignal *)rac_valuesAndChangesForKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options observer:(__weak ...
^
While building module 'ReactiveCocoa' imported from /private/var/folders/96/fpnn11nx4gbdjxbmclkpdl3w0000gn/T/com.xamarin.ObjectiveSharpie/fec0ff8e35944ff0a2a574f1ff606d2f.h:1:
In file included from <module-includes>:1:
In file included from /Users/vrwim/Downloads/libPusher-master/binding/build/Release-iphoneos/ReactiveCocoa/ReactiveCocoa.framework/Headers/ReactiveCocoa-umbrella.h:42:
/Users/vrwim/Downloads/libPusher-master/binding/build/Release-iphoneos/ReactiveCocoa/ReactiveCocoa.framework/Headers/RACKVOChannel.h:85:23: error:
cannot create __weak reference in file using manual reference counting
各プロジェクトを編集してPods.xcodeproj
、自動参照カウントを使用するように設定しようとしましたが、これは機能していないようです。
自動参照カウントを有効にするためにclangオプションを追加する必要がありますか?それとも何か他のことが起こっていますか?