Skip to content
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

Podfile Problem #16

Open
hmunoz opened this issue May 16, 2019 · 3 comments
Open

Podfile Problem #16

hmunoz opened this issue May 16, 2019 · 3 comments

Comments

@hmunoz
Copy link

hmunoz commented May 16, 2019

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"

@timhonders
Copy link
Contributor

Wat for error's do u get?

@hmunoz
Copy link
Author

hmunoz commented May 16, 2019

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)

@ParryGao
Copy link

Any answers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants