Category "xcode"

Why is Xcode crashing when I try to preview?

Every time I am trying to resume my preview canvas in Xcode I get this annoying error. I tried restarting, moving the project to another location, and changing

State of an instance is not updating -- SwiftUI

So I have this structure Task which has a @State completion: struct Task:Identifiable{ var id: Int @State var completion:Bool = false var priority:S

xcodebuild gives an error for multiple implementation of AMSupportURLConnectionDelegate and AMSupportURLSession : "Which one is undefined."

When I want to run any xcodebuild action it gives me the following error while the Xcode ide is working fine on Apple M1. > xcodebuild -version objc[72320]:

Get the devices list from iPhone Bluetooth , including connected and unconnected devices

The Bluetooth search page of iPhone shows these offline Bluetooth headsets. I hope to get this list and show it in my app. Can I realize this function? How? th

How do I center an Image view in pdf format with SwiftUI?

I have a vector (converted to Pdf) that I want to use as my background for my app. However, the Image is aligned all the way to the left as you'd expect when us

Xcode is damaged and refuse to run the code

When I press "Build" and/or "Run" buttons in Xcode (SwiftUI), it shows me an error and I get this message: One of the paths in DEVELOPMENT_ASSET_PATHS does not

Unable to Update XCode: Not enough space [duplicate]

I am trying to update XCode from 11.2.1 to 12.4. I installed XCode from the app-store, so I am trying to update it from there itself. I have 2

Swift // MLDataTable error: Couldn't lookup symbols:

import Cocoa import CreateML let data = try MLDataTable(contentsOf: URL(fileURLWithPath: "/Users/allan/Downloads/twitter-sanders-apple3.csv")) I got this erro

Swiftlint can't be found on Apple Silicon xcode

When installing swiftlint with homebrew everything installs correctly but when I open xcode I see the message that swiftlint isn't installed. I read this issue

Cannot add Push Notifications to Debug in Xcode 13

I get the following error in the console when running the app: [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWit

Configuring compilers on Mac M1 (Big Sur, Monterey) for Rcpp and other tools

I'm trying to use packages that require Rcpp in R on my M1 Mac, which I was never able to get up and running after purchasing this computer. I updated it to Mon

Can't deploy Xamarin app to IOS device (Provisioning Profile: Missing Private Key)

I've paired to my Mac with Xcode version 13.3 I've renewed my Apple Development Membership (Individual) and got a < new Team ID >. In Visual Studio 2022 (

swift Xcode Secure Text Entry Asterisk not show when Screen Mirroring / Recording

I have checked the Secure Text Entry and entered "pwdTextfield.isSecureTextEntry = true" as the code. Therefore, I can see the asterisk well inside password tex

Ionic Capacitor (Angular) blank page ios when building from XCode

I'm building an app with Ionic 6 + capacitor. It works fine when testing on the browser and the Android build. However, when I try to build it using XCode it ju

Control centre blank on iOS Simulators - no airplane mode button

Since upgrading Xcode to version 12.3, all iOS simulators (iphone and ipad, versions 13 and 14) show a blank control centre when swiping down from the top right

How to create array of objects in firebase

I am working on a project developing a car rental app. The app can be accessed by admin and user both with different roles. So at the moment i'm saving the car

ld: entry point (_main) undefined. for architecture arm64

not sure what to do. i keep getting this message "ld: entry point (_main) undefined. for architecture arm64" I am unsure if it has to do with my process but I h

View hierarchy debugger only shows views frame

I have a very big problem with View hierarchy debugger in Xcode. This is my only project in which I have this behavior. When I capture the view hierarchy I only

iOS Framework addition failed due to a Cocoapods installation failure

when i try to build my unity project for IOS, Unity creates an error related with Firebase and Cocoapods. I could not find any solution. Can you please advice m

Xcode simulator: "/.app is not a valid path to an executable file"

Similar to Executable Not Found. xxx.app is not a valid path to an executable file, but the .app in the dialog message does not have a filename, there must be a