1,764 questions
0 votes
1 answer
582 views
Linking with Xcode 9.2 OpenGL framework in CMake on Monterey
I have a peculiar setup, but necessary out of business decisions outside of my control. I am running macOS 12 on Apple Silicon, have Xcode 9.2, am able to compile and link, by specifying the actual ...
1 vote
1 answer
77 views
Failed to find the images files on the device
I have this problem, where I need to list all files with a prefix to load it in a table, but when checking files in app directory, it didn't find them, only the files that are in the pictures I moved ...
1 vote
0 answers
121 views
Running unit test target on XCode9 returns "Early unexpected exit" error
I'm learning how to add unit tests to an objective-c project using XCode9. So I've created a command line project from scratch called Foo and afterwards I've added a new target to the project called ...
0 votes
1 answer
400 views
Getting error on GoogleDataTransport class on xcode9.4 when adding firebase crashlytics pod
I did pod install for firebase/crashlytics. Now getting error like this on xcode 9.4. I have xcode 11.3 also, on which it works fine.
1 vote
1 answer
46 views
UITableView Deleting rows in iOS 11
When I trying to deleting rows, at first it behaves pretty good. However, at the instance that content size firstly smaller than the border of the tableview, when deleting rows the whole table ...
-1 votes
1 answer
771 views
how to send a string in body with rawdata in swift 4 without alamofire?
{ "1":[{"name":"some product","type":"simple","quantity":"2","price":"500"}], "2":[{"name":"Seller 2 add no 2","type":"feature","quantity":"1","price":"500"}], "is_free_quota":"...
0 votes
0 answers
37 views
How to send a pure image in api without alamofire and without converting image into string(base 64)?
I am trying to send image in API without alamonfir, also without converting into string. Below is my code func postRequest(username: String, password: String, completion: @escaping ([String: ...
0 votes
0 answers
223 views
How to create an app bundle with an exe and a directory hierarchy?
I am struggling to create macOS application bundle that follows this hierarchy. I am currently on XCode 10.1 and I also have XCode 9.0. However, I just cant find a way to get the folder hierarchy as ...
2 votes
0 answers
148 views
Is there a workaround to the macOS 10.13 SDK breaking CGLCreatePBuffer?
I have a simple piece of code that successfully creates pbuffers when compiled against the macOS 10.12 SDK, but an update to the 10.13 SDK breaks things. I know that this tech is very deprecated. #...
8 votes
3 answers
32k views
How to open a Xcode 11 Beta 4 project in Xcode 10?
I worked on a project in Xcode 11 Beta 4 and then downgraded to Xcode 10 and can't open the project. I want to submit my app to the app store, but I kept getting error messages in Xcode 11 beta 4. I'...
1 vote
1 answer
606 views
LLDB not showing variables values when inside a C++ class virtual method
I am currently using an open source library for Finance and building my own extension on top of it. Library dependency is built under Xcode 9.2 in Debug mode, and is included as a framework ...
9 votes
7 answers
17k views
xcode continues project loading forever
I have a source code of a swift application which developed for iOS using swift 3. I want to run it inside Xcode however it remains in loading state forever. I have tried solutions provided in ...
-1 votes
1 answer
204 views
Swift 4- http request Post to login in website
I'm searching about how to send some data to a website. For example, I want to send username and password to a website and I want to check if the login is successful or not. I searched a lot but I don'...
-2 votes
1 answer
101 views
Xcode 9/ Swift 4: Prevent UIButton from continuing to be highlighted, when you press it and drag the finger outside of its bounds
When you press a UIButton, if you keep holding it while dragging your finger outside of its bounds, there's a certain distance that you can move you finger until the button's state is not "highlighted"...
1 vote
1 answer
42 views
Make the IDE ask before stopping current debug session
Once upon a time many months ago, maybe years ago, I inadvertently accepted the IDE suggestion to stop the current running debug session/s before starting the new session (on clicking the play button)....