Xcode15 Fix Xcode 15 DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead In Xcode 15 Apple changed the variable which points to the default toolchain location to $TOOLCHAIN_DIR from $DT_TOOLCHAIN_DIR. If some project/target used $DT_TOOLCHAIN_DIR then it need to be replace by $TOOLCHAIN_DIR. 1. Find DT_TOOLCHAIN_DIR Reference To find out where in your...
Swift Execute async/await method from Swift Command Line (CLI) Application Call an async/await function (with or without throws) from the Swift Command Line Application using the spacial @main attribute to prevent the CLI application from exiting before the asynchronous operation completes....
WireGuard How to set up WireGuard Client on Debian? WireGuard is an extremely simple yet fast and modern VPN. Setting up the WireGuard VPN client on Debian is straightforward. In this tutorial, we will set up WireGuard VPN client on Debian using nmcli. 1. Install WireGuard First of all, we need to install the WireGuard on your Debian Desktop/...
SwiftUI SwiftUI focusSection - UIFocusGuide Alternative for SwiftUI? Use the focusSection view modifier in SwiftUI as an alternative to the UIFocusGuide in UIKit to focus diagonally in tvOS apps by creating larger logical focus targets....
SwiftUI How to Create Custom Environment Values in SwiftUI? Create custom environment key values in SwiftUI using EnvironmentKey protocol and EnvironmentValues extension. The Environment property wrapper can read custom environment key values....
WireGuard How to set up WireGuard Client on Ubuntu? Install WireGuard Client on Ubuntu and import WireGuard VPN config file to connect with WireGuard VPN Server. Manage Ubuntu WireGuard Client using network manager CLI and GUI tool....
SwiftUI Implement Push Notifications in SwiftUI Application Add AppDelegate class with push notification callback functions to the SwiftUI app and link it with the SwiftUI app using the UIApplicationDelegateAdaptor property wrapper....
iOS Test Development/Production Push Notification using Apple Push Notification Console Apple announced the new Push Notification Console for testing the Development and Production push notification. The new Push Notifications Console makes it easy to send test notifications to Apple devices through the Apple Push Notification service (APNs). You can access logs that provide insights into the delivery process and leverage...
SwiftUI Add AppDelegate to SwiftUI app When we create a new SwiftUI project in Xcode then it doesn't include the AppDelegate which we might need for different functionality like push notifications. The new SwiftUI main app file looks like this - import SwiftUI @main struct SampleApp: App { var body: some Scene { WindowGroup { ContentView() } } } In order to...
iOS How to get a unique device identifier in iOS devices? As you might be aware, Apple puts lots of restrictions on unique identifiers because of privacy concerns. But in this article, we will look at some of the available options which can use to uniquely identify Apple (iOS, tvOS, and macOS) devices. 1. Store unique device identifier in KeyChain We...
Video Streaming Media (Video) Debug Tools and Tutorials 1. debug.video debug.video is a wrapper for ffmpeg and ffprobe which helps to debug the HLS and DASH streams. It supports opening different variants of manifests, downloading segments, concatenating those segments with init segments, etc. This is free to use and open source. See the debug.video website...
iOS External Link Account Implementation Guide (Reader Apps) Apple allows a subset of applications to link to an external website where users can create or manage accounts. This only allows for "Reader Apps". In this article, we'll see what are the steps to implement the "External Link Account" in an application....