13 報

Share this post

開發者週報 #110 我裝了 Monterey,Xcode 12 就打不開了

www.ethanhuang13.com

開發者週報 #110 我裝了 Monterey,Xcode 12 就打不開了

Apple/iOS 開發者的一週大小事 2021/09/20-2021/09/26

13
Sep 26, 2021
1
Share this post

開發者週報 #110 我裝了 Monterey,Xcode 12 就打不開了

www.ethanhuang13.com

13的話

本週你可能沉浸在 iPhone 13 系列的開箱喜悅中。但這邊有件重要資訊請注意:

  • macOS Monterey 不支援 Xcode 12

  • 裝了 Monterey 就要用 Xcode 13

  • 沒有 100% 確定不會再用到舊版 Xcode 的話,千萬別升級 Monterey

這個坑我越想越大,但在國內外的開發者社群都還沒看到討論。請好心提醒一下同事或認識的開發者朋友,恐怕連公司 IT(要幫新人設定 Mac)都需要知道

另外一件事,如果你有用推特,請幫我投個票😂

Twitter avatar for @ethanhuang13
13 @ethanhuang13
📊請問,打開信箱時看到《13 的 Apple 開發者週報》,會讓你意識到「今天又是週一了」嗎? ethanhuang13.substack.com
ethanhuang13.substack.com13 的 Apple 開發者週報Apple/iOS 開發者電子報
6:13 AM ∙ Sep 26, 2021

(看前一期 · 回首頁)


⚠️Xcode 13 required on macOS Monterey

我裝了 Monterey Beta 7,Xcode 12 就打不開了。

所以,重要資訊我再說三遍:

  • macOS Monterey 不支援 Xcode 12

  • 裝了 Monterey 就要用 Xcode 13

  • 沒有 100% 確定不會再用到舊版 Xcode 的話,千萬別升級 Monterey

反過來說,Xcode 13 可以跑在 Big Sur(11.3 以上)。

這些不是我說的,是 Apple 的公告。

其實,Big Sur 也不支援 Xcode 11。但那個時候 Apple Silicon 剛出,算是特例,我們會去留意相容性的問題。今年這情況由於人們「沒想到會這樣」,各方踩到這個坑的機會恐怕大得多。

🆕 Xcode 13、iOS 15 與 15.1 Beta 1

  • macOS Monterey 12 Beta 7

上面那件事再次提醒我們 release notes 要看。

真要說 workaround,其實可以從 Terminal 打開(證明如下)。但這不能算是能用就是了。

Twitter avatar for @ethanhuang13
13 @ethanhuang13
Looks like this happened before on Big Sur and Xcode 11. (And the workaround launching Xcode from Terminal still works. stackoverflow.com/a/65164075) But cognitively I don’t think this time is the same. We did expected Big Sur would have compatibility issues because Apple Silicon.
Image
5:00 PM ∙ Sep 26, 2021
  • Xcode 13

  • Swift 5.5

  • iOS 15、15.1 Beta

  • watchOS 8、8.1 Beta

  • tvOS 15、15.1 Beta

🆕New in-app purchase capabilities now available

隨著 iOS 15 上市,StoreKit 2 也正式啟用。

💃iPhone 13 Pro 的 ProMotion 相關 API——Optimizing ProMotion Refresh Rates for iPhone 13 Pro and iPad Pro

我上週說「iPhone 13 Pro 的 ProMotion 不需要開發者特別做什麼事情」這句話是錯的😅

有開發者發現某些動畫不會用 120 Hz 跑。

Twitter avatar for @ChristianSelig
Christian Selig @ChristianSelig
Am I correct in seeing that UIView.animateWithDuration APIs aren't clocked at 120Hz on iPhone 13? On UIScrollView, system ones, and Metal by the looks of it, rest is still 60Hz?
Reddit post that says: I got my iPhone 13 Pro Max earlier this morning and the 120Hz has drastically improved scrolling. However, some of the animations in Apollo such as closing a comment block or pop up menus appear to be 60Hz instead of 120Hz. I confirmed this by changing to low power mode (only 60Hz) and saw no different between the animation with it toggled on or off.

Is an app update requires to bring all animations to a buttery smooth level?
2:48 PM ∙ Sep 24, 2021
220Likes22Retweets

後來得知是 bug,並且官方推出文件,要特別在 Info.plist 加 key 才能啟用一些 API。

上週那句話應該改成「想要確保特定的動畫或操作達到 120 Hz,最好還是買支 iPhone 13 Pro 來測試」💸

🤪Random Tweets

iPhone 價格圖

Twitter avatar for @asymco
Horace Dediu @asymco
The iPhone Stairway to Heaven, updated.
Image
12:54 PM ∙ Sep 21, 2021
291Likes76Retweets

瑪利歐兄弟與 Objective-C 兄弟

Twitter avatar for @typesanitizer
Varun Gandhi @typesanitizer
@jnadeau The math checks out.
Commutative diagram showing Mario mapping to C, Luigi mapping to ObjC, Wario mapping to C++ and Waluigi mapping to ObjC++.
3:42 AM ∙ Sep 22, 2021
1,197Likes322Retweets
Twitter avatar for @joeyabanks
Joey Banks @joeyabanks
It's incredible how fast screen technology is progressing. The Apple Watch now has a larger resolution than the original iPhone:
Image
12:55 PM ∙ Sep 22, 2021
6,652Likes1,396Retweets
Twitter avatar for @molly_struve
Molly Struve 🦄 @molly_struve
I heard there was a dress code
A dress that is literally covered in code
8:38 PM ∙ Sep 22, 2021
200,807Likes42,015Retweets

看不懂的話就別問了,等於是老電影的暴雷

Twitter avatar for @imaginmatrix
Morgan Danielle @imaginmatrix
My dad made a “meme” and asked me to spread it as far as I can so here you go
Image
5:34 PM ∙ Sep 23, 2021
418,003Likes57,901Retweets

🎙weak self podcast 84: 連假發版

你各位買 iPhone 了沒?

💼職缺/履歷交流區

  • Carousell

  • Foodpanda (Senior)

如果你有 iOS 相關職缺或是求職履歷想要刊登在開發者週報,請見關於。

Share this post

開發者週報 #110 我裝了 Monterey,Xcode 12 就打不開了

www.ethanhuang13.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 ethanhuang13
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing