Category "xcode"

iOS 15 - UIButtons checking themselves due to tableView.reloadData()

With the recent changes requiring builds to be done on xcode 13, we have run into a problem where on iOS 15 ONLY, UIButtons are checking themselves. In this par

Xcode 12.5 dyld issue with binary frameworks

I have a binary Swift xcframework which references two other open-source Swift frameworks (built from source). My framework along with its dependencies are buil

An error occurs when using MLDataTable to load data

I tried to create a word tagger model in Swift according to this tutorial in the latest XCode. But I cannot load data from a local file using MLDataTable. Here

Thread 4: Fatal error: 'try!' expression unexpectedly raised an error

I'm trying to learn to make an API call in swiftUI, I'm following the next tutorial https://www.youtube.com/watch?v=1en4JyW3XSI but the code is giving me an err

SwiftUI & WidgetKit: Why Intent Handler does not load saved data?

I'm building a Widget with dynamic configuration. I provide a dynamic list of options with an Intents Extension - inside Intent Handler (code below). However on

tvOS Table View layout Issues

I am using tableviews in my tvOS application. The screen is divided into 3 table views. The left and right table view is indenting the header, the middle has no

Delete Xcode and download again instead of making update?

I'm using Xcode 12.5 (12E262) on a MacBook Air with macOS Big Sur 11.5.1 (20G80). App Store says, there's a new update for Xcode. When trying to start the updat

SharingMusicPlayer.swift:12:79: Cannot convert value of type 'AVAudioPlayer.Type' to expected argument type 'AVAudioPlayer'

This is what I have in my singleton: import AVFoundation import Foundation class SharingMusicPlayer { static let sharingMusicPlayer = SharingMusicPlayer(ba

The code signature version is no longer supported

An app signed with a codesign version provided on an older macOS, like Catalina (10.15) will not run on iOS 15 because the lastest version you can install is Xc

Crash on dyld: Library not loaded: /usr/lib/swift/libswift_Concurrency.dylib running on simulator

I'm implementing a very basic task (download few files from a remote server) on an existing app, to exercise the new Swift Concurrency APIs. The task is done fl

Creating a macos windowless menu bar application with SwiftUI

I am looking for a solution to create a macos windowless menu bar application with SwiftUI. I have implement the function ralated to the menu bar, the problem i

How to enter the amount of shapes in for each identifiable loop SwiftUI

I am beginner in SwiftUI, updating my app and remaking it on SWIFTUI. Here is the screenshot what I had to do... Screenshot I've successfully done actually the

Xcode "Manage Version and Build Number" option

I have just updated to Xcode 13 Beta and I am about to upload my first build to App Store using this version of Xcode. This version of Xcode shows a new App Sto

React Native: 'shared_timed_mutex' error despite upgrading iOS deployment target

I'm getting the following error when I try to build my React Native project: Based on other posts, I tried to set the deployment target to 10.0 using this code

Getting errors when running AR App template in Xcode

Running Xcode 13 beta on MacOS 12 beta deploying to iPad Pro 4th gen running iOS 15 beta. In Xcode, I create an app using the Augmented Reality App, selecting d

'async' call in a function that does not support concurrency swift ios Xcode async/await

I'm trying to use async/await with Swift 5.5. I have my async function, but whenever I try to call it, I get this error: 'async' call in a function that does

Swift Switching from HTTPS to HTTP

This one's a weird one. I have a little API server that does some stuff that I want my mobile app to talk to. It has DNS and SSL correct configured, I can reach

Need to implement App Tracking Transparency?

I have the following in my AppDelegate //added these 3 methods func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:

MVVM in TableView Cell

hope you're well, i am working on an app which uses TableView for showing feeds to user using ViewModel and my ViewModel contains a variable which contains data

Weird issues with Clang and C++, and uniform initialization

I was attempting to compile and run the example on this page that explores function pointers as a function input. The example I was running was the 66 line one