Progress Report – Saturday, November 7, 2015
Today is Xcode day. Very annoying! But since Hype doesn't export to app directly, I felt that the "Publishing" chapter should have a section about it. I was dreading this chapter for two reasons... Swift and WKWebView.
@nick already has a great Hype / WebView tutorial online. I was tempted to just write the following...
The Internet is loaded with lots of tutorials on this subject, so it was tough to create a unique perspective on the matter. I think I do have unique way to present the information.
A big problem that I had today was working from an older project. At first I was impressed. Xcode updated the Swift code to the latest syntax... how nice. Being able to run apps on my iOS devices, without having to fumble with testing provisions, is also nice! Yet, lots of errors were being tripped...
thread 1: exc_bad_instruction (code=exc_i386_invop, subcode=0x0)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_WKWebView", referenced from:
linker command failed with exit code 1 (use -v to see invocation)
Yeah, really intuitive error messages there. 😜
I was especially annoyed at how Xcode makes it difficult to cut-and-paste the error. I solved the problem by starting from scratch. Same code, new project, no problems... well... not the same problems. HA HA!
All this frustration reminded me of how long I've been creating webview apps. My first app was an Android webview app. That was about seven years ago, so I've been doing this for a while.
It's surprisingly tedious to do this stuff, so hopefully the book makes it easier for people. I'm ready to get going on app development too. I have lots of ideas for new apps.
I'm getting anxious, as this is pretty much it for the core of the book. I should be done this weekend. If Hype 3.5 isn't released soon, then I'll start working on the bonus sections. Although, I did get something of a warning email from Apple...
To prepare for the winter season, we’re adjusting our deadlines for book deliveries. If you plan on releasing new books on iBooks in December 2015 and January 2016, check the following delivery deadlines:
Release Dates Book Delivery Deadline
December 18 to 31, 2015 Monday, December 14, 2015 (PST)
January 1 to 8, 2016 Friday, December 18, 2015 (PST)
I'm ready to launch the book this month, I could even be ready by next weekend, but I have to wait until Tumult upgrades Hype.