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
1answer
30 views

How to update Python which download from official website?

I'm mac user, and I downloaded Python from the offcial website. What if I want to update Python, what should I do? I also installed the Java JDK from offcial website, both of them are .pkg, can ...
0
votes
1answer
40 views

Debugging iPad Pro using MacBook

We would like to test and debug problems with our website when it is viewed using the latest iPad Pro. Our development environment is entirely Windows. We've got very close to being able to debug the ...
3
votes
0answers
54 views

Mysterious GDB hangs after clean & build

OS: Mac OSX 10.14.6 GDB version: 8.2.50.20190226-git g++ version: 11.0.0 (clang-1100.0.33.16) The Problem: Whenever I clean and rebuild my simple "Hello World" c++ application (using g++) and then ...
0
votes
1answer
22 views

How to press `^|` in Visual Studio on macOS?

I want to execute the "Format Document" menu item in Visual Studio on macOS. I've attempted pressing control + | (pipe), but the item is not executed. Can ^| be interpreted differently than the above ...
2
votes
1answer
44 views

AppleScript to choose item on web page

Is it possible with AppleScript to choose a clickable element in a web page and click it and if so, can you give me an example?
0
votes
0answers
40 views

clang doesn't can't find STL but gcc can

I wrote a simple C++ program. #include <vector> int main(void) { return 0; } When I try to compile with clang, I get this : $ clang truc.c truc.c:1:10: fatal error: 'vector' ...
2
votes
0answers
18 views

Can't run a Node script unless I use sudo

I'm on Mac Mojave 10.14.6. I develop Node applications and I mistakenly did a sudo npm install for a project I worked on. It was a bad idea because then all Node scripts needed to be run as sudo. At ...
2
votes
1answer
159 views

Stack install fails with linker errors when building system-filepath after update to 10.15 catalina

I have the latest haskell-stack from Homebrew, and am trying to install turtle for scripting. However, it fails when building system-filepath, one of its dependencies. Here is a reduced example: $ ...
0
votes
1answer
177 views

How to run tests showing code coverage in Visual Studio for Mac Community 8.3.4

I'm new in C# after a brief use of it in 2010. I'm asking an Internet search engine - one claiming not to track me - how to "visual studio for mac show tests coverage". That would link me to Use ...
1
vote
1answer
359 views

Manually create Apple hidden e-Mail addresses @privaterelay.appleid.com

I would love to create a handfull of private/disposable e-Mail adresses with my Apple ID - i can manage and see right here: https://appleid.apple.com/account/manage If i sign in for example at pocket....
1
vote
1answer
28 views

Safari: Shortcut to switch between developer window and safari

In every other application (including Chrome I'm coming from - before the Catalina update) I was able to switch between windows with Cmd + ` (on a German keyboard that is Cmd + >). Is there a ...
1
vote
0answers
98 views

Xcode 11 hangs during Archive on CocoaPods task

After updating Xcode, when archiving my iOS app, it hangs on a specific CocoaPods task (GEOSwift). Archiving just continues for an indeterminate time (I can let it work for hours without results). ...
0
votes
0answers
30 views

Macbook Pro 2018 (15-inch) Android Studio Energy Impact

Has anyone else experienced Android Studio's 'Energy Impact' in Activity Monitor exceed 100.0? I just noticed that the fan was making an unusually loud noise and took a look at the Activity Monitor. ...
7
votes
1answer
6k views

/usr/include missing on macOS Catalina (with Xcode 11)

Follow up to the same problem on Mojave. After upgrading to macOS Catalina, none of the C headers can be found in /usr/include. The reason for this may be found in the Xcode 10 release notes (...
4
votes
0answers
191 views

How can I move /Library/Developer to an external disk?

Until Xcode 10 I was able to move the Xcode Library/Developer folder to an external drive using a symlink, in order to free up space on my main disk, like ln -s /Volumes/*/Library/Developer /Users/*/...
-3
votes
1answer
65 views

Programing Language availability for a Mac [closed]

I want an inexpensive programming language for my Mac. I know Pascal, Fortran, some familiarity with C. I don’t know many recent languages but am willing learn. I just have a Mac , and I want to ...
3
votes
1answer
219 views

Problem with building project by CMake

I have installed gcc and g++ instead of clang compilers from Xcode, so now I have problem with compiling with cmake. After running cmake I have got error: -- The C compiler identification is unknown -...
2
votes
1answer
54 views

Is there any possible way to program a LPC1768 Microcontroller(using ULINK-ME) on macOS?

Hardware: Keil LPC1768 development board. macOS 10.14 Flashing/Programming device: Keil ULINK-ME (USB-JTAG adapter) I have tried the VS Code extension platformIO and mbed Studio(standalone), but none ...
1
vote
2answers
156 views

Compile for iOS 5.1 in macOS Mojave

I have a macOS Mojave based Mac, and, for a project, I need to be able to target iOS 5.1 (iPad 1). Xcode 10 doesn't ship build support for iOS 5.1, so I downloaded Xcode 4.3 from Apple's archives. ...
2
votes
2answers
650 views

How can I deploy an ad-hoc iOS app to a user without a Mac?

One of my deployment iPhone owners does not have a Mac. What is the normal method for delivering apps, and can it be done with no computer or only a Windows machine? The Ad Hoc Distribution method ...
1
vote
1answer
61 views

C++11 on Snow Leopard 10.6.8

I'm trying to install C++11 on 10.6.8, following this macports guide Unfortunatley the guide fails when I get to step 7: Rebuild cctools and ld64 to use the newer version of llvm: sudo port -v -n ...
0
votes
0answers
42 views

Intercept Macos notifications

I would like to create an App (Python or whatever language) that would be able to "intercept" other apps notifications before they appear and sometimes block them. Do you known if it is possible ? I ...
0
votes
0answers
360 views

XCode 11 Beta fails to start-up: “Required content for platform tv OS simulator is missing.Re-install Xcode”

Trying to make up more space to download XCode 11 (the .xip file won't expand because there "wasn't enough space"), I've deleted XCode 10 and foolishly followed this article by doing: sudo rm -rf /...
0
votes
1answer
413 views

Why is my iOS Development Certificate Team ID different from my real Team ID?

When I create an iOS Development Certificate using Xcode or the manual CSR process, the Team ID is something like (for e.g.) EK1H65HGFB, whereas my Team ID according to the Apple website is actually ...
0
votes
1answer
92 views

Running an app build with very old iOS SDK on a device running current iOS

I have 2 iOS devices, an iPhone 6s, and an iPhone 4. I'm currently using OS X Mavericks 10.9.0 and plan on using Xcode. The iPhone 6s is running iOS 12.2, and iPhone 4 is running iOS 7. My Xcode ...
0
votes
1answer
33 views

Excel Formula on : How to compare multiple columns in excel [closed]

I am trying to compare multiple columns in excel like below A B C D E F HN_1 1.1.1.1 Comp_1 HN_1 1.1.1.1 Comp_1 HN_2 2.2.2.2 ...
18
votes
1answer
4k views

What replaces x86 intrinsics for C when Apple ditches Intel CPUs for their own chips?

There are whole industries founded on the use of Intel Intrinsics for CPU parallelisation (with SIMD). For example, the community of Lattice QCD physicists depend on that for boost in the efficiency ...
0
votes
1answer
28 views

Using MDM alternative after apples MDM block

How can I create an app that can track location, regulate screen time by blocking access without using MD? What are some alternate ways of doing this after Apple has blocked the use of MDM feature.
2
votes
2answers
4k views

Minimum required specs of a Mac for iOS App development

I'm planing to develop an app with React Native for Android and iOS. I need to buy a Mac to run Xcode for iOS app development. I do not have a high budget, which is why I would prefer to buy a (used) ...
2
votes
1answer
675 views

If we don't add NSPhotoLibraryAddUsageDescription for saving images to Photo library in our app, would it be rejected during App Store review?

I am trying to save photos to Photo Library from my app. While saving I am checking whether user has given permission to do so, otherwise I am asking the user to go to Settings and turn on the ...
-1
votes
1answer
22 views

Start a window on top of a full screened space [duplicate]

How can I open a window on top of a full screened space? I full screen a video in Safari. I want to run some app that opens a little window on top of that full-screened video. I don't mind what ...
7
votes
3answers
2k views

Separate environment for personal and development use under macOS

How can I separate my professional use of Apple computer from the personal use? I am about to get a new Apple computer soon. I am a developer (actually .NET developer ^___^) and would like to have my ...
0
votes
1answer
219 views

How to remove specific local symbols using `strip` on macOS?

Using Linux, I can remove specific local symbols using strip -N SYM. However, using strip on macOS, I can only see options -X and -x that respectively, remove all local symbols that begin with L and ...
1
vote
0answers
51 views

Why do my AirPods show up in /dev 156 times?

I was recently observing the different devices listed in /dev, and I noticed the following: crw-rw-rw- 1 root wheel 19, 3 Jan 4 04:34 cu.Bluetooth-Incoming-Port crw-rw-rw- 1 root ...
1
vote
1answer
4k views

How can I specify the C++ version to use with Xcode?

On the command line I can use clang -std=c++98 -pedantic-errors which will prevent me from using features of newer C++ versions. How can I achieve the same thing with Xcode? EDIT: Example code #...
6
votes
3answers
319 views

Which macOS Git GUI app offers a “Split View Staging” view?

I use SourceTree as a Git GUI tool. I'm very productive with the app and find it far preferable to the command line Git interface for common tasks. Unfortunately, SourceTree is incredibly slow, buggy,...
2
votes
1answer
216 views

Give away paid app on App Store for free [duplicate]

I will soon release my macOS and iOS apps on the respective App Store, but before I do this I need to make sure about a few things. Will App Store allow me to upload a paid app but still give me the ...
0
votes
1answer
98 views

Can I retrieve an Xcode project I installed on my iPhone?

I recently executed a stupid "Discard All Changes" on my Xcode project that resulted in the project being deleted. I haven't found a way to recover it yet, but I was wondering since I had installed ...
4
votes
1answer
595 views

Deploy iOS app on personal devices

I've been working on a small iOS app, intended as a gift to some family members. To my dismay, I'm finding a lot of barriers to attempting to deploy the app. It largely revolves around signing the app ...
2
votes
1answer
702 views

How to share an app with friends and family only

I am currently developing an iOS app for one of my family members. The only thing is, I do not want it on the App Store. How would I be able to share this with my family member? I know that I could ...
2
votes
1answer
975 views

Remove Safari web inspector ruler

How do I disable the rulers in Safari's WebInspector?
0
votes
0answers
84 views

How to force “default” audio devices (maybe programmatically)?

Basically my question is similar to this one: depending on my location, my Mac is connected to different audio devices. Often, the Mac remembers that when I connect it to my dock in the office, that ...
1
vote
1answer
339 views

Where do provisioning profiles live in my iPhone XS?

Apple Developer Program Information says: A Development Provisioning Profile must be installed on each device on which you wish to run your application code. Each Development Provisioning ...
1
vote
2answers
57 views

Is Safari on iPad and iPhone identical?

I have an iPad for testing websites I develop but am wondering, does this completely cover me for the same version iOS on a mobile? And I don't mean roughly, would it be exactly the same code base ...
1
vote
1answer
28 views

Can I lock my app until user give me a permission (like location permission)?

I am developing an app and I am highly in need of location services and without that my app is not working. Can I block users from using my app (showing a page to them) until they go to settings and ...
3
votes
1answer
627 views

Resetting in-app purchase promo code limit

App Store allows only 100 promo codes for the app and for each in-app purchase. App's promo codes are reset with every version update but it turns out that IAP promo codes are not – after spending 100 ...
0
votes
1answer
469 views

macOS High Sierra: still usable as a development environment?

I have a late 2011 MacBook Pro and I am about to invest in some hardware for this lovely piece. With the new macOS release this year, my MacBook won't get an update to Mojave. My question is: How ...
1
vote
1answer
123 views

Is it possible to make a folder look and behave like a file?

I'm developing a desktop application which saves its projects to disk. Projects contain multiple files, like json and jpg etc. Current solution: zipped file I'm "zipping" them all together into a ...
2
votes
1answer
64 views

Can I set a different default browser for localhost sites?

I'm a web developer and I want to use Brave as my browser for the normal stuff, and Firefox Developer for Web Development. Currently Brave is my default, but when I do npm run serve or whatever my ...
24
votes
3answers
12k views

Why is /usr/include missing? I have Xcode and Command Line Tools installed (Mojave)

I just upgraded to Mojave from High Sierra and installed Xcode plus its command line tools and additional tools. Nothing will compile from the terminal, everything says /usr/include is missing! I ...

1 2 3 4 5 9