facebook / facebook/folly

'folly/portability/Config.h' file not found

Open
#2,160 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

My iOS Project Referenced Flipper-Folly and WeexSDK. I get the error `'folly/portability/Config.h' file not found` when compiling with the simulator or devices. If I remove the WeexSDK library, the error don't occurred. But WeexSDK don't use anything from Folly directly.

Develop Environment:Xcode + iOS

Cocoapods Dependency:Flipper-Folly、WeexSDK
```ruby
source 'https://github.com/CocoaPods/Specs.git'
platform:ios,'11.0'

target "NewProject" do

pod 'Flipper-Folly'
pod 'WeexSDK', '~> 0.30.0'

end
```

Error information: ~/NewProject/Pods/Flipper-Folly/folly/portability/Stdlib.h:21:10: 'folly/portability/Config.h' file not found
Error_info

Reproducer:https://github.com/zhengmiaokai/RNDemo-Reproducer/blob/main/RNDemo/NewProject.zip

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.