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

Integrate Flipper iOS get error Conv.h:114:10: 'double-conversion/double-conversion.h' file not found #1461

Closed
fahmisdk6 opened this issue Aug 13, 2020 · 8 comments
Assignees
Labels

Comments

@fahmisdk6
Copy link

Integration Step :

  1. Add flipper to podfile
$flipperkit_version = '0.51.0'
# need to declare all transitive dependency to make sure the configuration is debug only
pod 'FlipperKit', '~>' + $flipperkit_version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitLayoutComponentKitSupport', '~>' + $flipperkit_version, :configuration => 'Debug'
pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + $flipperkit_version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', '~>' + $flipperkit_version, :configuration => 'Debug'
pod 'Flipper-DoubleConversion', :configuration => 'Debug'
pod 'Flipper-Folly', :configuration => 'Debug'
pod 'Flipper-Glog', :configuration => 'Debug'
pod 'Flipper-PeerTalk', :configuration => 'Debug'
pod 'CocoaLibEvent', :configuration => 'Debug' 
pod 'boost-for-react-native', :configuration => 'Debug'
pod 'OpenSSL-Universal', :configuration => 'Debug'
pod 'CocoaAsyncSocket', :configuration => 'Debug'
pod 'ComponentKit', '~> 0.30'
  1. pod install

  2. Then i got problem with Flipper-Folly's Time.h
    iOS - Flipper Folly Typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t') #1421

It's because my project set all pod target to 10.0 on post_install
So i ignore these pods from set target script
flipper_pods = ['Flipper', 'CocoaLibEvent', 'boost-for-react-native', 'OpenSSL-Universal', 'CocoaAsyncSocket', 'ComponentKit']

  1. Then i got error with double-conversion.h

Screen Shot 2020-08-13 at 08 58 21

In this issue one of the answer suggest to remove use_framework! but i can remove it because our project has several dynamic framework. We declare the dynamic framework in pre_install.

Any help or suggestion to fix this double-conversion.h issue?
Thanks in advance.

@cekkaewnumchai
Copy link
Contributor

@priteshrnandgaonkar would you mind take a look on this?

@fahmisdk6
Copy link
Author

hi @priteshrnandgaonkar, can you help?

@priteshrnandgaonkar priteshrnandgaonkar self-assigned this Aug 25, 2020
@priteshrnandgaonkar
Copy link
Contributor

@fahmisdk6, can you provide me with the reproducible example. Can you create a sample example, which I can pull in and debug ? Or maybe if you can reproduce it in the our repo's sample example, then that would be great ?

@fahmisdk6
Copy link
Author

hi sorry for late response, i will provide sample soon

@milsawicki
Copy link

Hi! I am facing the same issue.

@stale
Copy link

stale bot commented Dec 25, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale label Dec 25, 2020
@priteshrnandgaonkar
Copy link
Contributor

Closing it because the author didn't provide with a reproducible example.

@eramudeep
Copy link

Facing same issue

Macos : macos sequoia
RN CLI : 2.0.1
Node : v20.11.1
"react": "18.3.1", "react-native": "^0.75.3",

image

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

No branches or pull requests

5 participants