moredip / Frank

Automated acceptance tests for native iOS apps
www.testingwithfrank.com
Apache License 2.0
1.21k stars 237 forks source link

'frank inspect' doesn't connect to localhost:37265 #242

Open tedlin182 opened 11 years ago

tedlin182 commented 11 years ago

I was able to do 'frank build' and 'frank launch' fine, but running 'frank inspect' launched a new tab in my browser trying to connect to 'localhost:37265', but it says it's unable to connect.

dottostring commented 11 years ago

We are also having this issue. 'frank console' does not want to connect either. Everything seemed to be working until we upgraded to xcode 5. We have checked all of our linker flags and they are correct.

dlongmuir commented 11 years ago

I just had this start working by changing my build info from 'Use Release for command-line builds' to 'Use Debug for command-line builds'.

TBH I'm not exactly sure why it fixed things - my other project has 'Release' and is working fine with Xcode5, iOS7.

michaelhayman commented 10 years ago

Adding

-configuration Debug

to

frank build

before doing

frank inspect

worked for me.

Just FYI I took dlongmuir's command for building workspaces from the other thread, namely:

frank build --workspace Project.xcworkspace --scheme Project --configuration Debug ONLY_ACTIVE_ARCH=NO

And that got the app up and running with symbiote.