Category "xcode"

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

Xcode13 how to see pre and post build action logs?

similar question to this thread but that thread is very outdated (Xocde4) on Xcode13. How do you see logs of a pre and post build action? I am running a script

SceneKit – Why does adding spot light blacken the floor?

Screenshot #1 shows a simple SceneKit scene with only an ambient light (explicitly added, not the default one). Screenshot #2 shows what happens after adding a

framework not found GoogleMapsCore Error

I'm using cocoapods in my project and I have googlemaps(2.5.0) and googleplaces(2.5.0) in my podfile(which I've installed with 'pod install'). However, I'm ge