Post

Replies

Boosts

Views

Activity

Swift package dependency to the local repo with build tool plugin
Hi, I've created small tool as a build tool plugin. I want to attach example project to the repo. But when I try to add local dependency to the Example project, build tool is not visible. But it is visible when I link to remote repo directly from github. Github repo with Example app with remote dependency to the build tool plugin. https://github.com/PGSSoft/GitCommitInfoPlugin Adding a local dependency to Package.Swift in parent directory Trying select build in Build Phase pane. Build tool is not visible in the list but it is visible when I add remote repo. Is it bug or intended behaviour?
0
1
595
Oct ’23
iOS 14 NEHotspotNetwork fetchCurrent method completion block not called
Hi my app us using NEHotspotConfigurationManager to connect some local network. I have a logic in the app to check what is SSID of the current connected WiFi network. For this i was using CNCopyCurrentNetworkInfo function. But according to documentation it is deprecated and I should use NEHotspotNetwork.fetchCurrent(completionHandler:). The thing is that sometimes when i call this method the completion handler is not called so my app wait long time and nothing happens. Any advice what can be wrong or how to solved this? using Xcode 12.3, iOS 14.2 and iPhone 11.
12
0
11k
Dec ’21
privacySensitive() modifier for SwiftUI in UIHostingController
I want to hide some sensitive information when app is visible in the list of process on iOS. I observed that privacySensitive() modifier is not working for my app in case when view is embedded in UIHostingController. I works correctly for pure SwiftUI app. Can someone confirm this?, any workaround to make it working for my case.
Replies
0
Boosts
1
Views
334
Activity
Mar ’25
Swift package dependency to the local repo with build tool plugin
Hi, I've created small tool as a build tool plugin. I want to attach example project to the repo. But when I try to add local dependency to the Example project, build tool is not visible. But it is visible when I link to remote repo directly from github. Github repo with Example app with remote dependency to the build tool plugin. https://github.com/PGSSoft/GitCommitInfoPlugin Adding a local dependency to Package.Swift in parent directory Trying select build in Build Phase pane. Build tool is not visible in the list but it is visible when I add remote repo. Is it bug or intended behaviour?
Replies
0
Boosts
1
Views
595
Activity
Oct ’23
iOS 14 NEHotspotNetwork fetchCurrent method completion block not called
Hi my app us using NEHotspotConfigurationManager to connect some local network. I have a logic in the app to check what is SSID of the current connected WiFi network. For this i was using CNCopyCurrentNetworkInfo function. But according to documentation it is deprecated and I should use NEHotspotNetwork.fetchCurrent(completionHandler:). The thing is that sometimes when i call this method the completion handler is not called so my app wait long time and nothing happens. Any advice what can be wrong or how to solved this? using Xcode 12.3, iOS 14.2 and iPhone 11.
Replies
12
Boosts
0
Views
11k
Activity
Dec ’21