Category "xcode"

SwiftUI Navigation Title Text Priority (of two texts)

I have two texts that I would like to display in a navigation title: ... .navigationTitle(Text(getTitle()) + Text(" (\(selection + 1)/\(sequenceObject.h

How to get GPU Energy cost in XCode?

My unity game is getting very hot quickly, So I use XCode Energy Impact to test the energy use for it on iPhone8. In Debugging Gauges, Click Energy impact, I ca

Xcode 13: How to add library search path for "library not found for"

When building a React Native 0.66 project today (used to be working), there is error complaining about library not found for a module which is located at my-pro

App rejected due to UIRequiredDeviceCapabilities key

I just developed an iOS app which is used WebView features by Flutter framework and after several submitting to upload it into App Store, it was rejected due to

K9s can't open because 'po' command not found

I was using k9s during work and when I try to start it, I got the error message : Boom!! app run failed 'po' command not found. I searched for how to reinstall

Flutter error building for iOS "ld: framework not found"

I've been working for a few weeks on a Flutter app which I run on Android and iOS. It worked well until some days ago I upgraded the flutter version and some pa

SwiftUI Custom List Cell - disable horizontal padding/shrink in EditMode

I'm trying to create a custom List cell in SwiftUI, where the drag-icon in Edit Mode stays inside the cell. By default, the cell gets horizontally shrinked do m

LUA psvita TOUCH boton

I'm learning Lua, but I don't understand how to create a button? http://onelua.x10.mx/vita/docs/es/group__touch.html my reference if touch.front.count(

Swift: Unit testing delegate methods with 3rd party class as an argument

I know how to unit test with 3rd party dependencies by extending the class with your own protocol so that you can inject a mock dependency that implements that

How can I make swift package management make offline? Every time I open a project, it begins downloading, which takes longer when the project is huge

Every time I open a project, it begins downloading, which takes longer when the project is huge.

Command PhaseScriptExecution failed with a nonzero exit code - Failure to install app on physical device

I develop app in Flutter. It runs smoothly on Android but fails to install on physical iOS device. However, on iOS simulator no issues. I know this problem has

How do I automatically switch to the iOS custom keyboard when entering my app?

I would like when entering my app to automatically switch to my custom keyboard like the Facemoji app. Is this possible to force user to open only custom keyboa

How to use Image Literal in Xcode 13

The most used feature is missing in Xcode 13 Image Literal #imageLiteral() these commands do not seem to be working. A similar change has happened for Color L

How to open existing flutter project from Xcode?

I have an existing flutter project, which coded with VS Code. Now I want to open it from Xcode to do some configurations in Runner.xcworkspace. But it was unab

Flutter won't compile a release build of my app?

After working on this app I tried to build my app to iOS using the flutter run --release command. But whenever I do I get this error *Could not build the precom

React Native App throwing domain=FBSOpenApplicationServiceErrorDomain, code=3 Error

I've updated quite a few NPM packages in my React Native app and now even though it seems to build fine, it starts and immediately crashes on the iOS simulator.

"Image Literal" commands not working in Xcode

I started studying swift language n there is a command Image Literal to add an image but it's not showing up anything. other than that if I try any other coding

"The Developer of this app needs to update it to work with this version of iOS" pop up coming when launching Enterprise app for iOS 15

We have an enterprise account, and till iOS 14 there were no issues, but as soon as user update their phones to iOS 15, they are getting this alert. The Develop

How to draw line between two views in Swift

I want to Draw lines from one object to another object. Like a Matching object game. I want Swift language with UIKit Use. Here I attach the Sample Screenshot.

SwiftUI - proper use of @available() and #available

Am I missing something in the following code? This app builds (macOS Monterey b5 / Xcode 13 b5) and executes perfectly on an iOS 15 device -- but causes a SIGAB