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

iOS Simulator and Flash Debugger #3615

Open
httpwebmedia opened this issue Dec 19, 2024 · 3 comments
Open

iOS Simulator and Flash Debugger #3615

httpwebmedia opened this issue Dec 19, 2024 · 3 comments
Labels

Comments

@httpwebmedia
Copy link

Problem Description

When I launch the Xcode simulator and debug using Animate through the iOS simulator, the app installs on the simulated device but prompts me for the Flash Debugger IP address. I tried using 127.0.0.1, but it doesn't work.

Could you let me know if it's possible to retrieve debugging output from Flash?

OS: Mac
IDE: Animate 2024
Adobe Air: 51.1.2.1

Anybody got that issue solved?

@ajwfrost
Copy link
Collaborator

I think that is meant to work, or maybe localhost - but you would also need to enable that in your application's transport security settings. E.g. (just for development!!) you could add the below to your InfoAdditions section of the app descriptor:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
        <true/>
</dict> 

thanks

@httpwebmedia
Copy link
Author

I already have that in my settings:
NSAppTransportSecurity

NSAllowsArbitraryLoads

NSAllowsArbitraryLoadsForMedia

NSAllowsArbitraryLoadsInWebContent

I already tried localhost and 127.0.0.1 but it doesn't work.
Did you try on your end?

@ajwfrost
Copy link
Collaborator

ajwfrost commented Jan 8, 2025

Ah - putting two and two together, I just spotted the notification from the above Firebase ticket.. I'll leave that one to the people who know about Firebase, but in terms of the original question here:

When I launch the Xcode simulator and debug using Animate through the iOS simulator, the app installs on the simulated device but prompts me for the Flash Debugger IP address. I tried using 127.0.0.1, but it doesn't work.

This happens the same for me, but Animate has not gone into 'debug' mode after I've clicked on the Debug command. So once the simulator has launched and the application starts to prompt for your debugger IP address, the steps should be:

  1. In Animate, open the Debug menu and click on "Begin Remote Debug Session"
  2. Then in the Simulator, enter "localhost" (or ("127.0.0.1") in the "Flash Debugger" dialog, and click OK

Not sure why Animate doesn't automatically start listening for the FDB connection once the simulator launch is successful, it looked like ADT provided a success code from the launch, from what I could see..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants