Category "xcode"

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

Disable dark mode on iOS app while still being able to get prefers-color-scheme from WKWebView

I'm using the newest version on Xcode for my iOS app. I don't want iOS to automatically change the colors in my app when device is in dark mode, because it does

Tried command 'pod install', this happened

I tried running pod install and this is what I received. [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are

Xcode 13.3.1 showing Build input files cannot be found error after changing my device

I recently changed my device from iPhone 8 to an iPhone 13 mini and tried to run my app on it but xcode is failing and showing me Build input files cannot be fo

Swift packages with the same name causing errors

I am trying to import two packages, both called PushNotifications, into Swift Package Manager. I need them both. However as they both have the same name I get t

How to move a view/shape along a custom path with swiftUI?

There doesn't seem to be an intuitive way of moving a view/shape along a custom path, particularly a curvy path. I've found several libraries for UIKit that all

Framework doesn't build for macOS target: no such module 'SomeFramework' & failed to build module 'MyFramework'

Hello guys, I faced a weird problem with my framework imported into my app. MyFramework uses some other frameworks like OpenSSL etc. I build MyFramework with t

ARKit - AR using ultra wide camera 0.5 on iPhone 13 Pro

Goal: An AR app using the ultra wide camera 0.5 on iPhone 13 Pro. Tried: The documentation is very scarce, and shows only how to switch between front or back ca

Why is ForEach not changing my Foreground color correctly in SwiftUI?

I am trying to make a simple Todo app and I'm trying to implement a feature where if I click on a row, the foreground color will be change. However, I have two