Caution
Don't use XCode 15.4
or must test UsrTests/testUsr success first
Currently, only Add Explicit Sendable
is allowed.
brew install mint
mint install yume190/Migration
migration \
--module "SCHEME NAME" \
--file Sample.xcworkspace
migration \
--module "SCHEME NAME" \
--file Sample.xcodeproj
# spm
migration \
--module TARGET_NAME \
--file .
# file
migration \
--sdk macosx \
--file xxx.swift
- Add Explicit
Sendable
- Commom
- Check all propery is
let
- Check all propery is
Sendable
- Exceptions
- @MainActor var
- nonisolated(unsafe) var
- Check all propery is
- Add
Sendable
tostruct
- Add
Sendable
toclass
- Add
final
toclass
-
open class
can'tfinal
- Check
class
no child class
-
- Check
class
notNSObject
- Add
- Add
Sendable
toenum
- Commom
- Add
@MainActor
- find caller
- find exist
@MainActor
structure - find exist
@MainActor
instance property - find use
@MainActor
instance property - find use
@MainActor
call function
-
sending
? -
@retroactive
?
- deinit
- objc