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

Error on Installing ZXingObjC (3.6.5) #584

Open
muhammad-syaifudin opened this issue Dec 19, 2023 · 4 comments
Open

Error on Installing ZXingObjC (3.6.5) #584

muhammad-syaifudin opened this issue Dec 19, 2023 · 4 comments

Comments

@muhammad-syaifudin
Copy link

Hi, I get this error when running pod install

Installing ZXingObjC (3.6.5)
Git download
Git download
$ /usr/local/bin/git clone https://github.com/zxingify/zxingify-objc.git /var/folders/x0/9txwgzh51cqfl3ljjb7qqjpc0000gn/T/d20231219-20194-to9css --template= --single-branch --depth 1 --branch 3.6.5
Cloning into '/var/folders/x0/9txwgzh51cqfl3ljjb7qqjpc0000gn/T/d20231219-20194-to9css'...
error: 6812 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

[!] Error installing ZXingObjC
[!] /usr/local/bin/git clone https://github.com/zxingify/zxingify-objc.git /var/folders/x0/9txwgzh51cqfl3ljjb7qqjpc0000gn/T/d20231219-20194-to9css --template= --single-branch --depth 1 --branch 3.6.5

Cloning into '/var/folders/x0/9txwgzh51cqfl3ljjb7qqjpc0000gn/T/d20231219-20194-to9css'...
error: 6812 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

this is my system configuration

System:
OS: macOS 13.6.3
CPU: (8) x64 Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz
Memory: 14.27 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.asdf/installs/nodejs/18.19.0/bin/node
Yarn: 1.22.21 - ~/.asdf/installs/nodejs/18.19.0/bin/yarn
npm: 10.2.3 - ~/.asdf/plugins/nodejs/shims/npm
Watchman: 2023.12.04.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.14.3 - /Users/kucing/.gem/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, watchOS 10.2
Android SDK:
API Levels: 33, 34
Build Tools: 30.0.3, 33.0.0, 33.0.1, 33.0.2, 34.0.0
Android NDK: 26.1.10909125

@favourwright
Copy link

having same issue as at today 😭

@favourwright
Copy link

favourwright commented Apr 6, 2024

@reednj

Installing DoubleConversion (1.1.6)
Installing EXConstants (15.4.5)
Installing EXFont (11.10.3)
Installing EXJSONUtils (0.12.3)
Installing EXManifests (0.13.2)
Installing EXSplashScreen (0.26.4)
Installing EXUpdatesInterface (0.15.3)
Installing Expo (50.0.14)
Installing ExpoCamera (14.1.1)
Installing ExpoFileSystem (16.0.8)
Installing ExpoHead (3.4.8)
Installing ExpoKeepAwake (12.8.2)
Installing ExpoModulesCore (1.11.12)
Installing FBLazyVector (0.73.4)
Installing FBReactNativeSpec (0.73.4)
Installing RCT-Folly (2022.05.16.00)
Installing RCTRequired (0.73.4)
Installing RCTTypeSafety (0.73.4)
Installing RNCAsyncStorage (1.21.0)
Installing RNDateTimePicker (7.6.1)
Installing RNGestureHandler (2.14.1)
Installing RNSVG (14.1.0)
Installing RNScreens (3.29.0)
Installing React (0.73.4)
Installing React-Codegen (0.73.4)
Installing React-Core (0.73.4)
Installing React-CoreModules (0.73.4)
Installing React-Fabric (0.73.4)
Installing React-FabricImage (0.73.4)
Installing React-ImageManager (0.73.4)
Installing React-Mapbuffer (0.73.4)
Installing React-NativeModulesApple (0.73.4)
Installing React-RCTActionSheet (0.73.4)
Installing React-RCTAnimation (0.73.4)
Installing React-RCTAppDelegate (0.73.4)
Installing React-RCTBlob (0.73.4)
Installing React-RCTFabric (0.73.4)
Installing React-RCTImage (0.73.4)
Installing React-RCTLinking (0.73.4)
Installing React-RCTNetwork (0.73.4)
Installing React-RCTSettings (0.73.4)
Installing React-RCTText (0.73.4)
Installing React-RCTVibration (0.73.4)
Installing React-callinvoker (0.73.4)
Installing React-cxxreact (0.73.4)
Installing React-debug (0.73.4)
Installing React-graphics (0.73.4)
Installing React-hermes (0.73.4)
Installing React-jserrorhandler (0.73.4)
Installing React-jsi (0.73.4)
Installing React-jsiexecutor (0.73.4)
Installing React-jsinspector (0.73.4)
Installing React-logger (0.73.4)
Installing React-nativeconfig (0.73.4)
Installing React-perflogger (0.73.4)
Installing React-rendererdebug (0.73.4)
Installing React-rncore (0.73.4)
Installing React-runtimeexecutor (0.73.4)
Installing React-runtimescheduler (0.73.4)
Installing React-utils (0.73.4)
Installing ReactCommon (0.73.4)
Installing SocketRocket (0.6.1)
Installing Yoga (1.14.0)
Installing ZXingObjC (3.6.9)

[!] Error installing ZXingObjC
[!] /usr/bin/git clone https://github.com/zxingify/zxingify-objc.git /var/folders/5l/6d33ghzs48q0hd5yff1s_z440000gn/T/d20240406-57762-u6ykdf --template= --single-branch --depth 1 --branch 3.6.9

Cloning into '/var/folders/5l/6d33ghzs48q0hd5yff1s_z440000gn/T/d20240406-57762-u6ykdf'...
error: RPC failed; curl 56 Recv failure: Connection reset by peer
error: 6649 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: Error installing ZXingObjC
[!] /usr/bin/git clone https://github.com/zxingify/zxingify-objc.git /var/folders/5l/6d33ghzs48q0hd5yff1s_z440000gn/T/d20240406-57762-u6ykdf --template= --single-branch --depth 1 --branch 3.6.9

Cloning into '/var/folders/5l/6d33ghzs48q0hd5yff1s_z440000gn/T/d20240406-57762-u6ykdf'...
error: RPC failed; curl 56 Recv failure: Connection reset by peer
error: 6649 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output


pod install --repo-update --ansi exited with non-zero code: 1

@favourwright
Copy link

what my package.json looks like

{
  "name": "<app name>",
  "version": "1.0.0",
  "main": "expo-router/entry",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@expo-google-fonts/pathway-gothic-one": "^0.2.3",
    "@react-native-async-storage/async-storage": "1.21.0",
    "@react-native-community/datetimepicker": "7.6.1",
    "@react-native-segmented-control/segmented-control": "2.4.1",
    "@tanstack/react-query": "^5.25.0",
    "axios": "^1.6.8",
    "expo": "^50.0.14",
    "expo-camera": "~14.1.1",
    "expo-constants": "~15.4.5",
    "expo-dev-client": "^3.3.11",
    "expo-font": "~11.10.3",
    "expo-linking": "~6.2.2",
    "expo-router": "~3.4.8",
    "expo-status-bar": "~1.11.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.73.4",
    "react-native-dashed-line": "^1.1.0",
    "react-native-gesture-handler": "~2.14.0",
    "react-native-get-random-values": "^1.11.0",
    "react-native-modal-selector": "^2.1.2",
    "react-native-phone-number-input": "^2.1.0",
    "react-native-radio-buttons-group": "^3.1.0",
    "react-native-safe-area-context": "4.8.2",
    "react-native-screens": "~3.29.0",
    "react-native-svg": "14.1.0",
    "react-native-web": "~0.19.6"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@types/react": "~18.2.45",
    "typescript": "^5.1.3"
  },
  "private": true
}

@favourwright
Copy link

favourwright commented Apr 7, 2024

okay, so I stumbled upon this troubleshooting-missing-binary while attempting to use just expo-go, then running into yet another issue missing-binary...

the part with:

rm -rf ios/Pods
rm ios/Podfile.lock
rm -rf ~/Library/Developer/Xcode/DerivedData

was a suggested fix, so I though to retry npx pod-install, then whala! ZXingObjC installed

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

2 participants