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

[Bug]: On add new IOS app folder getting this error #1036

Open
2 of 3 tasks
aoneahsan opened this issue Dec 16, 2024 · 0 comments
Open
2 of 3 tasks

[Bug]: On add new IOS app folder getting this error #1036

aoneahsan opened this issue Dec 16, 2024 · 0 comments

Comments

@aoneahsan
Copy link

What happened?

getting error while trying to create IOS folder

capacitor APIs i'm using

"@capacitor-community/apple-sign-in": "^6.0.0",
"@capacitor/android": "^6.2.0",
"@capacitor/app": "6.0.2",
"@capacitor/clipboard": "^6.0.2",
"@capacitor/core": "6.2.0",
"@capacitor/device": "^6.0.2",
"@capacitor/dialog": "^6.0.2",
"@capacitor/geolocation": "^6.1.0",
"@capacitor/haptics": "6.0.2",
"@capacitor/ios": "^6.2.0",
"@capacitor/keyboard": "6.0.3",
"@capacitor/preferences": "^6.0.3",
"@capacitor/push-notifications": "^6.0.3",
"@capacitor/status-bar": "6.0.2",
"@capacitor/toast": "^6.0.3",
"@codetrix-studio/capacitor-google-auth": "^3.3.6",
"onesignal-cordova-plugin": "^5.2.8",

Steps to reproduce?

- create a new react app (i usd ionic CLI to create one)
- update all the packages to most latest version
- install the needed capacitor APIs (yes, without this "OneSignal-Cordova-SDK" package, rest works just fine, i have tested)
- run "cap add ios" command, i have created a aliases in my system (nmr cap:ios:add)
- you will get the error

What did you expect to happen?

it should work without error, and IOS folder should get added.

OneSignal Cordova SDK version

^5.2.8

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

MacBookPro:01-react19-test ahsan$ nmr cap:ios:add

> [email protected] cap:ios:add
> cap add ios

✔ Adding native Xcode project in ios in 26.71ms
✔ add in 27.44ms
✔ Copying web assets from dist to ios/App/App/public in 16.78ms
✔ Creating capacitor.config.json in ios/App/App in 1.33ms
⠙ copy ios [info] Found 1 Cordova plugin for ios:
       [email protected]
✔ copy ios in 153.54ms
✔ Updating iOS plugins in 7.36ms
[info] Found 1 Cordova plugin for ios:
       [email protected]
✖ Updating iOS native dependencies with pod install - failed!
✖ update ios - failed!
[error] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin24/rbconfig.rb:21:
        warning: Insecure world writable dir /Volumes/Personal/01-code-work/react-projects in PATH, mode 040777
        Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
        Analyzing dependencies
        Downloading dependencies
        Installing AppAuth (1.7.6)
        
        [!] Error installing AppAuth
        [!] /usr/bin/git clone https://github.com/openid/AppAuth-iOS.git
        /var/folders/5g/qksv6fjs0j15f2m_crqd4x9h0000gn/T/d20241216-94405-dcuef4 --template= --single-branch --depth 1
        --branch 1.7.6
        
        Cloning into '/var/folders/5g/qksv6fjs0j15f2m_crqd4x9h0000gn/T/d20241216-94405-dcuef4'...
        error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
        error: 14897 bytes of body are still expected
        fetch-pack: unexpected disconnect while reading sideband packet
        fatal: early EOF
        fatal: fetch-pack: invalid index-pack output
        
MacBookPro:01-react19-test ahsan$

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

1 participant