Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 B...
Search
おしん
September 06, 2024
Programming
1
120
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 Beta 編~
おしん
September 06, 2024
Tweet
Share
More Decks by おしん
See All by おしん
よりアプリらしさを出すために
shincarpediem
1
25
iOSのPhoto Libraryアクセス権限を見直してみよう
shincarpediem
1
160
SwiftUI登場前のVIPERアプリでもSwiftUIをスムーズに導入できた話
shincarpediem
2
1.4k
VIPERアプリにSwiftUIを導入してみた
shincarpediem
1
350
Other Decks in Programming
See All in Programming
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
450
命名をリントする
chiroruxx
1
380
ドメインイベント増えすぎ問題
h0r15h0
1
120
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
Jakarta EE meets AI
ivargrimstad
0
230
useSyncExternalStoreを使いまくる
ssssota
6
1k
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
120
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
200
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
return文におけるstd::moveについて
onihusube
1
770
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
49
11k
RailsConf 2023
tenderlove
29
940
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Site-Speed That Sticks
csswizardry
2
190
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Producing Creativity
orderedlist
PRO
341
39k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Transcript
Copyright © stmn, inc. All rights reserved. iOSΤϯδχΞ ͓͠Μ(@38Punkd) Concurrency
Warning͕ ࢁग़͔ͨΒฉ͍ͯ΄͍͠ ʙXcode 16.1 Beta ฤʙ
2
01 02 03 04 05 Xcode 16ͱSwift versionʹ͍ͭͯ ৽ͨʹग़ͨWaring, Build
Errorͷछྨ ·ͱΊ 3
Xcode 16ͱ Swift versionʹ͍ͭͯ 01
None
Xcode 16.1 Beta͕ ग़·ͨ͠Ͷʂ
Xcode 16͔ΒSwift 6ܥ͕બͰ͖ΔΑ͏ʹ
Xcode 16͔ΒSwift 6ܥ͕બͰ͖ΔΑ͏ʹ Swift 6ܥOpt-inͳͷͰ Xcode 16ͰSwift 5ܥΛࢦఆ͠ଓ͚ΒΕΔ
Swift 6ܥʹରԠͰ͖ͯͳ͍ͱ… Xcode ͕ ΞοϓσʔτͰ͖ͳ͘ͳΔ
Swift 6ܥʹରԠͰ͖ͯͳ͍ͱ… खݩͷ MacPC ͕ ΞοϓσʔτͰ͖ͳ͘ͳΔ
৽ͨʹग़ͨ Warning, Build Errorͷछྨ 02
͋͘·Ͱ͕ࣗૺ۰ͨ͠ͷ͚ͩΛ ϐοΫΞοϓͯ͠·͢🙏
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 13 awakeFromNib
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 14 awakeFromNib
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙ ղফํ๏ 1
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙ ղফํ๏ 2
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙ 4XJGU͔Β༻Մೳ ৄࡉ1SPQPTBMΛ☑ IUUQTHJUIVCDPNTXJGUMBOHTXJGUFWPMVUJPOCMPCNBJOQSPQPTBMT BDUPSJOJUJBMJ[FSTNE
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 24 awakeFromNib
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending` ղফํ๏
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending` 4XJGU͔Β༻Մೳ ৄࡉ1SPQPTBMΛ☑ IUUQTHJUIVCDPNTXJGUMBOHTXJGUFWPMVUJPOCMPCNBJOQSPQPTBMT USBOTGFSSJOHQBSBNFUFSTBOESFTVMUTNE IUUQT[FOOEFWNBUTVKJBSUJDMFTGDF
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 31 awakeFromNib
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` ղফํ๏
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` `@retroactive`ͳͥඞཁʁ
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` `ෳModuleͰProtocolΛ४ڌ͠ɺͦΕͧΕҟͳΔ࣮Λ͢Δͱɺ ҙਤ͠ͳ͍ڍಈʹɻ ։ൃऀࣄͰͲ͏ͯ͠ඞཁͳΒɺ`@retroactive`Λ͚ͭͯ swift 6ܥͰͷBuild ErrorΛճආͰ͖Δ( = ಀ͛ಓ)ɻ
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` `ෳModuleͰProtocolΛ४ڌ͠ɺͦΕͧΕҟͳΔ࣮Λ͢Δͱɺ ҙਤ͠ͳ͍ڍಈʹɻ ։ൃऀࣄͰͲ͏ͯ͠ඞཁͳΒɺ`@retroactive`Λ͚ͭͯ swift 6ܥͰͷBuild ErrorΛճආͰ͖Δ( = ಀ͛ಓ)ɻ 4XJGU͔Β༻Մೳ
ৄࡉ1SPQPTBMΛ☑ IUUQTHJUIVCDPNTXJGUMBOHTXJGUFWPMVUJPOCMPCNBJOQSPQPTBMT SFUSPBDUJWFDPOGPSNBODFXBSOJOHNE
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 40 awakeFromNib
awakeFromNib
awakeFromNib
awakeFromNib
·ͱΊ 03
·ͱΊ • Xcode 16ͰେྔͷWarning͕ग़Δ
·ͱΊ • Xcode 16ͰେྔͷWarning͕ग़Δ • ProposalΛಡΈਐΊΔͱཧ༝͕Θ͔Δ
·ͱΊ ਏ͍͚Ͳ͕ΜΖʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ 48