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
0answers
27 views

Why does built file not work on other macOS computers? [closed]

To be clear, it's the first time I'm using a MacOS for developing purposes. The compiled program works amazingly well on Windows, Linux and Mac OS, the only different being that on Mac OS it only ...
1
vote
0answers
10 views

Is SwiftUI iOS only or can it be used for other Apple platforms as well? [migrated]

All the Swift UI tutorials I've seen are iOS based. Is SwiftUI iOS only or can it be used for other Apple hardware platforms as well such as macOS, watchOS, tvOS, and/or iPadOS?
1
vote
2answers
63 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
64 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
0answers
43 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
23 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
179 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
0answers
25 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
44 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
30 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
24 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.
1
vote
1answer
862 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
116 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
1k 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
59 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
39 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
1k 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
189 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
70 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
70 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
338 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
353 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
660 views

Remove Safari web inspector ruler

How do I disable the rulers in Safari's WebInspector?
0
votes
0answers
40 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
237 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
47 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 ...
0
votes
1answer
23 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 ...
0
votes
0answers
126 views

How to disable all system dialogs, popups, for automated UI testing

I maintain a large pool of mac os machines for use in clustered UI testing of a mac OS app. One thing that constantly brings us pain is that Mac os has a seemingly limitless number of popups and ...
2
votes
1answer
368 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
206 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
71 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
42 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 ...
18
votes
3answers
7k 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
vote
1answer
233 views

What is the best practice for a daemon application running as root that needs access to the GUI? [closed]

I'm porting over a C++/Qt application from Windows. On Windows, the program runs as a service. It's discouraged from programs running as a service to also interact with the user and display GUI ...
3
votes
1answer
168 views

XCode : How to use cmd + x to either cut the current line (if no text is selected) or cut the selected text

Pressing cmd + x without selecting text in other IDEs, cuts the complete line. Same goes for cmd + c which copies, instead of cutting. Otherwise, if some text is selected, only that region is cut. ...
1
vote
0answers
36 views

Does it violate App Store/YouTube TOS to develop YouTube Player app?

I want to develop a 3rd party YouTube Player app which only have 2 main features: Background playback Block ads If I submitted this app to App Store. Will Apple approve my app? Does that violate App ...
1
vote
1answer
3k views

How to debug an app that runs fine on iOS simulator, but crashes on iPhone X?

I'm currently building an app with Cordova, and it appears that on the last alpha version, the app only works in the iOS Simulator. When ran on an iPhone X, the app is crashes immediately. I'm not ...
2
votes
0answers
121 views

Xcode Beta and Additional Components

Short question: Will installing the additional components for Xcode 10 beta interfere in any way with the currently installed, AppStore version (9.x)? What are this "additional components"? Are they ...
22
votes
3answers
29k views

How can I install java openjdk 8 on High Sierra

How do I install OpenJDK 8 on High Sierra? It looks like support for the Java Oracle JDK version 8 will be deprecated after January 2019 Java SE Overview Additionally, it looks like publishing and ...
5
votes
0answers
2k views

When connected to iPad, the Web Inspector on my Mac is empty

I am struggling to use the Web Inspector on my Mac to inspect the webpage on my iPad. This is how I am trying to connect my Mac to my iPad: I have turned on web inspector on my iPad. I have checked ...
0
votes
0answers
23 views

Recommended Fusion / Win10 hardware settings on MBP 2018

I'm a .Net software dev and want to get the absolute best perf out of my Win10 Fusion VM while keeping a sane experience for the OSX host. I have the currently top-spec 2018 MBP. My settings are 4 (of ...
2
votes
2answers
45 views

How to check if file is in use?

I have c++ application and I need to know if one file is in use by anyone. I'm ok with running any shell command, but I don't want to run lsof command for this purpose, since I think I can't safely ...
3
votes
1answer
583 views

Is Mac OS Extended (Journaled) safe to be used as a developer instead of the Case-sensitive type?

I am coming from Linux world. I just realized that my MacBook is using Mac OS Extended (Journaled) partition type today and it's case-insensitive. That concerns me a lot as a developer. Because my ...
0
votes
2answers
582 views

Is an iPod Touch 5th generation a good testing device for iOS (react-native) development in 2018

As I'm going to upload my first app on the Apple App store and do not own an iPhone. From what I understand, owning and bundling your app on an Apple Device is a required phase of the app creation ...
1
vote
1answer
627 views

GCC with-gxx-include-dir is set to iOS 11.4 simulator

I'm trying to compile https://github.com/zeromq/libzmq which requires me to run autoconf and then ./configure. It was working a few days ago, but now this happens: checking for a BSD-compatible ...
3
votes
2answers
493 views

Where can I find Mojave Kernel Headers?

I'm trying to get a hold of the Kernel Headers for 10.14 Mojave, but even though the Beta version (even two actually) was already released, XNU's repository (both here and here) is still only up-to-...
2
votes
1answer
5k views

Do I need the latest version of macOS to run Xcode and publish macOS/iOS apps?

To release an app to the App Store or build one you need a Mac. So my sister offered me her 13" 2013 MacBook Air (128GB) for €200 (~$230). It's still running pretty well, so price-wise it's worth it (...
1
vote
1answer
64 views

Looking for an external bluetooth switch to run an applescript [closed]

I'm looking for an external bluetooth button/switch that I can program to do something specific, like open up an app / run a script. Does anything like that exist? Even if it can only do 1 specific ...