Category "xcode"

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

Cannot assign value of type 'UIImage??' to type 'UIImage?' Swift 5

Why does swift(Xcode) requires a "!!" double exclamation mark after using randomElement() to an UIImage array, it by itself gives me an error. Example: someVie

Unable to resolve module react-native-blob-util

I'm facing this issue , when we run yarn IOS project - it is building successfully and and installing on simulator , while loading, metro bundler stops at some

Xcode 12 SwiftUI cannot find Automatic Preview

I am working on an app in SwiftUI in Xcode 12.2. I have accidentally deleted the Automatic Preview Tab. I cannot seem to find the option to bring it back. Here

Embedding/excluding certain SPM libraries in specific build configuration

Currently our project are utilising come libraries added through SPM which contains some forbidden symbols, e.g RxTest, so before uploading the build to AppStor