djyde/WebShell

compile errors

Opened this issue · 8 comments

NSTimer.scheduledTimerWithTimeInterval(NSTimeInterval(timeAsInt!), target: self, selector: #selector(ViewController.flashScreenNow), userInfo: nil, repeats: false)
}

Expected ',' separator
Expected expression in list of expressions

I get like 61 errors like those when executing Product > Archive

0xWDG commented

Are you using Xcode beta (version 8.0).
Then Yes, I'll now it but we didn't optimize all the code for Swift 3.
Since there were between beta 1, and beta 6 a lot of major changes in the swift 3 compiler.

Please report the Xcode version and the build number.
Second are you using Swift 2.x or Swift 3?

0xWDG commented

If you are using Xcode-Beta 8.0.

Please remove the WebShell directory.
then open the terminal and run this command.
git clone https://github.com/djyde/WebShell.git -b Swift30
This will clone the (experimental) Swift 3.0 version of WebShell

If this works for you please report it to us.
Please refer to #61 for all the Swift 3 issues

Well I installed Xcode 7.3.1 and it compiled ok so I will not investigate further.

I have an other question though. I set the app home URL to "https://console.aws.amazon.com/dynamodb/" and if I try to log in AWS it opens Safari.

0xWDG commented

Hi,

Are you sure that in the configuration the following is set as i show here

    // Open target=_blank in a new screen? (Default: false)
    "openInNewScreen": false,

p.s. i'm getting a weird error if i want to enable cookies (swift 3.0 version, i run Sierra so i can not use 7.3.1. anymore)

And since, debugging does not work yet on Swift 3, i cannot check that.
Sorry about that.

0xWDG commented
  • if there is a problem, with using it please open an issue, I close this one, because the "Swift 3" issue is #61 and the problem you describing is a new problem.

Thanks for using WebShell!

yes it is set to false

0xWDG commented

Please make a bug report using this manual. https://github.com/djyde/WebShell/blob/master/contributing.md


Contributing / Making issues

If you experience problems with a specific web(app)

(visible by running via Xcode or by running with parameter -debug true)

Please use the Debug -> Report an issue on this page button, so we know the full url.

Debug - Report an issue on this page

When pressed the report your default webbrowser will open and redirect you to the github issues page, with some pre-filled fields, then you can enter what exactly the problem is.

0xWDG commented
  • Closing topic.