Category "xcode"

In SwiftUI how can I clip a part of a view with another view?

I am trying to overlap two circles in SwiftUI and have a margin between them. I am presently using this method: ZStack { Circle() .frame(width: 60,

How do fix the "Cannot find 'NSFetchRequest' in scope error

I have tried to make an NSFetchRequest in many different ways and each time I get this error: "Cannot find type 'NSFetchRequest' in scope" Here are the specific

gitlab pipeline build server for ios

We're running everything in AWS, including our self-hosted Gitlab server. Now I am trying to create a pipeline to build and publish our IOS apps. Gitlab cloud d

Failed to prepare device for development. XCode 13.2.1, iOS 15.1

After upgrading the mac OS and XCode to 13.2.1 and iPhone to 15.1, the device stopped connecting to the mac. It kept showing the error as Failed to prepare dev

NSDocumentController.openDocument not allowing selection of custom file type

I suspect this is a finicky configuration issue that I'm getting wrong with Document Type / UTI declarations in my Info.plist, but have tried several things and

dyld`__abort_with_payload: Without an error message

When I start my app with Xcode, I have a crash, but without an error. The app is just stopping on this thread: What can I do to have more information about the

The data from Firestore database is not displayed in the tableview

I'm using Swift and Firestore database to implement an app like Twitter. I want to add sweet (it's like tweet) when button is clicked to the database. And then

Teamcity - CI/CD - iOS - xcodebuild - signing - No signing certificate "iOS Development" found

I have Teamcity installed with an Agent on a MAC. When I try to build the iOS project I have this error: error: No signing certificate "iOS Development" found:

Cannot find type 'ASAuthorizationControllerDelegate' in scope when archiving

macOS Monterrey 12.0.1 (21A559) Xcode 13.3.1 (13E500a) iOS app deployment target 10.0 I have been working with this app for a few years now, when the Apple auth

Positioning SKTileMapNode in Swift Spritekit

I tried to position the Tile Map so that the bottom left of it is attached to the bottom left of the screen. Below is the code i tried to use: func setUpSceneW

Unable to mount a developer disk image. iOS 15.4.1 - Xcode 13.3.1 (13E500a)

iOS: 15.4.1 , Xcode: 13.3.1 (13E500a), macOS: 12.3.1 (21E258) Hi, I was originally trying to remote debug in Terminal by: idevicedebugserverproxy -d 9999 then

How do I easily copy a filename and a line like "filename:line" in Xcode?

Does there a shortcut for copying the current cursor position's filename and line number in a "filename:line" format? For pasting it in a QuickOpen menu, you kn

SwiftUI - how to avoid navigation hardcoded into the view?

I try to do the architecture for a bigger, production ready SwiftUI App. I am running all the time into the same problem which points to a major design flaw in

Swift Package Manager could not be resolved all libraries, project

This error always happens whenever I add a new Package via Swift Package Manager in Xcode: Cannot fetch library I've already configured my GitHub Auth Token

SwiftUI / Xcode Error - Updating took more than 5 seconds

When I try to preview one of my views in the canvas I keep getting the following error: PreviewUpdateTimedOutError: Updating took more than 5 seconds All

ARKit/RealityKit – People Occlusion config not working

For some reason I can't get people occlusion to work, even though I looked at someone's question on Stackoverflow. Here is my code: //Load ARView let arView =

iOS ShareContext tapping on Suggestion Intent property of extensionContext is nil

I have a ShareExtension in my iOS app. I am trying to use Suggestions. I can successfully 'donate' the intent using the following code from the apple develope

Is there a way to change the name of a Safari app extension in Xcode?

I have created a Safari app extension through an Xcode target that I want to change the name of. Initially, when creating the Xcode target, I simply called it "

Godot export to IOS failed

i want to export godot project to ios project. But when exporting, i got this "Project /godot_ios.xcodeproj cannot be opened because the project file cannot be

ScrollView not covering entire screen in XCode

I'm running into an issue that has me rather puzzled. I have a UIView in Xcode with a ScrollView inside of it. I also have a UIView inside the ScrollView that I