ionic info
Ionic:
Ionic CLI : 6.20.8 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.5.3
@angular-devkit/build-angular : 13.3.10
@angular-devkit/schematics : 13.3.10
@angular/cli : 13.3.10
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 4.6.3
@capacitor/android : 4.6.3
@capacitor/core : 4.6.3
@capacitor/ios : 4.6.3
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run : 1.7.1
System:
NodeJS : v19.6.0 (~/.nvm/versions/node/v19.6.0/bin/node)
npm : 6.14.18
OS : macOS Monterey
Howdy,
My ios certs have expired, and I have tried following these instructions to generated the certs:
https://ionic.io/docs/appflow/package/credentials#certificate-signing-request
I successfully generated the certs. When I run npx cap run ios
, xcodes opens, and I can run my app on my iphone.
When I run ionic cap run ios -l --external --consolelogs
, this is the output:
[ng] Build at: 2023-02-14T01:46:15.309Z - Hash: 569f125ecf0bc0a0 - Time: 28248ms
[ng] âś” Compiled successfully.
[INFO] Development server running!
Local: [http://localhost:8100](http://localhost:8100/)
External: [http://192.168.1.77:8100](http://192.168.1.77:8100/)
Use Ctrl+C to quit this process
> capacitor run ios --no-sync --target 00008020-001964CA2679002E
[capacitor] âś” Running xcodebuild in 23.06s
[capacitor] âś– Deploying App.app to 00008020-001964CA2679002E - failed!
[capacitor] [error] Error: There was an error installing app
[capacitor] at /node_modules/native-run/dist/ios/lib/client/installation_proxy.js:72:24
[capacitor] at LockdownProtocolReader.callback (/node_modules/native-run/dist/ios/lib/protocol/protocol.js:93:21)
[capacitor] at LockdownProtocolReader.onData (/node_modules/native-run/dist/ios/lib/protocol/protocol.js:53:26)
[capacitor] at Socket.emit (events.js:315:20)
[capacitor] at addChunk (internal/streams/readable.js:309:12)
[capacitor] at readableAddChunk (internal/streams/readable.js:284:9)
[capacitor] at Socket.Readable.push (internal/streams/readable.js:223:10)
[capacitor] at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
[capacitor]
[ERROR] An error occurred while running subprocess capacitor.
capacitor run ios --no-sync --target 00008020-001964CA2679002E exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
I’ve uninstall and reinstall almost everything on my mac except for the macOS and using a time machine back up. I’ve even tried running the live reload process manually: https://capacitorjs.com/docs/guides/live-reload#using-with-framework-clis
I don’t believe it’s the wifi connection either. I’ve tried multiple routers. The error is coming directly out of the native-run npm package which is used by capacitor. I just don’t know what that error means. I see it create the live reload server, but when it tries to install on my phone, it produces the error. I’ve tried using the --verbose flag, but I didn’t see anything that was useful.
How can I overcome this? Any idea’s what I could try to do?