<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lu ang on Medium]]></title>
        <description><![CDATA[Stories by Lu ang on Medium]]></description>
        <link>https://medium.com/@mei60632?source=rss-54e4d32d508f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5NE5USX0ljT6vorswXj_Xg@2x.jpeg</url>
            <title>Stories by Lu ang on Medium</title>
            <link>https://medium.com/@mei60632?source=rss-54e4d32d508f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 11:52:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mei60632/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Xcode 版本與 iOS 版本不相容解決辦法]]></title>
            <link>https://medium.com/@mei60632/xcode-%E7%89%88%E6%9C%AC%E8%88%87-ios-%E7%89%88%E6%9C%AC%E4%B8%8D%E7%9B%B8%E5%AE%B9%E8%A7%A3%E6%B1%BA%E8%BE%A6%E6%B3%95-84ee2ff31c43?source=rss-54e4d32d508f------2</link>
            <guid isPermaLink="false">https://medium.com/p/84ee2ff31c43</guid>
            <dc:creator><![CDATA[Lu ang]]></dc:creator>
            <pubDate>Sat, 20 May 2023 06:06:47 GMT</pubDate>
            <atom:updated>2023-05-20T06:06:47.979Z</atom:updated>
            <content:encoded><![CDATA[<p>Apple 不定期會推出 Xcode 版本與 iOS、iPad、watch 等的更新版本，但當你的裝置(亦稱載具)沒有關閉自動更新的話，當要進行開發時 Xcode 就會冷冷的顯示提示(如下)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*Yc0gH3DzXXp9S8b21bS7aQ.png" /></figure><p>以下提供兩種 Solution<br>1. 依照指示去更新 Xcode (更新方法建議直接到 Develop下載DMG更新)<br>2. 把新版本的資料包匯入到當前 Xcode</p><p>此文章僅會描述第二種作法</p><blockquote>操作前請先關閉 Xcode &lt;command + Q&gt;</blockquote><p>前往 <a href="https://github.com/mspvirajpatel/Xcode_Developer_Disk_Images">GitHub</a>下載符合手機系統的 iOS Device Support 檔案 (如下圖)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*sWGT0kcC3algi0XQPdcugQ.png" /></figure><p>將解壓縮後的資料夾 (範例為 16.4.1) 複製到指定路徑後重開 Xcode 即可</p><pre>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport</pre><p>ps. 利用「前往」輸入以上路徑即可開啟</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84ee2ff31c43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter Day_1]]></title>
            <link>https://medium.com/@mei60632/flutter-day-1-91eb3574ba6b?source=rss-54e4d32d508f------2</link>
            <guid isPermaLink="false">https://medium.com/p/91eb3574ba6b</guid>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Lu ang]]></dc:creator>
            <pubDate>Tue, 11 Aug 2020 02:31:57 GMT</pubDate>
            <atom:updated>2020-08-11T02:33:32.797Z</atom:updated>
            <content:encoded><![CDATA[<p>踏入 Flutter 跨平台開發世界</p><h4>大綱</h4><ul><li><a href="https://flutter.dev/docs/get-started/install">官方操作安裝說明</a></li><li><a href="https://flutter.dev/docs/get-started/editor?tab=vscode">安裝編輯器(VS Code)</a></li><li>建立專案，完成第一個 Flutter APP</li><li><a href="https://dartpad.dev/">線上編譯器</a></li></ul><p>這是我踏入 Flutter 領域的第一篇，會簡單說明我的開發環境 MacOS Catalina (10.15.3)、 編譯器(IDE) Visual Studio Code (1.47.3) 以下簡稱 VS Code、Flutter version 1.21.0–8.0.pre98</p><h4>建立第一個 Flutter APP</h4><ol><li>打開你的 VS Code，在頂部 Search bar 輸入 &gt;會出現 Flutter: New Project，使用 mac 系統的人可展現你專業的感覺用快捷鍵(⌘（command）、Shift 、Ｐ)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ItuZQesYVU84MrKynwZ9NQ.png" /><figcaption>圖1</figcaption></figure><p>2. 直接在 Search bar 輸入你的專案名稱（只能輸入小寫喔！），這邊我們就用學程式入門的第一個耳熟能詳的專案名 hello_word吧！輸入完按下 enter 後就把專案放在你喜歡的路徑下就可以了。完成畫面如圖3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uIbrEC15vftEUuvl7tfp3A.png" /><figcaption>圖2 選擇專案路徑</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bvt-_lWBDia0Atg9rOTZkA.png" /><figcaption>圖3 完成畫面</figcaption></figure><p>3. 專案都建立了，是該 Run 一下才會有感覺，請按下 F5(若你 mac 是 touch bar版本，請按按住 fn 即可顯示)選擇你的 APP 要安裝在哪部模擬器上。(本身電腦環境就有安裝 android、iOS 的 Simulator 所以這邊就不贅述安裝與啟動了)，點擊 IDE 底下的紅匡處(圖5) 可切換 Simulator。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xHuYdLFew2cvHyTSW75hcQ.png" /><figcaption>圖4 安裝 APP</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ga1NQvseFKd4Uw2_ljXOrg.png" /><figcaption>圖5</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2qsZcQIvdgv1VIQ7igeMlw.png" /><figcaption>圖6 雙平台啟動完成</figcaption></figure><h4>Flutter 專案架構說明</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r8Yfo1Jy2ExhU0nRsIHM7w.png" /></figure><p>android：實作 Android 特定功能會在此 folder 處理。</p><p>assets：存放圖片、靜態資 folder。</p><p>ios：實作 iOS 特定功能會在此 folder 處理。</p><p>lib：實作 APP 的主要程式碼的 folder。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91eb3574ba6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter 前言]]></title>
            <link>https://medium.com/@mei60632/flutter-%E5%89%8D%E8%A8%80-a8266242af30?source=rss-54e4d32d508f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8266242af30</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Lu ang]]></dc:creator>
            <pubDate>Sat, 08 Aug 2020 08:30:56 GMT</pubDate>
            <atom:updated>2020-08-08T08:36:53.058Z</atom:updated>
            <content:encoded><![CDATA[<p>踏入Flutter跨平台開發世界</p><p>一定有人會問為什麼會決定投身跨平台開發呢🧐 原生環境不好嗎？你如何調適這個過程。</p><p>簡單說，公司的因為疫情的關係決定重新整編 IT 部門，希望利益最大化也就是說要 APP Team 成員不再只是只能維護單一平台的人，這件是讓我們團隊思考了幾天，畢竟大家都希望能在自己熟悉的環境下工作，安穩過日子對吧？！</p><p>iOS 我們是使用 Swift、Android 則是 Kotlin，兩邊都是原生父母的純種血統開發語言，所以大家都有自己的堅持。</p><p>原生環境還是有他美好的地方，例如 Xcode 未來可以一擋百（開發邏輯一套，可以吃 watch OS、iOS、iPad OS、Mac OS）整個就是百靈丹啊🤩</p><p>本人並不會開發 Android Kotlin，只是覺得 Android Studio 好肥、功能好多好厲害，這段未來會繼續向同事請益再繼續補充。</p><h4><strong>跨平台開發的語言選擇</strong></h4><blockquote><em>Facebook </em><a href="https://github.com/facebook/react-native"><em>React Native</em></a><em> V.S Google </em><a href="https://github.com/flutter"><em>Flutter</em></a></blockquote><p>這段過程說來有趣，兩天內決策鋒迴路轉我甚至發 Twitter 討拍。</p><p>主管在週四會議上直接拍案說要用 RN，理由是什麼？因為 F2E 的人已經拓荒過了，他們可以教 APP Team 讓專案轉跨平台的時程能縮短，學習曲線較低，當時的我滿頭問號，那效能、語言未來性、發布狀況、自動化等等這些評估項目呢？</p><p>於是當晚我找了一篇我覺得不錯的文章(補充下方 Reference)貼給主管看，主管隔日馬上招集兩派人馬討論，論述兩邊的組員學習意願與優劣分析，最後決定投下關鍵的一票給了 Flutter。</p><p>個人本身是寫 iOS 的工程師，因此我對於行動載具上的特性、使用者經驗、使用者體驗是非常敏感且在意的，一個不好用、沒主題甚至不流暢的介面是很難在使用者手機上存留的，加上未來 iOS 14 提供 Widget 搶奪更多的使用者版面，當你的 APP 對於使用者來說用途不大時，就會走向被淘汰的命運。</p><p>Flutter 背後的老闆是 Google，且相比 FB 的上線管理好一點(本人iOS 7/10 <a href="https://technews.tw/2020/07/10/many-ios-apps-are-crashing-again-due-to-a-facebook-issue/">二次被 FB SDK 雷啊</a>，全球公測概念🙄)</p><p>Flutter 使用的是 Dart 語言，是一個發布於2018年 google i.o 的新語言，且是針對跨平台開發設計，因此支援原生應用服務、API 相容性大，加上目前市場趨勢也慢慢在改變，很多公司寧願找可一對二平台的工程師，也不願意堅持要用單一原生的工程師，因此這是我願意跨出舒適圈的一個契機點，算是給自己一個目標與履歷加分的機會。</p><h4>Reference</h4><p>React Native: <a href="https://github.com/facebook/react-native">https://github.com/facebook/react-native</a></p><p>Flutter: <a href="https://github.com/flutter">https://github.com/flutter</a></p><p>RN V.S Flutter: <a href="https://nevercode.io/blog/flutter-vs-react-native-a-developers-perspective/">https://nevercode.io/blog/flutter-vs-react-native-a-developers-perspective/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8266242af30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Xcode 11 建立新專案]]></title>
            <link>https://medium.com/@mei60632/xcode-11-%E5%BB%BA%E7%AB%8B%E6%96%B0%E5%B0%88%E6%A1%88-643103156691?source=rss-54e4d32d508f------2</link>
            <guid isPermaLink="false">https://medium.com/p/643103156691</guid>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Lu ang]]></dc:creator>
            <pubDate>Tue, 22 Oct 2019 16:36:47 GMT</pubDate>
            <atom:updated>2019-10-22T16:36:47.100Z</atom:updated>
            <content:encoded><![CDATA[<h4>Swift 開發</h4><p>首先一樣開啟 Xcode 選擇 Single View App -&gt; Next（圖1）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2kAWMDPdkvBwpd7CdB1Z1w.png" /><figcaption>(圖1)</figcaption></figure><p>輸入 Project Name、User Interface 暫時先選擇 Storyboard(此篇不介紹 SwiftUI)、不勾選任何核取方塊，點擊 Next(圖2)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xKgAHV0HfgV_4KHLgEKx_Q.png" /><figcaption>（圖2）</figcaption></figure><p>選擇 Main.storyboard 按右鍵 Delete，選擇「Move to Trash」這樣才是完整的刪除掉這個檔案（圖3）。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9KnhzNQRbg-WhtVqE53rwA.png" /><figcaption>（圖3）</figcaption></figure><p>利用左上工具列「放大鏡」搜尋「main」，選擇 Info.plist 的專案，在 Storyboard Name 的項目按下減號（-）將此項目刪除（圖4）。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZWPmQ2yA3QqXi3Rx_Uuew.png" /><figcaption>（圖4）</figcaption></figure><p>在專案新增 ViewController.swift、ViewController.xib 檔（圖5）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4uqVkRwWWHv8IwdQwpdPhg.png" /><figcaption>（圖5）</figcaption></figure><p>點選 SceneDelegate.swift 檔新增以下程式碼</p><pre>window = UIWindow(frame: windowScene.coordinateSpace.bounds)</pre><pre>window?.windowScene = windowScene</pre><pre>window?.rootViewController = UINavigationController(rootViewController: MainViewController())</pre><pre>window?.makeKeyAndVisible()</pre><p>輸入完後 Xcode 會報錯，如（圖6）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVnfkPpnHZEXgzLzwQs6wg.png" /><figcaption>（圖6）</figcaption></figure><p>因為在 iOS 13 的架構下，<strong>AppleDelegate</strong> 的分工變的更單純了，所有 UI 的互動生命週期都會交由 <strong>SceneDelegate</strong> 來處理，但因為 iOS 13 以下的專案架構仍是使用 AppleDelegate 來一肩扛起所有事，所以針對 SceneDelegate.swift<strong> </strong>必須選擇 Add @available attribute to enclosing class（表示這個 class 只針對 iOS 13以上有作用）（圖7）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cYDBoLTi-VGz23swGQAJHA.png" /><figcaption>（圖7）</figcaption></figure><p>接下來 Xcode 還是會報錯，報錯的地方在 AppDelegate 如下（圖8）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p5dbLnetzi3W4n9pg_RHmQ.png" /><figcaption>（圖8）</figcaption></figure><p>那接下就要來修正 AppDelegate 的錯誤了，選擇 Add @available attribute to enclosing instance method，因為 iOS 13 以前的架構還是使用 AppDelegate 因此不能選擇 Add @available attribute to enclosing class。（圖9）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XIUoxfXeE37W2mMOjjc4Sw.png" /><figcaption>（圖9）</figcaption></figure><p>最後！我們將 App Compiler 到模擬器上，會發現 App 呈現一片黑的畫面。（圖10）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*QiSI9UcYutHukgXLPwZzLQ.png" /><figcaption>（圖10）</figcaption></figure><p>此時 Xcode 右下角的 Console 顯示著錯誤訊息。</p><pre>The app delegate must implement the window property if it wants to use a main storyboard file.</pre><p>錯誤的原因在 Xcode 11以後 AppDelegate.swift 沒有宣告 Property window（Xcode 11以前建立專案時系統預設會在 AppDelegate 建好）但Xcode 11 改成在 SceneDelegate.swift 建立。而 iOS 13 之前的系統是無法使用 SceneDelegate 的，所以為了相容舊版，請在 AppDelegate.swift 裡宣告 Property window，並初始化就可以解決此問題了！（圖11）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j7200dbwH_kQz10K4cMtXw.png" /><figcaption>（圖11）</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*FRdVmwQwFyJahPtOfTYAtw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=643103156691" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[iOS  螢幕錄影+錄音]]></title>
            <link>https://medium.com/@mei60632/ios-%E8%9E%A2%E5%B9%95%E9%8C%84%E5%BD%B1-%E9%8C%84%E9%9F%B3-75b2da4326b8?source=rss-54e4d32d508f------2</link>
            <guid isPermaLink="false">https://medium.com/p/75b2da4326b8</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[ipad]]></category>
            <category><![CDATA[iphone]]></category>
            <dc:creator><![CDATA[Lu ang]]></dc:creator>
            <pubDate>Sat, 19 Oct 2019 05:52:34 GMT</pubDate>
            <atom:updated>2019-10-21T15:56:20.228Z</atom:updated>
            <content:encoded><![CDATA[<h3>iOS 螢幕錄影+錄音</h3><h4>第一次使用 iOS 系統就上手</h4><p>你/妳不是總是覺得 Apple 的螢幕錄影功能好像只做了一半但卻又說不出哪裡沒做好呢？</p><p>嘩～這就是Apple 的魅力所在，總是讓使用者自己發現其中的奧妙。</p><p>說了這麼多，好像還是沒進入主題🤔</p><p>如果你想要錄製一個簡單的操作教學影片如果少了聲音那效果可能大大降低，畢竟看頑皮豹的時代已經過了⋯</p><p>接下來我就來為大家介紹如何開啟螢幕錄影+錄音吧！</p><p>首先如果你是 iPhone X 含以上的瀏海型機型手機，請在右上角向下滑下拉出「控制中心」，如果你非瀏海型手機，請由螢幕底部向上滑動滑出「控制中心」</p><p>（以下範例採用 iPhone X 進行示範）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*z7qE4HgvyRE5F6OxToHk_Q@2x.jpeg" /></figure><p>接著「長按或重壓」錄影 icon (如下紅框）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*c9wH9RIvrDpx2C8tWE1ueA@2x.jpeg" /></figure><p>會出現有支援螢幕錄製功能的 App，就選擇一個你要的 App 吧！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*ojUeiQOMWXUsOjSJ_OUgvQ@2x.jpeg" /></figure><p>這時會發現下方還有一個「麥克風」的 icon 且預設是顯示關閉的狀態，這也就表示說在執行螢幕錄影時是「不包含」收音功能的，也就是錄默劇的意思！</p><p>此時聰明的各位如果要有讓麥克風有收音的效果就請點擊 icon 讓開啟麥克風吧！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*NRe5FWQ0zFCxBs0l47mZUw@2x.jpeg" /></figure><p>這時後點擊灰色的半透明遮罩（也可稱毛玻璃效果）區塊就可以關閉螢幕錄製功能的設定頁了，再點擊螢幕錄製後，控制中心的螢幕錄製 icon 會開始倒數3、2、1(如下圖），數到1後就會開始執行螢幕錄影，當然也會開始收音。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*nSGHKczca5tK1dKtcd9zrg@2x.jpeg" /></figure><p>錄影結束後，可以到照片 App 檢視剛剛的錄影成果，就完成了一個影、音螢幕錄影了👍🏻 是不是很實用的功能！</p><p>不論你要使用在打遊戲教學或者教長輩如何操作手機功能，都非常便利！</p><p>以上是我的 iOS Device 教學小知識，如有新的功能後續也會寫新文章教大家使用，讓每位使用 iOS 作業系統的人都能更能體驗到 Apple 所帶來便利性與魅力。</p><p>P.s 以上操作只要是 iOS 11 （含）以上的裝置（iPhone 系列、iPad 系列）都適用，除此之外的 watch 系列、mac 系列都不能用喔。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75b2da4326b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[iOS 系統當機重啟教學]]></title>
            <link>https://medium.com/@mei60632/ios-%E7%B3%BB%E7%B5%B1%E7%95%B6%E6%A9%9F%E9%87%8D%E5%95%9F%E6%95%99%E5%AD%B8-2ca35144ea58?source=rss-54e4d32d508f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ca35144ea58</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[iphone]]></category>
            <dc:creator><![CDATA[Lu ang]]></dc:creator>
            <pubDate>Sat, 19 Oct 2019 04:10:43 GMT</pubDate>
            <atom:updated>2019-10-21T15:57:05.948Z</atom:updated>
            <content:encoded><![CDATA[<h4>第一次使用 iOS 系統就上手</h4><p>生活中難免遇到設備不聽話、出毛病的狀況，所以千萬不要對任何工程師的乖乖有想法啊🤣（這就是IT 工程師為什麼如此信仰乖乖的原因）。</p><p>相信人手一 iPhone 的世代，如果當機了我相信您一定非常焦躁吧！</p><p>在沒有太多的實體按鍵的 iPhone 如何重啟，簡單3步驟即可完成重啟。</p><h3>操作流程：按音量1下 &gt; 按音量鍵1下 &gt; 長按電源鍵（直到白蘋果出現）</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*avVCMwok5MNVgo4vvZxt7Q@2x.jpeg" /></figure><p>以上是我的 iOS Device 教學小知識，如有新的功能後續也會寫新文章教大家使用，讓每位使用 iOS 作業系統的人都能更能體驗到 Apple 所帶來便利性與魅力。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ca35144ea58" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>