Category "xcode"

iOS 13.4 simulator Capture Cursor issue

Xcode 11.4 brought with it a totally new and powerful simulator with a separate toolbar, and this toolbar contains a few buttons and the first one is called Cap

Getting error line 132: ARCHS[@]: unbound variable

I have Xcode 13.2, App Deployment target 12.0, Swift version 4 Getting line 132: ARCHS[@]: unbound variable error while running in the real device. In the simul

Generate xcode .stringdict file from script

I am trying to create a script (the language is not relevant, but it is a mix of node/js and bash) to generate plural localization files for xcode known as .str

How can I set “Other Linker Flags” to include -ObjC with CMake?

I am trying to generate an XCode project with CMake, but I can't define "Other linker flags" in project settings. I have tried using the following: set(CMAKE_SH

iOS launch screen for light and dark modes

I follow the instruction in RSP-12931: Native resolution not supported on iPAD Pro to create an iOS LaunchScreen for my Delphi app. Now, with iOS 13, the proble

Comparing non-optional value of type 'Bool' to 'nil' always returns true

I have an if-else statement where I am checking if the value coming from user defaults is nil or not like this: if defaults.bool(forKey: "abcd") != nil{

How to get Text width with SwiftUI?

I would like to underline a title with a rectangle that should have the same width as the Text. First I create an underlined text as below: struct Title: View

Latest version of Xcode stuck on installation (12.5)

I just updated my mac to macOS Big Sur, and am trying to update to the next version of XCode. It has been on 75-80% progress for hours: Also, when I go to laun

Library not loaded: @rpath/hermes.framework/hermes

I have enabled Hermes in my react-native(v0.64) Application. Everytime I run app I get following stack trace. dyld: dyld cache load error: shared cache file ope

Errors when installing cocoapods with gem

I am using macOS Mojave and when I try to install cocoapods using gem I am getting the following error. Building native extensions. This could take a while

Build error while building Flutter in iOS

When I run flutter build iOSI get the following error: Steps I've tried: flutter clean flutter pub get Deleted Podfile.lock Note: Android builds successfully

Build error while building Flutter in iOS

When I run flutter build iOSI get the following error: Steps I've tried: flutter clean flutter pub get Deleted Podfile.lock Note: Android builds successfully

Export ipa file fails

Using Xcode v11.3 I try to export my .IPA file and get this error. An error occurred during export. The data couldn’t be read because of it isn&rsqu

Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max

My problem is I cannot start debugging on iOS simulator for some reason. I have tried several solutions it helped in their ways I guess but the problem is not g

Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max

My problem is I cannot start debugging on iOS simulator for some reason. I have tried several solutions it helped in their ways I guess but the problem is not g

SwiftUI: how to create custom UIDatePicker?

I succeeded to create UIDatePicker inside SwifUI, but when I change the date wheel in picker the date value not update, here is my code: struct DatePicker: UIVi

New RN project in M1 mbp built failed. "Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable."

System: OS: macOS 11.3 CPU: (8) arm64 Apple M1 Memory: 124.86 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.0.0 - /opt/homebrew/b

Where's the particle system file in SceneKit in Xcode 11.3.1

Recently I updated my Xcode to 11.3.1. But while working with SceneKit, I found that I can't create a particle system file. Before After How can I create a

Xcode fails to build KMM project due to shared:linkPodDebugFrameworkIos

I am building a small project with KMM, it builds perfectly fine on android but cannot build it in XCode. Cocoapods was also installed an genereted without any

Metal kernel function not found

I am trying to use Metal Performance Shaders with Core Image. Unfortunately, the filter code is in Objective C and I am using the bridge to make it work with th