For example, I have code like this:
#if os(iOS)
let database = AppDatabaseManager.shared.getSharedDatabase()
#endif
The target of AppDatabaseManager is iOS, and the targets of this file are iOS and WatchOS, but insdie #if os(iOS) ... #endif,autocompletion of AppDatabaseManager does not work.
It works properly in XCode.
For example, I have code like this:
The target of
AppDatabaseManageris iOS, and the targets of this file are iOS and WatchOS, but insdie#if os(iOS) ... #endif,autocompletion ofAppDatabaseManagerdoes not work.It works properly in XCode.