Category "xcode"

Why is ForEach not changing my Foreground color correctly in SwiftUI?

I am trying to make a simple Todo app and I'm trying to implement a feature where if I click on a row, the foreground color will be change. However, I have two

Failed to package flutter xcode

I am trying to run my flutter project on my ios device, but I got an error in the xcode that says "Failed to package /Users/user/StudioProjects/project." Any so

Why is not my Xcode build shown in TestFlight tab of Apple's App Store Connect

I don't see my build kPdiag8 within App Store Connect > TestFlight tab's build list. Step 1. I created a test app in Xcode then built > archived > dist

Simple app for tvOS - but not simple for me. Looping my movie

I'm total newbie in coding and are trying to make a small app for my own. This is working as I want but I've no idea how to make the movie loop? Tried to look e

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.