Category "xcode"

Xcode 11 beta swift ui preview not showing

Just playing with Swift UI basic app and the preview canvas is not showing even though I'm in canvas mode. App runs, and I have this little snippet what am I mi

Unabled to create single view ios app in xcode

I am new to ios/xcode and I was trying to follow through the new SwiftUI tutorial. The first one has you create a ios single view app . However when I go to xco

XCode Simulator Path in XCode 13.2

I tried to download manually the iOS Simulator 15.0 but I don't know where should I put the .dmg file or iPhoneSimulatorSDK15_0.pkg file, Does anyone have any i

Interface Builder in Xcode 11.6 (11E708) displays storyboards in XML format

I am currently running Xcode version 11.6 and for whatever reason Main.storyboard displays only XML version. I tried to Google around a bit but unfortunately fo

Xcode: Own Swift packages missing in Schema selector

I have some SPM swift packages as part of my swift project. After some Xcode crashes, those packages don't appear in the Schema selector (black arrow in image)

Xcode 13 UI Previews folder takes too much space

I have a 250Gb M1 Mac Mini and it is starting to run out of disk space recently, it seems like the UI Previews is the main culprit which takes roughly 165GB spa

automatic delete token in userdefaults after 6 hours in swiftui

I have two apis Login DataShow when i login server gives me token which remains valid for only 6 hours and i am saving it in userdefaults, so that user will not

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