Questions tagged [xcode11.4]

109 questions
0
votes
1 answer

unable to spawn process '/usr/bin/touch' (Exec format error)

Strange error encountered. I never faced this issue while building iOS project in Xcode. Is anyone have any idea about this about how to solve this problem.
0
votes
1 answer

SwiftUI "un-bind" a string from a textfield

I’m trying to store a string from a textfield into a Realm DB. Somehow it doesn't save just the actual string, instead it saves some kind of metatext from the binding: Binding(transaction: SwiftUI.Transaction(plist: []), location:…
Daniel
  • 568
  • 3
  • 15
0
votes
1 answer

SwiftUI | Access PickerView selection from another SwiftUI View

I tired to build a multicomponent picker based on user3441734 solution for a dynamic picker. This picker lives in its own .swift file. I can’t figure out how to save the selection in a variable to access it from another view again. Here is my code…
Daniel
  • 568
  • 3
  • 15
0
votes
0 answers

iOS 12 present(fromrootviewcontroller) causes app to freeze

Very confused about an issue I've just stumbled across. I have a swift game, mainly using SpriteKit. At the end of a game an ad is loaded. Or when the user decides to end the game an ad is also loaded. If the game is played normally. The flow is as…
jdez
  • 57
  • 1
  • 7
0
votes
0 answers

Initializer for conditional binding must have Optional type, not 'URLResponse'

Currently, I am create a demo of MVVM in swift so now i am facing issue on get response from server like "Initializer for conditional binding must have Optional type". Check my error I am searching many more in google and stacoverflow. Reference…
Chandan Jee
  • 5,440
  • 4
  • 16
  • 24
0
votes
1 answer

Mac Catalyst ITMS-4241 error uploading binary

I have an existing iOS app with the bundle ID X. I was a few days early to the party, and just before Xcode 11.4 was released (having heard that Apple was now going to support Universal Purchase) I tried to create a Mac Catalyst version, with the…
andygeers
  • 6,909
  • 9
  • 49
  • 63
0
votes
1 answer

Xcode 11.4 and Canvas not showing using SwiftUI

I am on Xcode 11.4, macOS Catalina and developing in SwiftUI solely. App has already been shipped and now I need to use the canvas which I got rid of before, switching it off and deleting the Preview Provider. Now I have enabled the Canvas and…
user3238267
  • 75
  • 1
  • 6
0
votes
1 answer

multiple pickerview didSelectRow error in Swift

I have 2 pickerviews, 1 pickerview is to select a crypto-currency from an Array and the other pickerview is used to select a currency from an array. The problem I am having is when I run the app on simulator and select the cryptocurreny in…
galvatron
  • 21
  • 3
0
votes
2 answers

Lexical or Preprocessor issue: 'realm/keys.hpp' file not found

I recently switched to Xcode 11.4 and using Swift 5. I run pod install, Realm and RealmSwift installed with the latest version till date. Now when I run the project, its showing me an error: ..../Pods/Realm/include/binding_context.hpp:24:10:…
iAkshay
  • 1,143
  • 1
  • 13
  • 35
0
votes
1 answer

Why my Xcode macOS app connects to an unknown remote server

a quick question for what is strange behavior in my opinion. I'm developing an app which, for the moment, is meant to run fully locally, with no network access at all. Well, since when I've introduced some 3d graphics I'm having this in the…
user4096537
0
votes
1 answer

Lanscape mode not working in iphone with xcode 11.4

I am trying to rotate the screen to landscape but facing issue. Now , what I am facing is when I am connected with USB for debugging it is working perfectly but , when I remove USB and then test my application then I am unable to get orientation…
Pulkit
  • 606
  • 1
  • 9
  • 19
0
votes
2 answers

CircularSpinner Version in Swift 4 or 5 in Xcode 11.4

Did someone used CircularSpinner for iOS?I used Circular Spinner in Xcode 10.1 with Swift 3 version is oK. I am facing issued after installing Pod, pod 'CircularSpinner' Error is Installed version is Does I need to add version to fixed this Pod…
Sabai Phoo
  • 358
  • 1
  • 4
  • 20
0
votes
1 answer

SwiftUI: Why can't I have more than one TextField in a single HStack?

I am wanting to have two editable TextFields sitting next to each other on an iOS app in an HStack. However, I get an error ("Static member 'leading' cannot be used on instance of type 'HorizontalAlignment'") whenever I put this into my View…
CoderHelp
  • 9
  • 5
0
votes
3 answers

failed to produce diagnostic for expression, Xcode 11.4, Moya

After updating to Xcode 11.4, I started to get this error Failed to produce diagnostic for expression please file a bug report On: let provider = MoyaProvider(requestClosure: requestClosure) I updated Moya but it doesn't look like the…
Tal Zion
  • 6,308
  • 3
  • 50
  • 73
0
votes
2 answers

Swift · Dismissing Modal ViewController and reload tableview afterwards

this is my first iOS App. I’m using a Modal ViewlController to save new list entries. Unfortunately I can't manage to update the tableView with the new entry afterwards. Here is a screen cast o the current state of the app. I tried other solutions…
Daniel
  • 568
  • 3
  • 15