Category "xcode"

Control centre blank on iOS Simulators - no airplane mode button

Since upgrading Xcode to version 12.3, all iOS simulators (iphone and ipad, versions 13 and 14) show a blank control centre when swiping down from the top right

How to create array of objects in firebase

I am working on a project developing a car rental app. The app can be accessed by admin and user both with different roles. So at the moment i'm saving the car

ld: entry point (_main) undefined. for architecture arm64

not sure what to do. i keep getting this message "ld: entry point (_main) undefined. for architecture arm64" I am unsure if it has to do with my process but I h

View hierarchy debugger only shows views frame

I have a very big problem with View hierarchy debugger in Xcode. This is my only project in which I have this behavior. When I capture the view hierarchy I only

iOS Framework addition failed due to a Cocoapods installation failure

when i try to build my unity project for IOS, Unity creates an error related with Firebase and Cocoapods. I could not find any solution. Can you please advice m

Xcode simulator: "/.app is not a valid path to an executable file"

Similar to Executable Not Found. xxx.app is not a valid path to an executable file, but the .app in the dialog message does not have a filename, there must be a

Cannot assign value of type 'UIImage??' to type 'UIImage?' Swift 5

Why does swift(Xcode) requires a "!!" double exclamation mark after using randomElement() to an UIImage array, it by itself gives me an error. Example: someVie

Unable to resolve module react-native-blob-util

I'm facing this issue , when we run yarn IOS project - it is building successfully and and installing on simulator , while loading, metro bundler stops at some

Xcode 12 SwiftUI cannot find Automatic Preview

I am working on an app in SwiftUI in Xcode 12.2. I have accidentally deleted the Automatic Preview Tab. I cannot seem to find the option to bring it back. Here

Embedding/excluding certain SPM libraries in specific build configuration

Currently our project are utilising come libraries added through SPM which contains some forbidden symbols, e.g RxTest, so before uploading the build to AppStor

Create a share sheet in iOS 15 with swiftUI

I am trying to create a share sheet to share a Text, it was working fine in iOS 14 but in iOS 15 it tells me that "'windows' was deprecated in iOS 15.0: Use UIW

Undefined symbols for architecture arm64, it seems just randomly happened to some third party framework using cocoapods

What happened I used Cocoapods to manage some third-party frameworks I used some private spec repos More than one private repos have dependency on same third-pa

Flutter iOS: How to fix "Could not build module `firebase_core`"?

I have a flutter projecct. First it had to work on android and its working! Everything is cool. Time to make it work on iOS but I get the following error when I

How to build DocC documentation from CLI

So I have been browsing the web for a while now and can't seem to find an answer on how to build the native DocC Xcode documentation using a CLI command. Both t

Firebase Cloud Messaging with Apple push notifications stopped working when I changed my app Bundle ID

I have an App that I had to change the Bundle-ID for. Once I did this Push Notifications stopped working. I replaced the app on Firebase with one with the new B

Swift boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics

I just get an error "[boringssl] boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics" while to get JSON data from API link. Before it worked an

How to hide/disable 'My Mac (Designed for iPad)' Build Target - Xcode 13

Recently I moved to using an M1 Mac Mini as a build machine for Unity IOS projects through Xcode. Often I would use the Unity option to 'Build and Run' which wo

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