Open hmunoz opened 5 years ago
Wat for error's do u get?
Wat for error's do u get?
The following build commands failed: CompileC /Users/----/ios/build/---/Build/Intermediates.noindex/RCTReactNativeRabbitMq.build/Debug-iphonesimulator/RCTReactNativeRabbitMq.build/Objects-normal/x86_64/EventEmitter.o /Users/----/node_modules/react-native-rabbitmq/ios/RCTReactNativeRabbitMq/EventEmitter.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
Any answers?
For the project to work and I can compile correctly the structure of the podfile you have to see the following:
platform :ios, '10.0'
target 'IterwayTracking' do inhibit_all_warnings! use_frameworks!
pod 'RMQClient', :git => 'https://github.com/rabbitmq/rabbitmq-objc-client.git'
end
With this other way I can not make it work properly: https://github.com/transistorsoft/rn-background-geolocation-demo/blob/master/ios/Podfile (Example podFile other Project)
In the documentation of native react generally use this target 'xxxxx' do
rn_path = '../node_modules/react-native'
pod 'yoga', path: "# {rn_path} /ReactCommon/yoga/yoga.podspec"
pod 'React', path: rn_path, subspecs: [ 'Core', 'CxxBridge', 'DevSupport', 'RCTActionSheet', 'RCTAnimation', 'RCTGeolocation', 'RCTImage', 'RCTLinkingIOS', 'RCTNetwork', 'RCTSettings', 'RCTText', 'RCTVibration', 'RCTWebSocket', ]
# React Native third party dependencies podspecs pod 'DoubleConversion',: podspec => "# {rn_path} /third-party-podspecs/DoubleConversion.podspec" pod 'glog',: podspec => "# {rn_path} /third-party-podspecs/glog.podspec" pod 'Folly',: podspec => "# {rn_path} /third-party-podspecs/Folly.podspec"