1,306
questions
-1
votes
1
answer
71
views
How to Save deleted rows after closing application from background?
I'm trying to create A TODO List app .. I'm saving user inputs in UserDefaults and its working while I'm closing the app from home button. but when I remove the app from the background apps all what I ...
1
vote
0
answers
116
views
After installing Google Maps SDK failed to build project
I am integrating a Google Maps API. I have created a new project, installed a Google Maps pod, opened xcworkspace and built a project. It is giving following error:
Ld /Users/nxgen/Library/Developer/...
-1
votes
1
answer
560
views
How to using Xcode 11 to running app on iPhone 11 with iOS 15?
I want to using Xcode11 to test apps on my iPhone 11 with iOS 15 installed, but currently seems the Xcode11 cannot identify the device. I don't want to install the latest Xcode 13 nor upgrade my macOS,...
-1
votes
1
answer
141
views
How do I reference a capture group in Xcode 11's Find and Replace?
After creating a capture group using the + button in Find and Replace in Xcode 11 I can't figure out how to reference that group in the "With" field. No matter which field is focused when I ...
0
votes
1
answer
5k
views
fatal error: 'React/RCTBridgeDelegate.h' file not found #import <React/RCTBridgeDelegate.h>
This is app on react-native for ios, I want improve it with push-notifications using firebase. But it's crushes when i build project by command "react-native run-ios" or by xcode. I looked ...
2
votes
0
answers
234
views
Xcode12.5 - Archive export for `development` failing by `The data couldn’t be read...`
Archive Export is failing on Xcode12.5
Using Xcode12.5 on Intel macbook. Steps:
Archive the app for generic devices is successful.
Upon selecting export and choosing Development. Noticing an error ...
3
votes
0
answers
192
views
ERROR ITMS-90034: Unable to process application at this time due to the following error: Missing or invalid signature
I am trying to upload my react-native project on Xcode 11.3.1 to the App store and keep running into the error: Unable to process application at this time due to the following error: Missing or ...
1
vote
0
answers
15
views
Easy question on how to get rid of the Xcode navigation bar in the Main.storyboard? [duplicate]
I can only find youtube tutorials on adding navigation bars not removing them. I am creating an Xcode app and the navigation bar is blocking one of my images that is total unnecessary to be there when ...
0
votes
1
answer
294
views
XCode 11 crash after adding iOS 14 device support
My XCode version is 11.1 and the iPhone OS version is 14.0.1. To run apps on iOS 14
device, it requires XCode 12.
An alternate option to support iOS 14 in XCode 11, is to add Device Support. So I have ...
0
votes
2
answers
958
views
How can I migrate my application from IOS 13 to IOS 14?
I run my application with xcode11 and can publish it. However, I saw the following announcement published by apple;
"Starting April 2021, all iOS and iPadOS apps submitted to the App Store must ...
0
votes
1
answer
221
views
Xcode 11 Swift5 Macos adding storyboard segue creates unwanted triggered action
I have migrated my MacOS app to Xcode 11 and Swift 5. All is (was) well. However, I am trying to add a segue in the storyboard and when I do it automatically creates a new Connection that is an action....
0
votes
0
answers
1k
views
xcode 11.4 does not work on new m1 mac Big Sur(11.2.3)
I am not able to open Xcode 11.4 in Mac OS 11.2.3 M1.
Always get this error:
The version of Xcode installed on this Mac is not compatible with macOS Big Sur. Download the latest version for free from ...
0
votes
2
answers
803
views
When rotating simulation, content does not resize. Xcode 11
When I run my app simulation in Xcode 11, it works fine (portrait or landscape). But when I rotate, it doesn't resize to the appropriate constraints I set for that orientation.
Sim in portrait
Sim in ...
1
vote
1
answer
386
views
Ionic Macincloud
Edited as I found the solution.
It's an Ionic app, which runs completely well on Android. I don't own a Mac, so I'm using Macincloud. Have followed the steps for IOS and can send it, via Dropbox to ...
0
votes
1
answer
213
views
Not able to add UISearchBar in HeaderView(tableview's header view)?
Not able to see the searchBar in tableView section header
everthing is done programmatically no storyboards used
import UIKit
class ConversationsViewController: UITableViewController {
...
0
votes
1
answer
515
views
XCode 11 : Embedded Binaries Framework Inside Framework Project
I made a new framework project that contain other frameworks. In older version of XCode, I can put the other framework in "Embedded Binaries" section in General so whenever it archived it ...
0
votes
1
answer
1k
views
How to get the configurations of current running XC Test plan programmatically?
Problem Statement:
My Test flow will depend on the type of configuration that is currently running for a test plan.
I want to get the configuration name and environment variable entries of the ...
0
votes
1
answer
52
views
I have Run into a weird problem while making a basic tableview with automatic rowheight
My cell looks like this :
class listofJobsTVC: UITableViewCell {
let jobName = UILabel()
let jobNumber = UILabel()
let jobDescription = UILabel()
let jobStartDate = UILabel()
...
0
votes
1
answer
618
views
Elements not adding to UIStackView , programmatically?
I was trying to make a sorting Visualizer in Live playground so I created a stack view but when I try to add UIView (as the sticks in that visualiser) they do not get added in my stackView , Below is ...
2
votes
1
answer
203
views
Upside-down Orientation in Runtime
I recently redesigned a view controller in storyboard, which before the redesign was portrait. Once redesigned, it ran upside down, with no code changed. I must have pressed something but have no idea ...
0
votes
0
answers
744
views
how can I set identifier for an xib file
I'm trying to transfer data using protocol from this xib file called:OverlayPopUpView and it's of type UIViewController to another ViewController but I can't access access xib identifier in The ...
0
votes
2
answers
58
views
Declaration is only valid at file scope how to fix?
I have a Problem in my swift file.
Im trying to follow a tutorial on Youtube and he doesn't get the error.
Here is the code:
class ViewController: UIViewController, CLLocationManagerDelegate {
...
3
votes
3
answers
8k
views
QtCreator fails on MacOS SDK 11.1
I have Qt5 from brew in:
/usr/local/Cellar/qt5/5.15.2/bin/
I use QtCreator 4.12.82.
I have MacOS Big Sur 11.1 with XCode installed in
ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX....
1
vote
2
answers
493
views
how to resize a view in live playgrounds ?? Xcode
I am planning to create a live playground for coming wwdc scholarships but I have no experience in creating live playgrounds because I have worked with single view apps so far
I actually don't know ...
0
votes
1
answer
531
views
Not able to run my app on my physical iPhone device?
I was building an app it is working in simulator and than I tried to run it on my physical iPhone device it is working But the Problem is when I open that app later on
I mean when I run that app in ...
0
votes
1
answer
1k
views
What happen if I remain to use old Xcode version?
I'm trying to understand, what will happen if one remains to use older Xcode version for developing, building and deploying.
I understand that each new Xcode version (...10,11,12) comes with new SDK ...
8
votes
3
answers
16k
views
Xcode error: Signing for ... requires a development team
I am trying to test my app on my iPhone 8. Since I do not have an Apple Developer Account, I have followed this tutorial: https://ionicframework.com/blog/deploying-to-a-device-without-an-apple-...
3
votes
1
answer
526
views
unsigned xcarchive aps environment missing
I want to share unsigned xcarchive. To make unsigned xcarchive. I set Provisional profile and Signing Certificate as None.
I have crated Xcarchive with below commands one by one.
xcodebuild -scheme ...
-3
votes
1
answer
187
views
The document “Main.storyboard” requires at least Xcode 12.0
I am working on Xcode 12. And I created a new project on Xcode 12. I compile & run it successfully. when I run this project on Xcode 11.3 then It throws an error like: The document “Main....
1
vote
1
answer
116
views
How to switch Libary window's tab in Xcode 11 by shortcuts?
I am a big fan of Xcode and used a lot of Xcode shortcuts, and I love the Library window, which has a shortcut to bring it out, cmd + L.
But I can't find a way to switch the tab in the Xcode, place ...
1
vote
1
answer
581
views
XCode 11.2, simulator iOS 11 crashes with error "dyld: lazy symbol binding failed: Symbol not found..."
Using AWSAppSync ios sdk, trying to configure the AWSAppSyncClient, and the simulator crashes when trying to create a Reachability instance (when trying to get the UserPoolsAuthProvider):
let ...
2
votes
0
answers
158
views
What is happening in the App launching sequence of SwiftUI Document Based App?: File picker dialog shown automatically
I'm creating test Document based app with Xcode 11 and SwiftUI.
At first, I have thought that I have to add file picker dialog and open menu/button to my app. But it need not. The file picker dialog ...
1
vote
1
answer
351
views
Fetch core data object into a SwiftUI picker
Goal: fetch Fetch core data object into a SwiftUI picker
Problem: haven't figured out how to pass data into a Picker
import SwiftUI
struct DetailView: View {
@ObservedObject var order: Order ...
1
vote
1
answer
592
views
SwiftUI + Core Data - updating an object (Detail -> DetailEdit)
Goal: update a core data object with SwiftUI: DetailView -> EditDetail -> DetailView (updated).
Problem: code bellow works, but creates a new object, instead of updating existing one.
import ...
0
votes
1
answer
1k
views
Unity Xcode Build Succeed but app not opening
I have unity project which works Android platforms perfectly. When I am trying to build IOS version everything succeeds but game not start I have bunch of error codes like this.
2020-11-24 12:11:12....
1
vote
0
answers
572
views
System overloaded with 'DTServiceHub' process
I'm trying to run some tests on a app. The tests are run on a simulator on a mac mini. After few runs the system is overloaded with process and cannot boot any more simulators. I'm getting this error ...
1
vote
1
answer
86
views
Simulator doesn't added to the simulators list in the xCode. How to add simulator to the Xcode 11?
I try to add a simulator with 10.3 iOS to the Xcode 11.3.1, but can't:
I'm installed iOS 10.3 and created new simulator:
And this simulator was successfully added in the general list:
But for the ...
1
vote
0
answers
64
views
Migrate Swift 3 to Swift 4.2 and now I get nil on IBOutlet
I converted and corrected an IOS Xcode project from Swift3 to Swift4.2. It was a very hard time but now that get all building errors resolved I'm getting errors when testing the App ( Yeeeeah... )
...
0
votes
0
answers
1k
views
How to make app start at login or add to login items after install like dropbox? Xcode 11, Swift 5, MacOS 10.13+
I am trying to have my app start automatically when a user logs out and back in or after a reboot. The objective is to have the app there indefinitely unless a user closes out, but, to have it start ...
-1
votes
1
answer
148
views
What push notification for ios swift to use? [closed]
I am making an application where push notification is required. I would like to know what push notification to use? I tried using Firebase but its inconsistent. Some notification are not receiving or ...
1
vote
0
answers
314
views
How Xcode-11.7 can build the project for iPhone(iOS-14) and also shows the debug log in Xcode console?
In my Macbook, i have Xcode 11.7 installed and somehow my iPhone OS updated to iOS-14.
Then i couldn't build and run my project to the iPhone as Xcode-11.7 doesn't have device support for iOS-14.
...
1
vote
1
answer
99
views
Swift 5 How do we parse a Dictionary nested inside a Dictionary, nested inside another Dictionary?
This is the json at hand. I am able to parse all the data except the "clientDetails" dictionary. Here is my code. Im just not sure how to go about mapping the "clientDetails" ...
0
votes
1
answer
138
views
How to send data along with an image using Alamofire multipartFormData in swift 5
I'm trying to update the details of a profile using Alamofire multipartFormData. Below is the Postman screenshot of how the request should be.
Below is what I'm trying to do using multipartFormData ...
10
votes
1
answer
8k
views
Module 'Alamofire' has no member named 'SessionManager'
Why I am getting this error, I didn't got. I already changed Alamofire to AF as using Alamofire 5. Please guide what's wrong and what need to change. Below is my code where i am getting error:
...
0
votes
1
answer
113
views
how to present a tabBarViewController(created in storyboard) using code when pressed a particular button in swift5?
I have a viewController called as ViewController and I have a button on it , I want to present a tabBarController (which already contains two viewControllers) when pressed a button and I want it ...
2
votes
0
answers
186
views
Xcode Button missing from element tree hierarchy
Using:
Xcode 11.3.1
Simulators 13.3
We have a table cell in our app that has 2 text fields and a button. When we view the element hierarchy, the button does not appear. Below is what it appears like ...
0
votes
0
answers
197
views
Failed uploading iPA in Testflight
I am using xcode11.6 and having Apple Developer account ($99). I wanted to upload iPa in TestFlight. I signed the application in xcode and tried to upload using Xcode. During uploading, the macbook ...
1
vote
0
answers
871
views
How to use Swift 5.3 with XCode 11.7 on MacOS Mojave?
I was able to install Xcode 11.7 on my Mac Mojave by using this answer. But it's still using Swift 5.2.4. I want to upgrade my Swift compiler to v5.3. I downloaded then installed Swift v5.3 toolchain ...
0
votes
3
answers
235
views
How do I change 'Selects Code Structure' from cmd + click to a keybinding?
I can't find any shortcut in the key-bindings list that will display this pop-up code actions menu. Is this strictly a click action only? Are there any potential workarounds for this?
I'm coming from ...
1
vote
3
answers
374
views
Xcode 11 - I can connect actions but not outlets?
Let me preface by saying that I haven't worked on any Xcode projects on this machine before. I normally work on a computer at my school, but I'm using another as I am away right now.
I was following ...