Latest / CyberSecurity Summary / iOS 11 Swift Programming Cookbook: Solutions and Examples for iOS Apps
Transcript
- 0:00Speaker 1: You know, when you think about modern manufacturing, you probably
- 0:03Speaker 1: picture like massive robotic arms in a car factory.
- 0:07Speaker 2: Oh, absolutely, sparks.
- 0:08Speaker 1: Flying everywhere, parts being welded together twenty four to seven.
- 0:13Speaker 1: Everything is just automated and precise and running without a
- 0:17Speaker 1: single human on the floor.
- 0:19Speaker 2: Right. It is entirely orchestrated. You have an assembly line
- 0:22Speaker 2: where you know, every single movement is calculated and the
- 0:25Speaker 2: margin for human error is essentially engineered completely out of
- 0:29Speaker 2: the process exactly.
- 0:31Speaker 1: But when you think about making a smartphone app, the
- 0:34Speaker 1: mental image is it's completely different. Hey, if you picture
- 0:38Speaker 1: this artisanal coder hunched over laptop, typing away in a
- 0:42Speaker 1: dark room, hitting run and just like praying the whole
- 0:45Speaker 1: thing doesn't crash when it goes live.
- 0:46Speaker 2: Yeah, holding their breath, right, And for a.
- 0:48Speaker 1: Long time, that is literally how software was built. It
- 0:51Speaker 1: was a handcrafted, highly manual process. And today we are
- 0:56Speaker 1: looking at the exact moment Apple decided that well, that
- 0:59Speaker 1: artistics approach was a recipe for disaster. We are jumping
- 1:03Speaker 1: into a really fascinating deep dive for you today on
- 1:06Speaker 1: the iOS eleven Swift Programming cookbook by Van dad Nave.
- 1:11Speaker 2: And Deport published by O'Reilly media.
- 1:14Speaker 1: Right, and our mission today is to uncover the invisible
- 1:17Speaker 1: machinery that gets an app from a developer's brain onto
- 1:20Speaker 1: your phone.
- 1:20Speaker 2: And I think what makes this particular material so compelling
- 1:23Speaker 2: is that it really captures a massive paradigm shift in
- 1:26Speaker 2: how apps are made.
- 1:27Speaker 1: It tastes you behind the curtain exactly.
- 1:28Speaker 2: It doesn't just show you how to write lines of code.
- 1:30Speaker 2: It shows you the automated factory machinery that takes that
- 1:33Speaker 2: code and safely delivers it onto your actual phone.
- 1:36Speaker 1: And just to set the stage for you, the book
- 1:37Speaker 1: spends a lot of time highlighting the transition to Swift
- 1:40Speaker 1: four and Xcode nine. Now, as someone who doesn't write
- 1:44Speaker 1: iOS code for a living, my eyes usually just glaze
- 1:47Speaker 1: over at software version numbers.
- 1:49Speaker 2: That's fair.
- 1:50Speaker 1: Why was this specific update such a massive leap forward
- 1:52Speaker 1: for developers?
- 1:54Speaker 2: Well, it was a huge leap because it introduced tools
- 1:57Speaker 2: that fundamentally reduced human suffering for programmers.
- 2:01Speaker 1: Human suffering, wow.
- 2:02Speaker 2: I mean take Swift four for example, it introduced something
- 2:06Speaker 2: called the codable PROTOCOLP. Before this, if your app needed
- 2:10Speaker 2: to talk to the internet, say you know, downloading a
- 2:13Speaker 2: weather forecast, that data usually arrived in a format called.
- 2:16Speaker 1: JSON, right, I've heard of Jason.
- 2:18Speaker 2: Yeah. So parsing that data into something the app could
- 2:21Speaker 2: actually use was an incredibly tedious manual chore. Developers had
- 2:25Speaker 2: to write lines and lines of fragile code just to
- 2:28Speaker 2: extract a single temperature reading.
- 2:30Speaker 1: So it was just busy work.
- 2:31Speaker 2: Total busy work. Swift For's codable automated that translation almost entirely.
- 2:37Speaker 2: It was It was like going from translating a novel
- 2:40Speaker 2: word by word with a heavy dictionary to instantly having
- 2:43Speaker 2: a fluent, automated translation.
- 2:45Speaker 1: That makes total sense now. The book also mentioned something
- 2:48Speaker 1: about typed array extensions, which honestly sounds aggressively technical.
- 2:52Speaker 2: It does sound like a mouthful What.
- 2:54Speaker 1: Does that actually mean? In practice?
- 2:55Speaker 2: Think of it as adding strict safety rails to your logic.
- 3:00Speaker 2: You have a list an array of items before, you
- 3:03Speaker 2: might write a function to calculate the total sum of
- 3:06Speaker 2: that list.
- 3:06Speaker 1: Okay, basic math.
- 3:07Speaker 2: Right, But a sloppy developer might accidentally feed a list
- 3:11Speaker 2: of tech strings like user names into that math function.
- 3:14Speaker 1: Man that would cause the app.
- 3:15Speaker 2: To crash exactly. Type deray extensions allowed developers to explicitly say, hey,
- 3:22Speaker 2: this su function will only ever operate on a list of.
- 3:24Speaker 1: Numbers, so you literally can't mess it up.
- 3:27Speaker 2: Right, If you try to feed it words, the system
- 3:29Speaker 2: won't even let you finish building the app. It forces
- 3:31Speaker 2: the developer to be logical.
- 3:32Speaker 1: So the programming language itself is just getting.
- 3:35Speaker 2: Smarter, smarter, and a lot safer.
- 3:37Speaker 1: But the real centerpiece of this deep dive is what
- 3:40Speaker 1: Apple did with xcode nine right their main software development program. Yes, absolutely,
- 3:45Speaker 1: the book emphasizes that Apple moved something called xcode server
- 3:49Speaker 1: directly into the IDESO, the coding environment itself. That was
- 3:53Speaker 1: huge because you used to have to buy a completely
- 3:56Speaker 1: separate macOS serve application.
- 3:57Speaker 2: To do this right you did, it was an extra hurdle.
- 4:00Speaker 1: So by baking it right in, what did Apple actually
- 4:03Speaker 1: unlock for the everyday developer.
- 4:05Speaker 2: Well, this was the exact moment Apple really democratized access
- 4:09Speaker 2: to continuous integration and continuous delivery or CICD yes commonly
- 4:14Speaker 2: known as CICD.
- 4:16Speaker 1: Okay, let to unpack this because CICD sounds like, you know,
- 4:19Speaker 1: heavy corporate jorgan it does. But going back to our
- 4:21Speaker 1: manufacturing metaphor, I read this section of the book as
- 4:25Speaker 1: Apple basically giving every developer their own robotic factory floor manager,
- 4:31Speaker 1: or as the industry sometimes calls it, a robot butler
- 4:35Speaker 1: for your code, a.
- 4:36Speaker 2: Highly critical, tireless robot butler. Yeah. Continuous integration fundamentally changes
- 4:41Speaker 2: the daily routine of a programmer. That's a well, you
- 4:44Speaker 2: write your code, you commit your changes, and you go
- 4:46Speaker 2: to sleep. And while you are sleeping, this automated system
- 4:49Speaker 2: takes your code, builds the entire app from scratch, runs
- 4:52Speaker 2: hundreds of automated tests, and leaves a detailed report of
- 4:55Speaker 2: every single mistake.
- 4:56Speaker 1: You made, just waiting for you in the morning, exactly.
- 4:59Speaker 2: And in the Apple Eco system, these are literally called
- 5:01Speaker 2: xcode bots.
- 5:02Speaker 1: Excode bots, And what really struck me is how these
- 5:05Speaker 1: bots physically operate.
- 5:06Speaker 2: Yeah, it's pretty clever.
- 5:07Speaker 1: The book explains. You can just designate a spare Mac
- 5:11Speaker 1: on your local network, maybe just an old Mac Mini
- 5:14Speaker 1: sitting in the corner of a dusty office.
- 5:15Speaker 2: Yep, any Mac will do.
- 5:17Speaker 1: And you connect your laptop to it through excodes, accounts, preferences,
- 5:22Speaker 1: and suddenly that spare computer is You're dedicated two VOT
- 5:26Speaker 1: four to seven testing facility. Right.
- 5:28Speaker 2: It acts as an isolated, pristine environment and one of
- 5:31Speaker 2: the most important things you can configure these bots to
- 5:34Speaker 2: do is clear out cashed build artifacts.
- 5:37Speaker 1: I wanted to ask you about that. Oh yeah, the
- 5:39Speaker 1: author puts a ton of emphasis on cleaning out these caches,
- 5:43Speaker 1: like scheduling it once a day. Why is a clean
- 5:46Speaker 1: build so critical? What actually happens if you don't do
- 5:48Speaker 1: that well?
- 5:49Speaker 2: Software development is incredibly messy. When a developer hits the
- 5:51Speaker 2: build butter on their laptop one hundred times a day,
- 5:54Speaker 2: the computer naturally takes shortcuts to save time.
- 5:57Speaker 1: Like saving temporary files exactly.
- 5:59Speaker 2: It hash's things, It remembers older versions of images or
- 6:03Speaker 2: recycled bits of code. The problem is sometimes those old,
- 6:06Speaker 2: obsolete resource files get like permanently stuck in the new
- 6:10Speaker 2: version of your app.
- 6:11Speaker 1: Oh weird.
- 6:11Speaker 2: Yeah, you end up with these bizarre, ghostly bugs that
- 6:15Speaker 2: only exist in this weird cached twilight zone on that
- 6:19Speaker 2: one specific developer's machine.
- 6:21Speaker 1: So the code looks perfect, but the app crashes anyway.
- 6:24Speaker 2: Precisely, by forcing the xcode bot to wipe everything and
- 6:28Speaker 2: do a totally clean sweep once a day, you guarantee
- 6:31Speaker 2: that your app can actually be built from a pure,
- 6:34Speaker 2: uncorrupted state.
- 6:35Speaker 1: It keeps you completely honest. It does, and it doesn't
- 6:38Speaker 1: just stop at running tests. The book details something called
- 6:41Speaker 1: the analyze action, where the bot actually critiques the logic
- 6:45Speaker 1: of what you wrote.
- 6:46Speaker 2: That is where the automation really shines. The cookbook provides
- 6:49Speaker 2: a wonderfully specific example here right. Imagine a programmer writes
- 6:53Speaker 2: a function called return some integer that simply calculates and
- 6:57Speaker 2: returns the number ten.
- 6:58Speaker 1: Okay, simple enough.
- 6:59Speaker 2: Later the app, they write code that triggers that function,
- 7:02Speaker 2: but they forget to actually use the result They call
- 7:05Speaker 2: the function and just ignore the number ten it.
- 7:07Speaker 1: Produces, which feels a lot like I don't know, digital littering.
- 7:11Speaker 2: It is.
- 7:11Speaker 1: You're asking the computer to do math and then just
- 7:13Speaker 1: throwing the answer in the.
- 7:14Speaker 2: Trash precisely, and a human reviewer looking at thousands of
- 7:18Speaker 2: lines of code will skim right past that.
- 7:21Speaker 1: It looks harmless, right because it doesn't crash the app.
- 7:24Speaker 2: Exactly, But the excode bot will flag it immediately with
- 7:27Speaker 2: an unused function result warning. It catches those logical dead ends.
- 7:31Speaker 2: It finds the sloppy, inefficient leftovers that bloat an app.
- 7:35Speaker 1: Wow. And there's another feature from the xcode nine era
- 7:39Speaker 1: mentioned in the source that completely blew my mind. Wireless debugging.
- 7:43Speaker 1: Oh yes, that was a game changer.
- 7:46Speaker 2: The book outlines a process where you physically plug an
- 7:49Speaker 2: iPhone into that server machine once enable network debugging, and
- 7:53Speaker 2: then you just unplug it yep, And from then on
- 7:56Speaker 2: the server can beam the app onto that physical phone
- 7:58Speaker 2: over the Wi Fi and run automated tests on the
- 8:01Speaker 2: hardware itself. You could just have a whole rack of
- 8:03Speaker 2: different iPhones sitting on a desk being tested by the
- 8:05Speaker 2: bot wirelessly.
- 8:06Speaker 1: If we connect this to the bigger picture for a moment,
- 8:08Speaker 1: think about the broader implications of that. Okay, this is
- 8:11Speaker 1: all about systematically removing human exhaustion from the equation.
- 8:15Speaker 2: If you force a human QA tester to manually tap
- 8:19Speaker 2: every single button on five different iPhone models every single
- 8:23Speaker 2: time a developer changes one line of code, they are
- 8:26Speaker 2: going to get tired.
- 8:27Speaker 1: Of course they are.
- 8:28Speaker 2: They are going to cut corners, they will miss the
- 8:30Speaker 2: edge cases. An ex code bot wirelessly beaming the app
- 8:35Speaker 2: to five phones at three point zero AM doesn't get bored.
- 8:38Speaker 1: It just does it's job.
- 8:39Speaker 2: It executes the testing matrix flawlessly every single time.
- 8:43Speaker 1: That sounds like an absolute utopia for a development team.
- 8:46Speaker 2: It really is within certain limits.
- 8:48Speaker 1: Well, Yeah, because I kept reading and I noticed a
- 8:49Speaker 1: huge pivot in the book.
- 8:51Speaker 2: Ah.
- 8:51Speaker 1: Yes, If Apple's built in factory manager is so pristine
- 8:55Speaker 1: and powerful, why does the cookbook dedicate so much space
- 8:59Speaker 1: to a third part tool called TRAVISCI.
- 9:02Speaker 2: That's the catch. Because Apple's ecosystem is famous for being
- 9:05Speaker 2: a walled garden.
- 9:06Speaker 1: Right.
- 9:07Speaker 2: Excodebots are magnificent provided you stay strictly inside the garden.
- 9:11Speaker 2: You need a physical Mac sitting in your office on
- 9:13Speaker 2: your local network.
- 9:14Speaker 1: But that's not how people work anymore exactly.
- 9:17Speaker 2: Modern software development doesn't look like that. Teams are fully remote.
- 9:21Speaker 2: They're spread across the globe. They don't have a shared
- 9:23Speaker 2: office with a Macmini in the corner.
- 9:25Speaker 1: So they want to use public cloud based infrastructure like
- 9:28Speaker 1: the rest of the tech.
- 9:28Speaker 2: Industry exactly, And that is where TRAVISCI enters the picture.
- 9:32Speaker 1: So TRAVISCI is basically renting a virtual factory in the cloud. Yes,
- 9:37Speaker 1: but the booknoes it's a completely different paradigm. With Apple,
- 9:40Speaker 1: you get this nice graphical interface to set up your bots.
- 9:44Speaker 1: With Travis it is controlled entirely by a tiny plain
- 9:47Speaker 1: text file you drop into your code called dot travis
- 9:50Speaker 1: dot yml.
- 9:52Speaker 2: Right, And because you are renting a virtual machine in
- 9:54Speaker 2: the cloud that isn't native to Apple's Pristine setup. That
- 9:58Speaker 2: text file has to manually org straight everything.
- 10:01Speaker 1: Okay, and the book mentions that to make this work,
- 10:03Speaker 1: Travis relies heavily on a command line tool called xcron xcrin. Yes,
- 10:08Speaker 1: what is that actually doing behind the scenes?
- 10:10Speaker 2: Think of xcrin as a highly intelligent shim or a middleman.
- 10:14Speaker 2: A middleman yeah, because xcode isn't just one application. It
- 10:18Speaker 2: is actually a massive directory containing hundreds of hidden specialized
- 10:23Speaker 2: mini tools for compiling code, shrinking images, and signing files.
- 10:27Speaker 1: Oh wow, I didn't realize that.
- 10:29Speaker 2: Most people don't. So if you were typing commands into
- 10:32Speaker 2: a remote Travis server, you would normally have to provide
- 10:35Speaker 2: the exact convoluted file path to locate those tools deep
- 10:39Speaker 2: inside xcodes folders.
- 10:41Speaker 1: That sounds miserable, it is.
- 10:43Speaker 2: But scrin eliminates that. You just tell the middleman, hey,
- 10:45Speaker 2: run the swift compiler, and screwn knows exactly where it
- 10:48Speaker 2: is buried and just executes it.
- 10:50Speaker 1: Oh.
- 10:50Speaker 2: It makes scripting in a cloud environment infinitely more manageable.
- 10:54Speaker 1: Okay, I have to stop you there, because manageable is
- 10:57Speaker 1: not the word I would use based on what I
- 10:59Speaker 1: read next, I was looking at this section on using
- 11:02Speaker 1: travisci to generate an actual app Store release. You know,
- 11:07Speaker 1: the final dot ipa file that goes.
- 11:09Speaker 2: To the public, the infamous code siding process.
- 11:11Speaker 1: Yes, my eyes completely glazed over. It is page after
- 11:16Speaker 1: page of exporting keychains, downloading certificates, writing custom shell scripts.
- 11:22Speaker 1: Why is this so insanely complicated compared to just clicking
- 11:25Speaker 1: archive in xcode.
- 11:26Speaker 2: Because you are stepping outside the walled garden and you
- 11:29Speaker 2: are entirely on your own, Apple.
- 11:31Speaker 1: Doesn't help you here, not at all.
- 11:33Speaker 2: Apple requires every single app to be cryptographically signed before
- 11:37Speaker 2: it is allowed on a device. Think of it like
- 11:39Speaker 2: a digital wax seal.
- 11:41Speaker 1: A wax seal, okay.
- 11:42Speaker 2: It proves mathematically that the app actually came from you
- 11:45Speaker 2: and that it hasn't been tampered with by a hacker
- 11:47Speaker 2: in transit. When you use xcode on your personal Mac,
- 11:51Speaker 2: Apple hides all that cryptographic complexity behind a nice user interface, so.
- 11:55Speaker 1: It manages your digital identities automatically exactly. But on a
- 11:59Speaker 1: remote traviser it doesn't know who you are spot on.
- 12:02Speaker 2: You have to manually reconstruct that digital wax seal on
- 12:05Speaker 2: a remote computer you don't actually own.
- 12:07Speaker 1: The book outlines this process and it is honestly wild.
- 12:11Speaker 2: It's a lot.
- 12:12Speaker 1: First, it says you have to manually download Apple's master Certificate,
- 12:16Speaker 1: the Worldwide Developer Relation Certificate Authority or Apple dotser. Right,
- 12:20Speaker 1: But then you have to go into your personal max keychain,
- 12:24Speaker 1: find your personal distribution certificate certain dots er and export it.
- 12:28Speaker 1: Plus you have to export your private cryptographic key as
- 12:32Speaker 1: a dot P twelve file.
- 12:34Speaker 2: Yes, a certificate is public, but that dot P twelve
- 12:37Speaker 2: file is the actual stamper that makes the wax seal.
- 12:41Speaker 1: It's the secret sauce exactly.
- 12:43Speaker 2: It is highly sensitive.
- 12:44Speaker 1: Wait, emma, the book explicitly suggests assigning a password to
- 12:48Speaker 1: that dot P twelve file, and it recommends literally just
- 12:51Speaker 1: using the word Travis.
- 12:53Speaker 2: Yep, just Travis.
- 12:54Speaker 1: And then you upload this file to a public cloud server.
- 12:57Speaker 1: If this is my secure digital identity, isn't it a
- 12:59Speaker 1: mass of security liability?
- 13:01Speaker 2: Huge liability.
- 13:02Speaker 1: You are basically handing the keys to your house over
- 13:04Speaker 1: to a third party.
- 13:05Speaker 2: It is a massive liability. You cannot just leave your
- 13:08Speaker 2: private cryptographic keys sitting permanently on a Travis cloud server, right,
- 13:13Speaker 2: So you have to engineer a workaround.
- 13:15Speaker 1: Okay, how do you do that?
- 13:16Speaker 2: You have to write raw bash shell scripts.
- 13:18Speaker 1: Oh boy.
- 13:19Speaker 2: The developer has to write a script called create keychain
- 13:22Speaker 2: dot ish when the Travis Cloud server boots up to
- 13:25Speaker 2: build your app. This script instructs it to generate a
- 13:29Speaker 2: temporary virtual keychain on the fly.
- 13:31Speaker 1: Okay.
- 13:32Speaker 2: It injects your certificates and that weak Travis's password into it,
- 13:36Speaker 2: uses it to stamp the wax seal on your app,
- 13:39Speaker 2: and then critically, you need a second.
- 13:41Speaker 1: Script, the delete keykchain dot script exactly so it immediately
- 13:45Speaker 1: destroys the virtual keychain the millisecond the build is done,
- 13:48Speaker 1: so no one can steal your identity.
- 13:50Speaker 2: That's the goal.
- 13:51Speaker 1: It's like building a temporary safe inside a hotel room,
- 13:54Speaker 1: putting your valuables inside, taking out what you need, and
- 13:57Speaker 1: then just detonating the safe before checkout.
- 14:00Speaker 2: That is exactly what it is. And add in the
- 14:02Speaker 2: fact that you also have to manually write and export
- 14:04Speaker 2: options dot plist file just to tell the system you
- 14:07Speaker 2: are building for the app store, it.
- 14:09Speaker 1: Sounds like an incredibly fragile pipeline.
- 14:11Speaker 2: It is incredibly fragile. You are writing these gritty Bash
- 14:14Speaker 2: sweps by hand. If you miss a single semi coolin,
- 14:17Speaker 2: or if a certificate expires a year later, the entire
- 14:20Speaker 2: Travis build just fails. And digging through thousands of lines
- 14:24Speaker 2: of terminal output to figure out why is well, it's
- 14:28Speaker 2: like looking for a needle in a digital haystack.
- 14:31Speaker 1: It is so gritty. To go back to the manufacturing metaphor,
- 14:34Speaker 1: it sounds like having to forge your own hammer and
- 14:36Speaker 1: build your own oven from scratch before you were allowed
- 14:38Speaker 1: to even bake a cake. Yes, developers hate doing miserable, repetitive,
- 14:43Speaker 1: breakable tasks. Tell me the community found a way around
- 14:46Speaker 1: this nightmare.
- 14:47Speaker 2: Oh, they definitely did. The pain of manual code signing
- 14:51Speaker 2: on CI servers was so universally despised that the community
- 14:54Speaker 2: created an open source shortcut.
- 14:56Speaker 1: Okay.
- 14:56Speaker 2: That shortcut is called fast Lane.
- 14:58Speaker 1: Okay, so what is fast Lane? Because the installation process
- 15:01Speaker 1: in the book, especially compared to the Travis nightmare, is
- 15:04Speaker 1: hilariously simple.
- 15:06Speaker 2: It really is night and day.
- 15:07Speaker 1: You just open your terminal and type pseudogem install fastling.
- 15:10Speaker 1: That's it, right.
- 15:11Speaker 2: So, if Travis is your continuous integration tool, the thing
- 15:14Speaker 2: that runs the tests, fast Lane is a continuous delivery tool.
- 15:17Speaker 1: Ah.
- 15:18Speaker 2: It is a massive suite of Ruby scripts, currently backed
- 15:21Speaker 2: by Google that exists specifically to abstract away all the
- 15:25Speaker 2: pain we just discussed.
- 15:26Speaker 1: So it automates the automation.
- 15:28Speaker 2: Perfectly said, it automates the automation.
- 15:30Speaker 1: The cookbook explains that once you run in, it asks
- 15:33Speaker 1: for your apps bundle identifier, and then it just automatically
- 15:37Speaker 1: creates a folder for you. It builds a fast file,
- 15:40Speaker 1: an app file, and a deliver file. It handles downloading
- 15:43Speaker 1: the certificates, It manages the MESSI code signing. It even
- 15:46Speaker 1: handles uploading the final binary and your screenshots directly to
- 15:50Speaker 1: iTunes connect.
- 15:51Speaker 2: It feels like absolute magic.
- 15:53Speaker 1: It really does.
- 15:54Speaker 2: It turns hundreds of lines of fragile Bash scripts into
- 15:57Speaker 2: a single, elegant command.
- 15:59Speaker 1: Okay, I am sensing a catch. It's always a catch
- 16:02Speaker 1: in software, convenience is never free. What is the hidden
- 16:06Speaker 1: cost of relying on fast Lane?
- 16:07Speaker 2: This raises an important question. The hidden cost is that
- 16:10Speaker 2: fast Lane is a third party dependency. It is a
- 16:13Speaker 2: wrapper built entirely around Apple's official tools.
- 16:16Speaker 1: Okay, and Apple does not officially coordinate with the fast
- 16:18Speaker 1: Lane developers when they change things, do they never?
- 16:21Speaker 2: So imagine Apple drops a massive new x code update,
- 16:24Speaker 2: they subtly alter how x grun behaves, or they change
- 16:28Speaker 2: a hidden endpoint and the iTunes connect API.
- 16:31Speaker 1: Oh I see where this is going.
- 16:32Speaker 2: Because fast Lane often relies on web scraping and reverse
- 16:35Speaker 2: engineering Apple systems, the moment Apple changes a button on
- 16:39Speaker 2: their website, fast Lane completely breaks.
- 16:43Speaker 1: Oh wow, so you're completely paralyzed.
- 16:45Speaker 2: You are the open source maintainers on GitHub have to
- 16:48Speaker 2: scramble to figure out what Apple changed, reverse engineer it,
- 16:51Speaker 2: and patch their Ruby scripts.
- 16:53Speaker 1: So you're just waiting around.
- 16:55Speaker 2: You might have days where you literally cannot release a
- 16:58Speaker 2: critical security update for your app because you were waiting
- 17:01Speaker 2: on some stranger on the internet to update fast Lane.
- 17:05Speaker 1: So what does this all mean? That is a grand irony,
- 17:07Speaker 1: isn't it. Developers implement fast Lane to avoid the bugs
- 17:11Speaker 1: and crashes of writing their own manual Bash scripts. Yeah,
- 17:14Speaker 1: but by doing so, they just inherit the bugs the
- 17:16Speaker 1: third party dependency yep. It's like they hire an outside
- 17:19Speaker 1: contractor to run the factory and suddenly they find out
- 17:22Speaker 1: the contractor changed all the locks.
- 17:24Speaker 2: You are trading the gritty complexity that you can fully
- 17:27Speaker 2: control for a black box of convenience that you completely
- 17:31Speaker 2: cannot control.
- 17:32Speaker 1: It paints such a vivid picture of how these tools evolved.
- 17:35Speaker 1: I mean, we started the deep dive looking at Apple's
- 17:39Speaker 1: native ex codebots. Right, you get a sleek, built in
- 17:42Speaker 1: factory floor manager that works flawlessly as long as you
- 17:45Speaker 1: agree to stay inside Apple's physical house and buy their hardware.
- 17:49Speaker 2: Very cozy, very restricted.
- 17:51Speaker 1: Right. Then we explored stepping out into the wilderness with
- 17:54Speaker 1: Travis CI, where you get cloud flexibility, but you have
- 17:58Speaker 1: to manually wire are all the plumbing yourself with shell
- 18:02Speaker 1: scripts and temporary key chains.
- 18:04Speaker 2: That do it yourself approach exactly.
- 18:07Speaker 1: And finally we arrive at fast Lane, the magical wrapper
- 18:10Speaker 1: that does the hard work for you, provided you are
- 18:13Speaker 1: willing to be entirely dependent on an open source team
- 18:16Speaker 1: keeping up with Apple's whims.
- 18:17Speaker 2: And that tension is really the defining characteristic of modern
- 18:21Speaker 2: software engineering. Every single tool we invent to make our
- 18:24Speaker 2: lives easier abstracts us one step further away from the
- 18:28Speaker 2: underlying metal.
- 18:29Speaker 1: Yeah, that makes sense, and I think.
- 18:31Speaker 2: This source material leaves us with a deeply unsettling question
- 18:34Speaker 2: to consider. For you, tools like fast Lane and Excodebots
- 18:37Speaker 2: are undeniably brilliant. They hide immense punishing complexity, the cryptography,
- 18:43Speaker 2: the virtual keychains, the raw compiling commands.
- 18:47Speaker 1: Which saves so much time it does.
- 18:50Speaker 2: But by completely automating all of that away behind a
- 18:52Speaker 2: single terminal command or a visual toggle, we have to ask,
- 18:56Speaker 2: are we creating an entire generation of software developers who
- 18:59Speaker 2: do not ad actually understand how their own applications are
- 19:02Speaker 2: built and signed.
- 19:03Speaker 1: That's a scary thought
- 19:05Speaker 2: Because when the magic wrapper inevitably fails and the automated
- 19:08Speaker 2: factory breaks down, you desperately need someone in the building
- 19:11Speaker 2: who still remembers how to manually fix the plumbing.