Comments (4)
π @Larens94
Thanks for opening your issue here! If you find this package useful hit the starπ!
from react-native-compressor.
@Larens94 we are already setting use_modular_headers!
in our example directory code
can we see it on zoom session?
from react-native-compressor.
@Larens94 i confirm that modular_headers
is also working on my side, pod 'react-native-compressor', :path => '../node_modules/react-native-compressor', :modular_headers => true
from react-native-compressor.
Facing the same issue here.
And people have faced this issue many times in the past it seems, without a proper solution for themselves.
#187
#103
#46
(The example project works because it is minimal and uses use_modular_headers! globally , but that does not work for realistic projects that depend on other libs that don't like use_modular_headers)
The following does not work in my case
pod 'react-native-compressor', :path => '../node_modules/react-native-compressor', :modular_headers => true
I still get
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod
react-native-compressor
depends uponReact-Fabric
,React-graphics
,React-utils
, andReact->debug
, which do not define modules. To opt into those targets generating module maps (which is necessary to import >them from Swift when building as static libraries), you may setuse_modular_headers!
globally in your Podfile, or >specify:modular_headers => true
for particular dependencies.
If I use use_modular_headers!
I get arbitrary failures at other parts of the build process, like
The following build commands failed:
CompileC /Users/arindamray/Library/Developer/Xcode/DerivedData/DanceAway->hagtrhcdkueyucdwmsznhlrslqjs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React->utils.build/Objects-normal/arm64/ManagedObjectWrapper.o >/Users/arindamray/IdeaProjects/temp/DanceAppCopy/node_modules/react->native/ReactCommon/react/utils/ManagedObjectWrapper.mm normal arm64 objective-c++ >com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-utils' from project 'Pods')
PhaseScriptExecution [CP]\ Copy\ XCFrameworks >/Users/arindamray/Library/Developer/Xcode/DerivedData/DanceAway->hagtrhcdkueyucdwmsznhlrslqjs/Build/Intermediates.noindex/Pods.build/Debug->iphonesimulator/FBSDKCoreKit.build/Script-46EB2E00024390.sh (in target 'FBSDKCoreKit' from project 'Pods')
(2 failures)
from react-native-compressor.
Related Issues (20)
- Video compression breaks video stream compatibility HOT 9
- Cannot get the blob for thumbnail url HOT 2
- Question: can this lib convert files ? HOT 3
- No ability to select timestamp of video for thumbnail HOT 1
- εηΌ©εζε°εΊζ₯ηζ¬ε°θ·―εΎεεθ·―εΎηΈε HOT 4
- Build error at ImageCompressor.swift file - Cannot find 'RCTResizeMode' in scope HOT 2
- IOS Build Error: cannot find React/RCTResizeMode.h' in scope HOT 2
- [Android] backgroundUpload crashes when no uploadType provided HOT 1
- [Android] Compilation failed for task compileDebugKotlin HOT 2
- Question: Is it possible to mirror a video on android using mp4parser in this module?
- Expo go link error HOT 2
- when i upload file using backgroundUpload, the body inside the response is empty [ios] HOT 3
- Android build error HOT 1
- Question: How to upload with Multipart? HOT 3
- Cannot Run in Expo Go HOT 5
- Cancel Upload Throws Error: [Error: Upload Failed]
- Compressed video on Android is not playable on macOS or iOS HOT 10
- RNCompressorSpec.h file not found HOT 1
- Image rotating on iOS (Orientation issue) HOT 2
- on a pixel 7, there is some distortion of an image after compression HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-compressor.