Closed Producdevity closed 8 months ago
I resolved the versioning issue, but then this error appeared when I tried to start the ios app:
warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'DocumentScanner' from project 'DocumentScanner')
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'DocumentScanner' from project 'DocumentScanner')
2023-07-08 02:23:39.356 xcodebuild[12940:90802] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD FAILED **
The following build commands failed:
CompileC /Users/yassine/Library/Developer/Xcode/DerivedData/DocumentScanner-etfzltxjfudqgictesjagezynlwm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTNetwork.build/Objects-normal/x86_64/RCTNetworking.o /Users/yassine/Coding/testing/tony-xlh-react-native-document-scanner/node_modules/react-native/Libraries/Network/RCTNetworking.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-RCTNetwork' from project 'Pods')
(1 failure)
The error is not related to the scanner plugin. Try to run it on a real device.
Hello maintainers,
I recently tried to start your example project following the instructions given in the
README
, but I ran into a problem with pod dependencies.Here are the steps I followed:
npm install
at the project root.ios
directory withcd ios
.pod install
to fetch the iOS dependencies. Unfortunately, at the third step, I encountered an error regarding incompatible versions for theDynamsoftDocumentNormalizer
pod. Here is the error message I received:The error seems to suggest that
DynamsoftDocumentNormalizer
version1.0.10
is required, but thevision-camera-dynamsoft-document-normalizer
pod is pulling in version1.0.20
.I attempted to resolve the issue by running
pod repo update
andpod update DynamsoftDocumentNormalizer
as suggested, but to no avail.I'd appreciate any guidance or potential fixes for this issue. Thank you in advance for your help!