Category "xcode"

SwiftUI : How to set image in MacOs?

please help me to set image in macOs application using swiftUI Here is my Implementation: import SwiftUI struct SigninView: View { var body: some View {

Xcode 10 app icon not showing

Recently updated to Xcode 10 beta and my App that previously has correct icon displayed when built and ran from Xcode 9.4 to device now shows the default blank

Fastlane Apple Generic versioning not enabled in this project

What I’m doing is trying to make bitbucket pipline do my iOS CD, I included docker fastlanetools/fastlane image and in the steps i pull and run the docker

LLDB RPC server freezes app

For the past months I have not been able to debug macOS or iOS apps through Xcode. What happens is the following: Build and run app from Xcode. Xcode says app

react-native app starting up slowly (ios)

I have a react-native app which is starting up very slowly on IOS (both on simulator and real device). It happens with both the debug build and the release buil

Picker's configuration is not a valid configuration, Swift

I am working on new image picker API provided by Apple in WWDC2020 named as PHPicker. I am getting this error when I select the image form the picker second tim

How to limit the number of results in a FetchRequest in SwiftUI

How can I limit the size of the retrieved FetchedResults when making a FetchRequest to CoreData? struct ContentView: View { var fetchRequest:FetchRequest&l

Incorrect Video Time using mpeg4AppleHLS swift

I am creating MPEG-2 video files using mpeg4applehls profile type in avassetwriter, the videos duration or start time are wrong. I create 5-second video segment

UNUserNotificationCenter need to willPresent code

I have an app written in Swift that uses UNUserNotificationCenter and I have it presenting notifications when the app is in the foreground. What I want to do is

Create a static library with React dependency

I created a library that uses the native navigation controller to navigate through react and native screens. The library is written in Swift and contains some o

Flutter: database is locked Possibly there are two concurrent builds running in the same filesystem location

Trying to run the app on my two iOS devices by doing flutter run -d all. However, I am getting database is locked Possibly there are two concurrent builds runni

use systemSound from SystemSoundID for UNNotificationSound

I am trying to add a sound to my UNNotification. Instead of my own custom sound or the default sound, I would like to use one of the iOS SystemSounds in AVFoun

How do i solve "Undefined symbols for architecture arm64" error?

I used the latest version of the AdMob plugin & unity Mediation plugin. but I still get this error, How do I solve the "Undefined symbols for architecture a

Segmentation fault: 11 (in target 'DKImagePickerController' from project 'Pods')

I'm developing IOS app from flutter. Everything working fine, suddenly I have received error SwiftCodeGeneration normal arm64 (in target 'DKImagePickerControlle

Metro has encountered an error: While trying to resolve module '@react-native/normalize-color'

I just wanted to try react-native.However, after run the script "npm run ios",I got this error in the Xcode's simulator. react-native version: v0.66.0, platfor

Getting the following error when I run npx cap sync to run an ionic Angular project in xcode

When i run npx cap sync to run my ionic angular project in xcode I get the following error. [!] The plist file at path `/Users/user/Documents/GitHub/project-nam

SwiftUI TextField with formatter broken when built with Xcode 13.3?

It looks like Xcode 13.3 broke the TextField with formatter. In example below the Text should show the value entered in the TextField, which works fine when bui

fixing Memory Issue in Swift

I'm having a memory issue while pushing/segueing to certain UIViewControllers [ChallengePrivacySettingViewC]. All of component of the ChallengePrivacySettingV

Error message: Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffeead03e18)

I'm creating an app and I get this error: Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffeead03e18). Whole code runs without any errors, it's just when I try to

XCode 13.1 Failed to generate coverage for target 'xx.app' at paths

Failed to generate coverage for target 'xx.app' at paths ( "/Users/bupozhuang/DeriveData/xxDemo-aacxrfgumjzqjncgymjnenzofsub/Build/Products/Debug-iphonesimulato