Category "xcode"

Failed to log metrics

There is no Buildtime or runtime error on my code. however, when I run the code it says succeeded and a black screen comes up. I get the following on my console

Why is are the images being cut off?

The images in my 'tiles' are being cut off at the sides. I am trying to create a tile for each 'product' that displays an image, name and subtitle. Everything n

Trying to stop APNS custom sound from finishing playing

We are playing a custom when we deliver a push notification like so. { "aps" : { "alert" : { "body" : "User 1 started a Meeting",

Xamarin.iOS can I have one class that some buttons can inherit from so they get the same looks?

I'm very new to Xamarin and I am currently working on a Xamarin.iOS project where I have added buttons in Xcode. How would I go about it if I want to style some

overrideUserInterfaceStyle not working in AppDelegate

I'm building an iOS app with the newest version of Xcode. If I set overrideUserInterfaceStyle = .light to a View Controller, it will get set to light mode, als

Implicit conversion loses integer precision after importing firebase package

I am getting 131 warnings of this type Implicit conversion loses integer precision... after I imported firebase packages to my Xcode project. The errors are poi

SwiftUI Preview incorrectly tries to build conditional dependency from another platform

SwiftUI Previews are broken for me when one of imported Swift Package has a conditional dependency to another platform. Steps to reproduce: Create Xcode Project

Could not find module 'PromiseKit' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator,

Could not find module 'PromiseKit' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: /Users/.../Library/Developer/Xcode/Der

macOS app crash on WKWebView() with EXC_BREAKPOINT on M1

Our app works properly when debugging on Intel machines but it crashes when we run on MacBook Pro with M1. App crash when we try to init WKWebView setUpWebView

Class X is implemented in both places One of the two will be used Which one is undefined M1

I use Mac M1 and After I upgrade Xcode 13.3.1 , I got this error when I make a build for the project: Class AppleTypeCRetimerRestoreInfoHelper is implemented in

Keeping texts of different sizes aligned at top as the dynamic type size increases

I'm trying to align texts of different sizes at the top so that they stay aligned when the Dynamic Type size changes. import SwiftUI struct ContentView: View {

WkWebview inside uiScrollview

I was wondering if you can help me please. I have a wkWebview that has horizontal paging content. Outside of that I have a scroll view that also has horizontal

How To Cycle Through Images on Button Click

So I have spent an embarrassing amount of time on this and I come to ask you to save my sanity. I am building an app to conduct evaluations on my blind and visu

Library not found for -lDJIWidget

I am attempting to run the sample developer dji application for the iOS platform via Xcode version 13.2.1. Upon building the application for the ObjectiveC and

Github Action: No signing certificate "iOS Development" found

The related issue is here: https://github.com/yukiarrr/ios-build-action/issues/74 UPDATE: there is no "iOS Development" inside any of the code in my project. An

Why can't I create an "In-App Purchase Content" target in XCode?

I am adding an in-app purchase to my iOS application that unlocks a feature to render images at a higher resolution. To achieve this, I would like to leverage A

How to set iOS simulator's default language in Xcode 13 & iOS 15?

When creating a new iOS simulator from Xcode and booting it up, it picks up its language from the macOS's keyboard language. Creating a simulator with an older

Xcode failed to log metrics boringssl

I'm building a simple Xcode project to help me calculate taxes. I'm requesting an xml url but getting the error: [boringssl] boringssl_metrics_log_metric_block

Performing a multi-finger swipe using XCUITest

I am working with an app that supports swipe gestures with multi-fingers (2 finger down swipe, etc.), and would like to simulate this in XCUITests. I see that X

Xcode program: Text box that the user can interact with through touch

I am new to Xcode and Swift. I want to create a text box for a video game that acts as the dialogue between the game and the user. for example I want the text b