Category "xcode"

How to know when SwiftUI keyboard search button tapped in .searchable search window

I am using the .searchable modifier in SwiftUI. Is there anyway to know when the user presses the search key on the keyboard? I know how to do this by using a

SwiftUI/Combine: subscribe to value change of @Binding

I have a view with a view model, and actions in this view can change the view model. To be able to break out logic into reusable pieces, I have part of the view

How to use Transfer Learning for Text classification in Apples Create ML?

I was watching https://developer.apple.com/videos/play/wwdc2019/428/, where Transfer Learning is used for text classification in Create ML. I wanted to do the s

Incomplete file/copyright headers in Swift Package with Xcode 12 / 13

Is there any way to automatically add package/target name and copyright + company name to the header when creating new files while developing a swift package wi

Xcode 13 is missing settings for location services under iOS15

I updated to Xcode 13 last night. Today I find that if I run the simulator for iOS 15 there is no location services settings under privacy, yet on my physical i

Xcode template doesn't pick the variable from popup

I'm writing an XCode template. Everything works perfectly fine if I use text value for the variable: <dict> <key>Identifier</key&

ERROR ITMS-90475: Invalid bundle, with RAD Studio

I created an app with RAD Studio. I'm trying to publish it to the App Store. When I try to upload it with Transporter application I verify the package and I obt

ERROR ITMS-90475: Invalid bundle, with RAD Studio

I created an app with RAD Studio. I'm trying to publish it to the App Store. When I try to upload it with Transporter application I verify the package and I obt

SwiftUI - 2 Handle Range Slider

Is there a way, using SwiftUI, to create a Slider with 2 handles? I'm working on a project that that requires settings a low and high point for a random value t

'FirebaseCore/FirebaseCore.h' file not found while building for Release Mode in Xcode Version 11.5 (11E608c)

I am able to run the app in Debug mode in XCODE and simulator without any errors. But when I build for Release Mode the build fails with below 2 errors: 'Fireb

While loop with NSFileManager directory enumerator not running

I am seeking help to understand why a tutorial I am following is not working for me. I am running macOS 12.3.1, Xcode 13.3.1. The project is in Objective-C and

While loop with NSFileManager directory enumerator not running

I am seeking help to understand why a tutorial I am following is not working for me. I am running macOS 12.3.1, Xcode 13.3.1. The project is in Objective-C and

Prevent fast lane from checking App Store latest build number and increasing it

When I set a build number in my Xcode project lower than the latest uploaded build. Fastlane changes build number for the produced build and set it to latest+1.

Problem with running IOS simulator for my flutter app

I'm trying to run my flutter app on the IOS simulator and its not working. So tried on the most basic flutter app (create my_app and then tried to run it) and n

Several animations in a collection view

I'm learning to animate collection views and currently use CollectionViewPagingLayout template. I want to use not only swipes for navigation in a collection vie

How to force Flutter to update my version and build number?

I've changed my version in pubspec.yaml to 1.0.1+1 (from 1.0.0+3) flutter clean flutter build ios When I open [project]/ios/Runner.xcworkspace it still shows me

Code Signing issue when Archiving using Fastlane in Github actions

Recently we have migrated all of our iOS projects from GitLab to GitHub. However when we are trying to build the code using GitHub Actions(Fastlane) In our self

How to dynamically get the UID of the IOS simulator device and then install in that device

How to dynamically get the UID of the IOS simulator device and then install it in that device. I currently have this BASH script which does the job, however, wh

Unity Firebase on IOS lFirebaseCore is not found error

i am importing my unity project to xcode to compile. I imported Firebase SDK in unity and exported for ios. But on build i am getting the following error. ld: l

EXC_BREAKPOINT with very large line number value in crashlytics swift/ios

I am getting a worrying amount of EXC_BREAKPOINT crashes in crashlytics for my iOS swift app. I tried fixing the bug by looking at the method 'populate(user:wi