Questions tagged [development]

WARNING: questions that require code level details of programming languages are generally off topic here. See the [help] for details.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 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 ...
user avatar
2 votes
1 answer
18 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 ...
user avatar
  • 21
0 votes
0 answers
48 views

macos 11.6.5 - Safari 15.4 - web inspector - can't disable cache

When I use web inspector to view a page then go to Sources > (site URL) -> Scripts -> select ANY javascript, the right hand view is blank. Popping open the Details Sidebar lets me view the ...
user avatar
  • 461
-1 votes
1 answer
62 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 ...
user avatar
  • 1
1 vote
1 answer
154 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 ...
user avatar
1 vote
2 answers
286 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?
user avatar
2 votes
1 answer
94 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 ...
user avatar
  • 131
2 votes
2 answers
73 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 ...
user avatar
  • 409
0 votes
0 answers
46 views

Does iOS support PIV smart cards natively?

As of iOS 13, iOS seems to support CryptoTokenKit, which, on Macs, can already be used to support PIV smartcards (via USB CCID readers) for login and generic public key authentication. Is there ...
user avatar
  • 519
1 vote
1 answer
124 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 ...
user avatar
3 votes
2 answers
257 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 ...
user avatar
  • 131
1 vote
1 answer
53 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/...
user avatar
1 vote
0 answers
14 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/...
user avatar
  • 111
0 votes
0 answers
83 views

How do I specify the location of the headers when building gcc-12 on M1?

All. I am trying to build gcc-12 on an M1 Mini running MacOS 11.3.1 with Xcode 13.2.1 using Ian's wonderful work at https://github.com/iains/gcc-darwin-arm64 but I cannot seem to specify the correct ...
user avatar
  • 13
0 votes
0 answers
9 views

When running GHCi (Haskell REPL) , I receive a weird warning/message in the Terminal [duplicate]

Recently, after following a guide and installing Haskell and necessary stuff from here, I tried to compile a small program and found out that I needed to install LLVM, I did it and by trial-and-error ...
user avatar
  • 3
0 votes
2 answers
81 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 ...
user avatar
  • 103
0 votes
0 answers
67 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 ...
user avatar
  • 101
2 votes
0 answers
65 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/...
user avatar
0 votes
0 answers
67 views

Installing Glib/Gtk 1.2 on macOS

I want to use some legacy software that requires GTK 1.2 to build. I am trying to compile Glib myself (since Homebrew and Macports don't keep 20 year old versions of Glib in their repos) and I'm ...
user avatar
1 vote
0 answers
297 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 -...
user avatar
  • 3,385
0 votes
0 answers
59 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/...
user avatar
0 votes
0 answers
38 views

What factors prevent an IDE for iPad from being made?

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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
58 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 ...
user avatar
1 vote
0 answers
31 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 ...
user avatar
4 votes
2 answers
915 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 ...
user avatar
0 votes
0 answers
797 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/...
user avatar
0 votes
0 answers
170 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 ...
user avatar
  • 163
1 vote
1 answer
151 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 ...
user avatar
1 vote
0 answers
55 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 ...
user avatar
1 vote
0 answers
24 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 ...
user avatar
1 vote
0 answers
69 views

iPhone Development over VPN

I am going to bring a Raspberry Pi with me to uni so I don't have to carry in my MacBook Pro. I'm setting up a home server which I will connect to over VPN (to my house) from my Pi and Phone. When ...
user avatar
  • 4,400
4 votes
1 answer
171 views

Can I slow down my iPhones network connection while testing an app?

I'm trying to test an iPhone app that needs to be usable in low-bandwidth / poor signal areas. I know I can slow the network on my Mac and the simulator in Xcode, but not how to slow iOS and iPadOS ...
user avatar
  • 43
1 vote
1 answer
186 views

Unavailable option on Apple clang only; version mismatch?

I want to use clang's option -ffile-prefix-map. This option is normally available since Clang 10. Indeed, if I get a Docker image with clang (e.g. docker pull silkeh/clang:10), I can run it without ...
user avatar
  • 113
3 votes
1 answer
183 views

Cloning apps on iOS

For some reasons I want to get two similar apps on my iPhone (in fact not similar — different versions). I have already installed this app from AppStore, and I have an IPA file of this app but of ...
user avatar
4 votes
0 answers
618 views

Restart CoreAudio... to fix Safari problems?! Why?

On my M1 Macbook Pro (2020) running Big Sur 11.3.1, I've found that I need to restart CoreAudio to solve seemingly unrelated problems. For example: Safari will stop rendering content... Safari is ...
user avatar
  • 2,220
0 votes
1 answer
36 views

Is installing Windows on Macbook Pro for Game development good and efficient [closed]

I have a Macbook PRO, new to game development. Looks like Windows is the recommended OS for game development. Will installing Windows in mac with bootcamp assistantfor Game development good. Is anyone ...
user avatar
1 vote
0 answers
30 views

Running the program from the Xcode

ALL, I apologize for this question - it seems that on the SO nobody develops under Mac, so I'm terying to ask here. If you suggest a better place to ask the question and get the answer - I'm all ears. ...
user avatar
  • 877
0 votes
1 answer
841 views

How do I make a bootable USB out of .bin file

I was following the instructions in https://createyourownos.blogspot.com/ to make my own tiny OS. I managed to do the compile and the assemble step, but how can I make a bootable USB out of .bin file?
user avatar
0 votes
1 answer
496 views

get working gdb on macOS Big Sur

How to get gdb working on macOS Big Sur? The gdb from brew install gdb doesn't work (nothing counts as an executable somehow), and all the tutorials I find online are years old
user avatar
  • 6,662
2 votes
1 answer
42 views

Can I distribute Xcode at my company internally through configuration management scripts?

My company is slower to upgrade our developers' workstations and as such we often lag behind in Mac OS and Xcode versions. As such, developers often have trouble installing and configuring the correct ...
user avatar
0 votes
3 answers
713 views

2 Months old MacBook Pro (Mid 2020) battery only last for 4 hours

I'm new to the world of Apple, I bought a new Macbook Pro, mid-2020, Intel i7, 16GB RAM. I'm a developer, I run apps like VS Code, Sublime Text, Slack, Chrome (Multiple Windows), I play videos/songs ...
user avatar
  • 103
2 votes
1 answer
549 views

How can developers properly fix "App is damaged and can't be opened" errors?

There are already several questions here on this site dealing with the error message "$App is damaged and can't be opened". The workaround given (which has worked for me) is to use xattr -rd ...
user avatar
  • 3,208
1 vote
0 answers
55 views

How to set up a separate environment for QtCreator on macOS Big Sur?

I try to move from Linux to macOS Big Sur with my app development. The app is in an early development stage and there's no platform-dependent code. I am using QtCreator as an IDE and under Linux ...
user avatar
0 votes
1 answer
25 views

MacOS Catalina duplicating files on save

I'm a software developer and I constantly need to save files of course. The problem I'm experiencing right now is that intermittently my laptop creates new files of the ones I'm saving/compiling. I'll ...
user avatar
  • 103
1 vote
1 answer
38 views

Help Me Remember: A Developer Reference App

everyone. I'm trying to remember a macOS application that I used to use. It could be opened with a keyboard command within almost any application or the Finder, and it would pop up a dialog to search ...
user avatar
5 votes
1 answer
4k views

How to get lldb to work on M1 Big Sur?

This is on an M1 mini, running 11.1 with an updated Xcode. (All pending updates have been applied.) SIP has not been disabled (if it can even be, on the M1). We have a program we're using to test an ...
user avatar
  • 51
0 votes
1 answer
392 views

can’t link C++ code to .dylib in Xcode 12.2 (release build only)

I recently upgraded from Xcode 12.1 to 12.2, on macOS Catalina 10.15.7. My C++ project (which uses OpenCV) compiled without problem with Xcode 12.1. After the upgrade I get a lot of these: ld: warning:...
user avatar
1 vote
4 answers
338 views

Automate workspace setup

I'm a software developer and I often have to switch between different projects, each with its own environment setup. Some actions I have to do each time include: creating ssh tunnels connecting ...
user avatar
3 votes
1 answer
8k views

How to downgrade Composer via homebrew?

My Composer updated to version 2 but I need to keep it running in version 1. How could I downgrade my Composer via Homebrew since I don't see different formulas to version 1 and 2? I already tried to ...
user avatar

1
2 3 4 5
10