Skip to main content

Questions tagged [development]

WARNING: questions that require code level details of programming languages are generally off topic here. See the [help](https://apple.stackexchange.com/help) for details.

Filter by
Sorted by
Tagged with
1 vote
1 answer
38 views

Apple programming-libraries & software: What's the meaning of the prefix "Core"? [closed]

Many Apple-libraries got this Prefix "Core", like for example "Core Location", "Core Data", "Core Graphics", "Core Storage". What's the meaning of &...
mizech's user avatar
  • 1,255
0 votes
0 answers
18 views

Profile-Guided Optimization (PGO) differences between Clang and Apple Clang

After reading the documentation for (Apple Clang) it's not clear, are there any PGO implementation differences between these compilers. Maybe some Apple-specific additions to PGO were implemented like ...
zamazan4ik's user avatar
4 votes
1 answer
3k views

Make shortcut to enable/disable JavaScript with Safari 17.0

Safari 16.xx had an option Disable JavaScript in menu bar>Developers. I had a shortcut to simply enable/disable JavaScript with an easy shortcut. With Safari 17 Apple redesigned the developers ...
David's user avatar
  • 270
1 vote
0 answers
208 views

Pending Paid Apps Agreement

TLDR Did you ever experienced long verification time when submitting paid apps agreement? I'm waiting one month for comparing my ID card agains name on submitted contract. Long story I've submitted ...
Michael Czolko's user avatar
1 vote
1 answer
268 views

Xcode command line tools uninstall not working

I am trying to uninstall Xcode command line tools and I used the command: sudo rm -rf /Library/Developer/CommandLineTools to delete the folder but when I use the command: xcode-select -p it still ...
speedyfastboi's user avatar
2 votes
0 answers
222 views

Use desktop-notifier python library on macos 13.4.1

I am trying to send notifications using this python library. I have tried to sign the Python executable and my main.py file using codesign. E.g. I have tried the following command codesign -fs '...
johannesCmayer's user avatar
0 votes
1 answer
105 views

MacOS man pages out of date

I’ve caught a few POSIX options unavailable on a MacOS man page (but are supported — they compile). Is there a way to submit a patch to the kernel developers?
user129393192's user avatar
2 votes
0 answers
430 views

Capabilities of JavaScript in iOS Shortcuts

According to this: https://support.apple.com/en-eg/guide/shortcuts/apd218e2187d/ios And this: https://developer.apple.com/documentation/javascriptcore And this: https://medium.com/@chrishutchinson/...
Julius Hamilton's user avatar
7 votes
1 answer
773 views

Executable compiled in Xcode fails to run except from the terminal

I'm in the process of developing a game written in C using SDL, and while I do all of my development on Windows/Linux machines would like to make it available on Mac as well. The code is fully ...
P...'s user avatar
  • 173
5 votes
4 answers
4k views

Unable to find include file on newly updated macOS(C/C++)

I have used the g++ command on the terminal to compile C++ programs but all of a sudden, after an update to my Mac's OS (to macOS 13.3 Ventura,), I started receiving the message: againtest.c:6:10: ...
baseptr256's user avatar
-2 votes
1 answer
83 views

Issue with an installed public Github package: how and where can I raise my point? [closed]

Recently, I habe some issues with a (public) software package available on Github which I would like to communicate to the developer such that others can follow the discussion. How and where is the ...
Bernd's user avatar
  • 177
2 votes
1 answer
584 views

State of Native Support for Scheme and Common Lisp on Apple Silicon?

I tinker on and off with Scheme (usually R6RS rather than Racket), and with Common Lisp. Essentially all of this is from the command line and through Emacs with Geiser and SLIME. Native support for ...
haziz's user avatar
  • 171
0 votes
1 answer
2k views

Set Mac to wake and run scripts while in sleep mode

I'm a Python developer and I would like the Mac to awaken from sleep when I configure it to do so and run some scripts or certain programs during the day. On Windows there's "Task Scheduler" ...
Idan6767's user avatar
1 vote
1 answer
917 views

How to develop ios apps on outdated hardware?

I have an old MacBook Pro 15“ from Mid 2012. Latest OS: Catalina Latest XCode: 12.4 (https://developer.apple.com/support/xcode/) And an iPhone 8 with iOS 16.1.1. I saw that the minimal requirements ...
1uk's user avatar
  • 13
5 votes
1 answer
294 views

Custom macOS application bundle requires Rosetta even through it shouldn't

Since there is currently no DrJava application bundle for macOS, I thought I could be the one to make it because I want to use it anyway. From just searching on the internet I made the following ...
octagonalhuman's user avatar
0 votes
1 answer
2k views

Can someone who has tried to run Xcode 14.1 on a 2014 mac mini verify that they were they able to successfully develop an app using this setup [closed]

My brother wants to develop an iPhone app. I have over 25 years of programming experience, but not for the iOS/Apple ecosystem. In any case I decided to help him out, but I don't personally own any ...
user4574's user avatar
  • 101
1 vote
0 answers
214 views

Outdated responsive design tool in Safari

It has been long time since I have seen an update on reponsive design tool in Safari - it looks straight from 2016-2017 Am I missing something that can be modified in order to show newer models? ...
nicael's user avatar
  • 763
5 votes
1 answer
1k views

How to disable the “[…] quit unexpectedly.” dialog in macOS v13 (”Ventura”)?

I am developing a simple tool in C, and am using assertions for testing. Since I upgraded to macOS v13.0, whenever I run my test suite, I get lots of “programme name quit unexpectedly.” dialogue boxes ...
Odin Kroeger's user avatar
1 vote
0 answers
148 views

Disable notarization checks for SSH sessions

With macOS 10.15 and later, before an executable runs for the first time, macOS will query an Apple server. This can be a significant hindrance with some development tasks: I'm dealing with a test ...
Szabolcs's user avatar
  • 2,659
6 votes
4 answers
4k views

macOS virtual images for development?

Microsoft offers free Windows virtual machine images for development. Does Apple have something similar for macOS?
nulll's user avatar
  • 163
1 vote
2 answers
716 views

Should I downgrade my MacBook Air 2017?

I recently found my MacBook Air 2017 becomes slower after upgrading it to the latest macOS. And, now it's too slow when I write code in vsCode and if I switch screens then it's laggy sometimes. I have ...
Harsh Mishra's user avatar
0 votes
1 answer
704 views

Commands run in the terminal seem unable to access SSL issuer certificates

A few weeks ago, I suddenly became unable to download PNPM packages, receiving the following warning for all the packages I attempted to download: GET https://registry.npmjs.org/<package> error (...
Southpaw1496's user avatar
0 votes
0 answers
322 views

I need an AppleScript (or maybe JXA) for switching Spaces. I found `kCGWindowWorkspace` but it's gone. Any way to find the Space for any given window?

I'm working on how to switch between Desktop Workspaces where the hotkey stays the same if I rearrange the order of the Spaces in Mission Control. I also need more than the 16 max hotkeys that Apple ...
August's user avatar
  • 505
0 votes
0 answers
148 views

What is the best Xcode version for C++ development

Currently I use Eclipse on my Mac to develop with plain C++. However, I've been getting quite a few problems with it, but held back bc of my low disk space. Recently, I've freed a lot of disk space ...
Aaron Liu's user avatar
  • 101
1 vote
0 answers
366 views

App store connect (erroneously?) does not prompt me for encryption exempt documents

I have a LOB app that allows users to encrypt files with a specified password. Hashing is used to derive a fixed length-key which is then used by AES to encrypt the content. (It also uses HTTPS and ...
llywelyn's user avatar
2 votes
1 answer
78 views

Use Apple APIs and Kits on a remote server

I'm trying to make a cross-platform desktop app for MacOS and Windows that needs to do music recognition, so I'd like to use ShazamKit by Apple. By the way, ShazamKit is only available on Apple ...
giuann's user avatar
  • 21
0 votes
1 answer
678 views

Toolbox/Podman Alternative for MacOS

I primarily develop on Linux and recently bought a Macbook, and am looking to make the development experience familiar to what I am used to. Note that this focuses on work native to the OS, rather ...
Nathan's user avatar
  • 11
1 vote
1 answer
694 views

Linker command failed (clang-13)

I'm installing this software for my research, but I'm getting this macOS-related error (macOS Monterey 12.3.1) and I'm not quite sure if it is something I can handle myself or if I should contact the ...
surrutiaquir's user avatar
2 votes
2 answers
3k views

Can the M1 Macbook Air compile Android source code without problems?

Do I need a x86 system to build and compile Android source code? Will it work on M1 Macbook Air to build a Android rom?
macintoshnewuser's user avatar
2 votes
1 answer
1k views

Safari is caching hard, I have to empty for each change in my css

Does anybody know if there is a fix/workaround for Safari so it doesn't cache everything so hard. I'm solving a specific Safari bug and I have to empty the cache for each change I do. They removed the ...
Dejan.S's user avatar
  • 139
2 votes
2 answers
501 views

macOS core files: how can I enable them and can I enable them for specific applications?

I have found discussions on these sites about macOS core files but the ones I found are old and do not address a core file created by an application that is launched from Finder. I would like to help ...
pedz's user avatar
  • 463
1 vote
1 answer
3k views

SF Symbols 3.0: Use Restrictions

There is an icon I'd like to use, that has Use Restrictions. The warning says: This symbol may not be modified and may only be used to refer to Apple’s Messages app. This is fine, as my app will ...
Sam Chahine's user avatar
3 votes
2 answers
2k views

How can I point gcc and g++ to the gnu compiler collection?

I want to use the gnu compiler collection instead of the x-code compiler to compile some bioinformatics tools on the mac, which did compile on Linux but fails to build on macOS. I did install homebrew ...
witek's user avatar
  • 131
2 votes
1 answer
587 views

Can I compile and locally run SimpleFirewall example app without enrolling with apple developer program?

I was curious about writing my own simple application firewall. After going through several tutorials I've downloaded SimpleFirewall example app available at: https://developer.apple.com/documentation/...
IlliakaillI's user avatar
1 vote
0 answers
46 views

What is the directory /Library/Frameworks/Mono.framework/External used for?

I'm using Mono to compile .NET code. A coworker tried to compile the same code and got this error: "/Users/us/Development/sample/src/vasone.sln" (default target) (1) -> "/Users/us/...
SuperJMN's user avatar
  • 111
0 votes
2 answers
759 views

How does one build macOS software without Apple hardware?

Do you have to buy Apple hardware to develop macOS software? I tried to find a way to run a macOS VM or cross-compile to macOS, but hit dead ends. They all seem to involve development environments ...
Dan's user avatar
  • 103
0 votes
0 answers
163 views

Building ART raw converter on macOS and need help resolving linker errors

I downloaded ART Raw converter latest release (1.10.1) source code from its project repository on a macOS 11.6.1 mac running mac with these version of Xcode installed: Xcode: 13.1.0.0.1.1633545042 ...
gio91ber's user avatar
  • 161
3 votes
0 answers
245 views

Why does macOS include a 2nd copy of clang called GCC?

Since macOS uses Clang, you'd expect that gcc wouldn't be a valid command/executable, but macOS has a gcc executable that's exactly the same as clang. 5f42128bc6a36bf22b44d4d69e18ee6daff6178b /usr/...
UnicornsOnLSD's user avatar
1 vote
0 answers
576 views

Linker errors in Monterrey

I'm trying to build a native python module on Monterrey and I'm getting the following error: gcc -arch x86_64 -fno-strict-aliasing -O -fPIC -shared -lpython2.7 build/nodepos.o build/pyspidermonkey.o -...
bahamat's user avatar
  • 3,555
0 votes
0 answers
94 views

MacOSX11 sdk building syntax error

I'm trying to build GIMP from source on MacOSX and I'm getting some syntax erros at some qos.h files: GISCAN Gimp-3.0.gir /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/...
Cleber S's user avatar
0 votes
1 answer
132 views

What factors prevent an IDE for iPad from being made? [closed]

It’s now common to use cloud-based IDEs like VS Code through a service like Gitpod. If the code repository is in the cloud and a service like Gitpod or Digital Ocean provides a remote machine, what ...
Julius Hamilton's user avatar
1 vote
1 answer
7k views

Can you add arrow keys to an iOS 15 keyboard?

I am using GitPod, an in-browser IDE, in iOS Safari on my iPhone SE 2. I would like to be able to enter up, down, left and right arrow key input to move the cursor in the IDE’s terminal and to ...
Julius Hamilton's user avatar
0 votes
1 answer
68 views

Do I have to learn and use Apple's language if I want to make "App Store" apps for iDevices and Macs?

Let's say I have made something in HTML, CSS and JavaScript, and I currently have it running in NW.js, the Chromium-based "webview" which runs on Windows, macOS and Linux. Now I want to ...
user17005195's user avatar
1 vote
0 answers
35 views

I actually need a Mac computer to make an iPhone "app"? [duplicate]

I just jumped through all Apple's hoops to finally make an "Apple ID" account to be able to read how to make and submit an "app" to them for the iPhone or macOS. I've been led ...
user17005195's user avatar
6 votes
2 answers
3k views

iOS Private APIs

I am interested in some of the technical details behind Apple's private APIs in iOS. I can't seem to find a good writeup on some of these details (beyond how to call the private API functions), though ...
Jack Humphries's user avatar
0 votes
0 answers
2k views

Problem with homebrew installed to a different location(not to /usr/local)

Being a standard user on Apple Macbook M1, I installed homebrew to (created Developer directory) $HOME/Developer/ using mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/...
ayush7ad6's user avatar
1 vote
0 answers
758 views

Adding third-party C/C++ libraries to Xcode's path globally

I added my /usr/local/bin and /opt/homebrew/include to my CPATH variable. This way the clang compiler recognizes libraries residing in these paths when invoked from command line. However, when I am to ...
nmd_07's user avatar
  • 233
1 vote
1 answer
992 views

How to programatically change application's notification settings?

There are some applications like WhatsApp or Telegram that don't have a fast way of disabling notifications. I would like to know if it's possible to change notification settings programatically. In ...
Andres Espinosa's user avatar
1 vote
0 answers
62 views

What can cause an application to behave differently when started as bundle vs. executable? [duplicate]

I have a C++ application that is built as a bundle (.app) for macOS, using clang (from Xcode) and CMake. This application behaves differently when double-clicked in the Finder, as when started ...
ocroquette's user avatar
1 vote
0 answers
32 views

Does iOS support a fully ISO regional format?

I need a regional format that satisfies all of the following. Metric system Monday week start all numbers YMD date format in English dot for decimal separator The measurement system affects Siri ...
Rethliopuks's user avatar

1
2 3 4 5
10