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

'FileBrowser/FileBrowser-Swift.h' file not found #71

Open
theLastCc opened this issue Apr 3, 2020 · 16 comments
Open

'FileBrowser/FileBrowser-Swift.h' file not found #71

theLastCc opened this issue Apr 3, 2020 · 16 comments
Assignees

Comments

@theLastCc
Copy link

the version RN0.61.5 no such problem,RN0.61.5 upgrade to the 0.62.0 。 Running project prompt 'FileBrowser/FileBrowser-Swift.h'

@Raiden-Liu
Copy link

I met the same problem.How to solve it?

@prscX prscX self-assigned this Apr 3, 2020
@prscX
Copy link
Owner

prscX commented Apr 3, 2020

Need to look into it. I have not tried it with RN62. Will share update ASAP.

@cw0925
Copy link

cw0925 commented Apr 8, 2020

me too

@theLastCc
Copy link
Author

Need to look into it. I have not tried it with RN62. Will share update ASAP.

FileBrowser/FileBrowser-Swift.h is a dynamic file ?

@prscX
Copy link
Owner

prscX commented Apr 14, 2020

Based on my initial search. With RN62 onwards, one of the major feature we have is a deep integration with Flipper. As per Example Podfile it looks like if we use use_frameworks! in Podfile then we can't enable Flipper at the moment.

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
     add_flipper_pods!
    post_install do |installer|
      flipper_post_install(installer)
    end

We need to add use_frameworks! because FileBrowser is a Swift library and as per my understanding in order to use Swift library using Github path then we need to add use_frameworks! to Podfile.

I will be a detailed study on how we can enable both Flipper and this library but for the moment we need to do a trade between both the libraries.

If we enable above mentioned snippet and also comment it from AppDelegate then this library works fine.

Would be very helpful and you find and share some solution around it.

Thanks
</ Pranav >

@crutchcorn
Copy link

crutchcorn commented May 9, 2020

Is there any update on this? It's a blocker for running my app on iOS running React Native 0.61.5

@xy-space
Copy link

xy-space commented Jun 8, 2020

How to solve?

@flyskywhy
Copy link

@prscX , maybe ref to https://github.com/react-native-community/react-native-permissions#workaround-for-use_frameworks-issues ? I have not test it, just think maybe it's an solution.

@meiqi1992
Copy link

0.63.2 same issue

@meiqi1992
Copy link

@theLastCc had resolved?

@kurisu994
Copy link

same problem, anyone had resolved?

@rajatpillai
Copy link

Facing the same problem, Had anyone got any solution?

@MOwais
Copy link

MOwais commented Nov 19, 2020

Same

@giscafer
Copy link

same 0.63.3

@zailushang639
Copy link

我也遇到了 但是把FileBrowser源码单拖出来编译之后的framework拖进工程是可以成功编的,单独编译的会生成FileBrowser-Swift.h 这个headers文件 不知道为什么pod装进去的没有

@giscafer
Copy link

giscafer commented Jan 1, 2021

我也遇到了 但是把FileBrowser源码单拖出来编译之后的framework拖进工程是可以成功编的,单独编译的会生成FileBrowser-Swift.h 这个headers文件 不知道为什么pod装进去的没有

use react-native-document-picker instead of this

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