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]: npx cap sync ios does not restart app on iOS 18 real device with Xcode 16 if app is open #7662

Open
1 of 3 tasks
ilyakamens opened this issue Sep 18, 2024 · 3 comments
Labels
needs reproduction needs reproducible example to illustrate the issue

Comments

@ilyakamens
Copy link

Capacitor Version

💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 6.1.2
  @capacitor/core: 6.1.2
  @capacitor/android: 6.1.2
  @capacitor/ios: 6.1.2

Installed Dependencies:

  @capacitor/cli: 6.1.2
  @capacitor/core: 6.1.2
  @capacitor/android: 6.1.2
  @capacitor/ios: 6.1.2

Other API Details

$ npm --version
10.8.1

$ node --version
v20.16.0

$ pod --version
1.15.2

iOS 18.0 (22A3354)
Xcode 16.0 (16A242d)

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

When running npx cap run ios --target <target> where <target> is a real device, if the app is already open (even backgrounded), the command runs successfully, but the app isn't restarted, and so it appears not to work. After force-closing the app, opening it will have the updated code.

Expected Behavior

npx cap run ios --target <target> should restart the app if it's running (which is how it used to work).

Project Reproduction

I don't have a reproduction, but I can make one if helpful.

Additional Information

No response

@markemer markemer added the needs reproduction needs reproducible example to illustrate the issue label Nov 6, 2024
Copy link

ionitron-bot bot commented Nov 6, 2024

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.
Please see the Contributing Guide for how to create a Sample App.
Thanks! Ionitron 💙

@ionitron-bot ionitron-bot bot removed the triage label Nov 6, 2024
@Ionitron Ionitron added needs reply needs reply from the user and removed needs reply needs reply from the user labels Nov 6, 2024
@markemer
Copy link
Member

markemer commented Nov 6, 2024

@ilyakamens Can you add a quick repo, please? Thanks!

@ilyakamens
Copy link
Author

Sure. I'll do this over the next few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction needs reproducible example to illustrate the issue
Projects
None yet
Development

No branches or pull requests

3 participants