Category "xcode"

React Native iOS build fails - Mac M1

I created a react-native project and added Firebase libraries to it. After which when i try npx react-native run-ios the build fails with below message. Compile

"Undefined Symbol for architecture arm64"

Im new to swift programming. Im building a tic tac toe app for practice. when I want to run the app, the build fails with the error message: Undefined symbols f

Unable to install Pod in Mac M1 pro

I was getting this error when I tried to run pod install require': dlopen(/opt/homebrew/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried

FB_SONARKIT_ENABLED=1 flag not working when initialising Flipper in iOS app (iOS NO APPLICATION SELECTED)

I followed all the steps from: https://fbflipper.com/docs/getting-started/react-native-ios/ (both automatic and manual installation). FB_SONARKIT_ENABLED=1 does

UITableViewCell does not show cell until I navigate to parent view controller and come back

My tableview does not show cell data until I tap on back button and return to table view controller. My app is loading data from Firebase. class ViewPostsViewCo

What are the best practices to display hardcoded pre-made long texts in an xcode project?

This will soon be my first time publishing an iOS app, and I just finished writing my privacy policy and terms & conditions texts. Best idea I came up with

How can make a record when call coming and calling to other side in swift

When I make project with AVFoundation library it is possible to make recording my voice. But when call comes and when I call the somebody record being disabled

Gap glitch between navigation bar and table view only on iPad

This issue does not exist when my app is run on the iPhone, and it also doesn't exist in the simulator, but whenever I run the app on my physical iPad this weir

Unable to select files form UIDocumentPickerViewController Swift

I am working on UIDocumentPickerViewController() in swift. After opening the document picker the files and images look blur and I can't able to select anyone of

How do I Set Unselected Tab Bar Item Color using Swift in Xcode with an iOS 15+ Device?

I'm trying to customize a UITabBar using Swift in Xcode, however I can't figure our how to set the color of the unselected items using the menu on the right sid

Simple function for a customised label

I'm trying to write a most basic function that will set the parameters of a label. First I set the position where I want to put a label: var xCircularPos = UISc

Disable drag to select on PHPickerViewController in iOS app

I am using a PHPickerViewController in an iOS app. I want the user to be able to select multiple media, however I am noticing that it is easily to inadvertently

Custom UIButton -> part of title disappears after click

I created custom button subclassing UIButton. I set custom font for titleLabel. After tapping on custom button, the part of title disappears. Without setting cu

Broken project in XCODE objective c

Hi, Does someone have a clue what is the reason for this broken project in xcode 13.3.1 The tab with the project settings, properties is empty!!! Check the scr

How to convert a date string with optional fractional seconds using Codable in Swift?

I am replacing my old JSON parsing code with Swift's Codable and am running into a bit of a snag. I guess it isn't as much a Codable question as it is a DateFor

Text not updating when variable updates in SwiftUI (Swift 5, Xcode 13)

I have this variable, timeRemaining and when a button is pressed it should subtract one from timeRemaining. I want the Text to update whenever the user clicks t

How to resolve expected declaration error in swift?

I am new to swift and am trying to build an app. I am receiving "Expected Declaration" error on Xcode when I type the following code. .edgesIgnoring

xcode does't generate .h file for swift framework project?

I created a framework writting on pure swift , but I cant find any .h file of public class . shouldn't Xcode generate .h file automaticly? here is project struc

Lokalise: How to change default NSStringFormatValueTypeKey

The default NSStringFormatValueTypeKey property in Lokalise always returns the string li. In my code, the string d. When exporting the modified stringsdict fil

Xcode clean build folder command not working

Not sure what happened but suddenly, my xcode clean build folder option under Product -> Clean Build Folder no longer works. Instead it gives me an error: Co