Comments (12)
Wiki is now up-to-date: https://github.com/djyde/WebShell/wiki/How-to-build-a-WebShell-based-application
Closing this issue.
from webshell.
Did u use the latest version?
from webshell.
Hi,
I have a question to you.
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?
Thanks in advance.
from webshell.
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
from webshell.
Xcode is Version 7.3.1 (7D1014).
About Swift I'm not sure. I downloaded the latest WebShell via https://github.com/djyde/WebShell > Clone or Download > Download.
First had quite a bunch of errors when building, but that was due to unknowingly using Xcode 6.4. Upgraded to XCode 7.3, re-downloaded webshell to start from scratch, and edited settings.swift. Building works fine (with no errors), but the app stalls right after starting.
Editing the settings.swift included some MediaKey settings. I initially set the to "false", but both "false" and "true" result in the same error.
System ist El Capitan 10.11.6 (15G31), German localization, on a MacBook Air mid 2011.
Is there anything else I can try?
from webshell.
Found the error: The error occurs as soon as I rename the project from "WebShell" to "my.webservice.com".
Looks like
easyjob.zebra.de[3900:121386] Unable to find class: WebShell.WebShellMediaKeysSupport,
does not get refactored to easyjob.zebra.de.WebShellMediaKeysSupport
from webshell.
Can you please ZIP your project, and then upload it to somewhere?.
So we can check for errors.
from webshell.
Please see: https://github.com/djyde/WebShell/blob/master/WebShell/Info.plist#L37 have you updated that line to your project/class name? easyjob.zebra.de
or the project name.
please try changing that setting.
from webshell.
I think you meant line 39 - at least that's what it was for me. Changing it to my projekt name "easyjob.zebra.de" didn't work, though. I suppose the dots might mess up XCode.
The ZIP prior to changing the line is available at http://downloads.beta.zebra.de/57cdc8277e916.zip (221.1 KB, valid till 2016-09-19).
I just followed https://github.com/djyde/WebShell/wiki/How-to-build-a-WebShell-based-application and think right at step 2 the refactoring fails in my case.
from webshell.
Ok, Thanks.
I've got 2 solutions for your case.
Second is maybe better (Because a appname like de.zebra.easyjob.app
is a little bit weird).
Please let me know if it has helped you!
"." and " " need to be replaced to _
from webshell.
Alright, that did the job - thanks alot.
Maybe the tutorial under https://github.com/djyde/WebShell/wiki/How-to-build-a-WebShell-based-application should be updated to include having to fix the info.plist after renaming the project in step 2?
from webshell.
Great that it helps!
I definitely will update the tutorial.
I'm still a bit busy with squashing some Swift 3.0 bugs..
I hope I've got enough time to fix it tomorrow 😊
Kind Regards/Vriendelijke Groet,
Wesley de Groot.
Disclaimer: http://www.wdgwv.com/disclaimer
from webshell.
Related Issues (20)
- Move settings to Settings.swift
- Inject JavaScript and CSS via directory.
- WebShell crashes sometimes when clicking right after starting WebShell.
- Changes in settings doesn't work
- Prepare for Swift 3 Support HOT 4
- compile errors HOT 8
- Swiping for back & Forward. HOT 1
- Fix flashScreen(..)
- Add comments for Functions
- Update for Swift 4
- Remove unnecessary tests
- Remove "xcuserdatad"
- Is it possible to memorize credentials? HOT 1
- rename internal javascript function
- LoadingBar and Launching text HOT 4
- [BUG] Unknown Window class (null) in Interface Builder file, creating generic Window instead
- gmail loads in basic HTML mode HOT 2
- SSH Problem with github repository HOT 2
- WebView is deprecated since OS X 10.14, replacement WKWebView is not used
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webshell.