Category "xcode"

The connection to service named com.apple.fonts was invalidated on xcodebuild -resolvePackageDependencies

I am using fastlane to build my unity iphone application. It worked perfectly until all of a sudden i started getting the following error/warning during build:

SwiftUI - Unknown preview provider "ContentView_Previews_" when previewing. Happens in a brand-new project

I have this simple view. import SwiftUI struct ContentView: View { var body: some View { Text("Hello") } } struct ContentView_Previews: Previe

Why does NPM not work with installing styled-components? Why does Xcode build fail if I install with Yarn?

I am trying to start a React app with React Native CLI (also tried with Expo, both with a Yarn startup and NPM startup separately). This is the error NPM trying

Why does UIButton.setTitle change the font size?

I'm building an iOS app for a class, and I'm following along some instructions. The Edit button is connected to toggleEditingMode, but when I change the text, f

Passing An ObservedObject To Nested Child Views SwiftUI (SwiftUI Data Flow)

I'm trying to understand why passing an @ObservedObject variable does not work for nested child views. The data is able to be passed but the changes only reflec

Flutter error: No profiles for ‘xxx’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘xxx’

I am trying to test a Flutter app on an iPhone but I am getting the error shown below, This error happens during a build step. error: No profiles for

Create a Flutter module for desktop apps

Currently, when running the command flutter create -t module --org com.example app we are able to generate a Flutter module which we can add to a host parent ap

Xcode - iOS Simulator window is blank

I'm running the latest version of macOS Big Sur with Xcode 12.2 beta 3. I build my app for the simulator and it succeeds - but the simulator screen is blank. Th

Package resolution failed. Couldn't get the list of tags

Can't add new dependency via SPM and always see this error fatal: bad numeric config value 'null' for 'tag.forcesignannotated': invalid unit Clean derived da

IPHONEOS_DEPLOYMENT_TARGET is set to 8.0 Xcode 12 (Flutter)

I run my Flutter project in Android Studio, pod installation goes well but Xcode build fails at the end every time like 20/30 steps first of complete the whole

xcode_backend.sh: no such file or directory. Do I need to create this file?

My Flutter Project won't run on the ios simulator and is throwing this error: Launching lib/main.dart on iPhone Xʀ in debug mode... Running Xcode build...

Xcode error: Failed to prepare device for development

I have updated to Xcode 12.3 beta. device version is 14.2, but Xcode complaining: Errors were encountered while preparing your device for development. Please c

Why so many debug error using ARKit and RealityKit?

On my project I simply wrapped a ARView, setup a configuration and run it on my real device, when I start the app Xcode print out the following error debug mess

Undefined symbol: nominal type descriptor for Swift.UInt8

I am trying to run react native app in a Mac Mini with Apple M1 chipset.The project run well on intel based system but not running on M1. When I build I got fo

How to fix 'ReactCommon/CallInvoker.h file not found' after manual upgrade from v0.61.5 to v0.63.3

I had to manually upgrade react-native, because nix react-native upgrade failed. After following the Upgrade Helper for v.0.61.5 -> v0.63.3, ive cleaned my b

Center View horizontally in SwiftUI

How can I center horizontally a View (Image) in an HStack? I want a button to be left aligned and the image to be centered horizontally the view. Currently I ha

ITMS-90683: Missing Purpose String in Info.plist NSCameraUsageDescription

I upload my app in app store successfully. App store send me an email like this: App Store Connect Dear Developer, We identified one or more issu

Xcode Canvas for SwiftUI previews does not show up

I´m trying to get the new Canvas feature from Xcode 11 running, but the Canvas won´t show up. What am I doing wrong? This new Xcode feature should s

Library not loaded SDL2 using Xcode Version 13.3.1 on macOS 12.3.1

Am trying to learn SDL2 using Xcode Version 13.3.1 on macOS Monterey 12.3.1 Followed these steps: Downloaded/ran the dmg file and moved the extracted SDL2.frame

iOS: How to listen hotspot turn on, turn off notification events

I am working on an application where I need to observe the hotspot events e.g. there must be a callback when the mobile hotspot turn on also when turn off. I ha