Category "xcode"

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

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