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: Live reload fails on Mac #7407

Open
3 tasks done
nparcher24 opened this issue Apr 12, 2024 · 1 comment
Open
3 tasks done

bug: Live reload fails on Mac #7407

nparcher24 opened this issue Apr 12, 2024 · 1 comment
Labels
needs reply needs reply from the user

Comments

@nparcher24
Copy link

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

Apple M1 Max with MacOS version: 14.4.1
Ionic and Capacitor Version 7.2.0
Angular Version 17.3.4 (although I've tried with Angular 15 as well)
CocoaPods Version 1.15.2
Xcode Version 15.3

When running an ionic app for iOS using the live reload flag, the xcodebuild process fails due to a CodeSign problem with the CapacitorCordova CocoaPod. The error given:

The following build commands failed: CodeSign /Users/path/test-live-reload/ios/DerivedData/70817A2D-5514-4CDE-BE82-BA3B3696D80F/Build/Products/Debug-iphonesimulator/CapacitorCordova/Cordova.framework (in target 'CapacitorCordova' from project 'Pods') (1 failure)

Expected Behavior

Live reload should start. The Xcodebuild process should finish.

Steps to Reproduce

  1. Create any of the boilerplate ionic applications using ionic start
  2. Get the app up and running with npm I
  3. Add an iOS application using ionic cap add ios
  4. Run the iOS app straight from Xcode first to ensure it works
  5. Attempt to run using live reload in either a simulator or an actual device (both fail) using ionic capacitor run ios -l --external

Xcodebuild.... fails.

Code Reproduction URL

https://github.com/nparcher24/test-live-reload

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/Users/nicholasparrish/.config/yarn/global/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.8.4
@angular-devkit/build-angular : 17.3.4
@angular-devkit/schematics : 17.3.4
@angular/cli : 17.3.4
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 6.0.0-rc.2
@capacitor/android : not installed
@capacitor/core : 6.0.0-rc.2
@capacitor/ios : 6.0.0-rc.2

Utility:

cordova-res : 0.15.4
native-run : 2.0.1

System:

NodeJS : v20.10.0 (/Users/nicholasparrish/.nvm/versions/node/v20.10.0/bin/node)
npm : 10.5.2
OS : macOS

Additional Information

It seems this issue has been raised and it was closed, but I'm unsure why. There are numerous people on the ionic forums having this same problem here

@ionitron-bot ionitron-bot bot added the triage label Apr 12, 2024
@liamdebeasi liamdebeasi transferred this issue from ionic-team/ionic-framework Apr 16, 2024
@liamdebeasi liamdebeasi removed their assignment Apr 16, 2024
@jcesarmobile
Copy link
Member

I can't reproduce on my mac.
How did you install CocoaPods?

@jcesarmobile jcesarmobile added the needs reply needs reply from the user label May 10, 2024
@ionitron-bot ionitron-bot bot removed the triage label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reply needs reply from the user
Projects
None yet
Development

No branches or pull requests

4 participants