question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build Failing Compiling GooglePlusShare.o when using RNShare.podspec

See original GitHub issue

I am trying to use the defined podspec to setup my xcode dependencies but I am getting an issue w/ the GooglePlusShare files. Does this pod for you as is?

Failure

The following build commands failed:
	CompileC /<Actual Build Path>/ios/build/Build/Intermediates/RNShare.build/Debug-iphonesimulator/RNShare.build/Objects-normal/x86_64/GooglePlusShare.o GooglePlusShare.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Pod declarations. (React is being pulled in locally as the cocoapods.org podspec is deprecated)

  pod 'React', :path => '../node_modules/react-native',
    :subspecs => [
      'Core',
      'RCTPushNotification',
      'RCTLinkingIOS'
    ]
  pod 'RNShare', :path => '../node_modules/react-native-share'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
stevelilescommented, Jan 19, 2017

Unfortunately 1.0.18 introduces a breaking change by referring to the new location of native headers that were moved in react-native 0.40.0. This means 1.0.18 is only compatible with react-native 0.40+.

We hit the same problem yesterday because our package.json contained:

"react-native-share": "^1.0.16"

… so npm automatically selected 1.0.18 on a fresh install.

Probably 1.0.18 should have been a major version bump to 2.0.0 as recommended in the react-native release notes for 0.40.0?

1reaction
EstebanFuentealbacommented, Jan 19, 2017

npm install react-native-share@1.0.17 --save

??

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build Failing Compiling GooglePlusShare.o when using ...
I am trying to use the defined podspec to setup my xcode dependencies but I am getting an issue w/ the GooglePlusShare files....
Read more >
Flutter build ios failing with: Error running pod install
Your cocoapods installation was broken. So try removing the brew version first via "brew uninstall cocoapods" Then install cocoapods via sudo ...
Read more >
Pre-compiling dependencies - CocoaPods Guides
CocoaPods Binary will pre-compile your Pods during pod install , and then add the binary assets (e.g. .framework files) into the generated Xcode...
Read more >
Incremental compilation has been disabled - Apple Developer
Hey Developers I'm facing some strange situation, I'm getting multiples issues related to optimization on Release build configuration, I'm using Xcode 13.2.
Read more >
CocoaPods overview and setup - Kotlin
You can build the whole Kotlin project with Gradle and not ever ... In build.gradle(.kts) of your project, apply the CocoaPods plugin as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found