Dive into the vast array of tools and services available to developers.

Post

Replies

Boosts

Views

Activity

Give microphone permission programmatically
Hello, I am setting up macMinis as CI machines (using gitlab-runner) for my team. We are developing mostly audio stuff, and some of our unit tests imply using audio inputs with AVAudioSession/AVAudioEngine. These CI jobs trigger a microphone authorization pop-up on the macMinis, asking for permission to give gitlab-runner access to the microphone. Once the authorization is given, subsequent jobs run fine. My issue is that the macMinis are updated on a regular basis with scripts, and since the path of the gitlab-runner binary, installed with homebrew, changes on every version, the pop-up is triggered again every time gitlab-runner gets updated. Since we are having more and more CI runners, maintaining this manually is becoming impossible. Is there a way to either deactivate this security or scripting the authorization for a binary to access the microphone? Thank you for your help! Tom
1
0
161
3w
How to use HomeKit Accessory Diagnostics Function
I have some questions about the ADK6.3 Diagnostic function: If HAP_DIAGNOSTICS_MANUFACTURER is not enabled when compiling ADK, after adding the device through Home, the collecting log function cannot be found in the device settings. What is the reason? How to solve it? If HAP_DIAGNOSTICS_MANUFACTURER is enabled during compilation, the vendor URL needs to be added when transmitting the diagnostic log. How is this vendor URL defined? How to add it to diagnosticsURLParameters? How can I use the Home App in iOS device to test diagnostic functions before obtaining certification for HomeKit accessories?
0
0
139
3w
iPad Mini 7th Gen Not Supported by Xcode 16
I'm having issues supporting the brand new iPad Mini 7. No simulator and the actual device (just received) doesn't appear to be supported. So I can't test my SwiftUI apps on this new device. I can't even do a "Hello, world!" app. I get this: The developer disk image could not be mounted on this device: Error mounting image: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError: The bundle image is missing the requested variant for this device.) When will this new device be supported? Or is there a work-around? Or is there an update?
6
1
249
3w
Error Adding account to Visual Studio 2022
Hi, I am trying to debug a .NET MAUI App on an iPhone in Visual Studio 2022 on Windows. But to do this I need to add my Apple Developer Account to Visual Studio 2022. When I try to do this, I get an error message saying: Error adding account There was an error while trying to log in: Authentication service is unavailable. When I give it a different user ID that is part of the same Apple Developer Account it gives the same error. When I give an incorrect password, the same error appears.
35
34
5.3k
Oct ’24
Unable to Connect Apple ID Binding and Payment on IPv6 Network, Need Solutions
Hi everyone, I'm experiencing issues with Apple ID binding and payment on an IPv6 network. I've tried multiple devices and networks, but the problem persists. I'm not sure if it's due to a lack of official support for IPv6. I have a few questions: 1.Has anyone successfully completed Apple ID binding and payment on an IPv6 network? 2.If there is no official support, are there any solutions or alternatives? For example, switching to IPv4 or other workarounds?
0
0
137
4w
5 Transaction ID's
When a user subscribes I create a document in Firestore to track that subscription using my back end. In sandbox it works perfect, one document made for each purchase. When a real user subscribes I get 5 slightly different transaction ID’s (last 4 digits change). Is this just an Apple thing and I should keep all 5? I need them for webhooks to track
0
0
133
Oct ’24
Retrieve Dark Mode and Tinted app icons
Hello, Is there a way to retrieve the dark mode and the tinted app icons using personal iOS device, or alternatively through an available API? I wasn't able to find anything online or on the existing form posts. I tried using: xcrun devicectl device info appIcon But this command only returns a light mode icon for an app and I didn't see any options/flags for dark mode or tinted icons Software Version info: XCode - 16 MacOS 15.1 Beta (24B5070a) devicectl - 397.21 xcrun - version 70, platform version 15.0 Let me know if any other info would be helpful. Thanks!
2
0
198
Oct ’24
I’m getting an error while running `yarn ios` in React Native.
export VALIDATE_DEVELOPMENT_ASSET_PATHS=YES_ERROR export VALIDATE_PRODUCT=NO export VALID_ARCHS=arm64\ arm64e\ i386\ x86_64 export VERBOSE_PBXCP=NO export VERSION_INFO_BUILDER=always export VERSION_INFO_FILE=React-Codegen_vers.c export VERSION_INFO_STRING="@(#)PROGRAM:React-Codegen\ \ PROJECT:Pods-" export WORKSPACE_DIR=/Users/always/Downloads/Qacademy-Developing-UI-3\ 4/ios export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode export XCODE_PRODUCT_BUILD_VERSION=16A242d export XCODE_VERSION_ACTUAL=1600 export XCODE_VERSION_MAJOR=1600 export XCODE_VERSION_MINOR=1600 export XPCSERVICES_FOLDER_PATH=/XPCServices export YACC=yacc export arch=undefined_arch export variant=normal /bin/sh -c /Users/always/Library/Developer/Xcode/DerivedData/Qacademy-ahrekaakdnrtqnfurmiuebfpbjdn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Codegen.build/Script-46EB2E00016FC0.sh /bin/sh: /Users/always/Downloads/Qacademy-Developing-UI-3: is a directory Command PhaseScriptExecution failed with a nonzero exit code warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Qacademy' from project 'Qacademy') warning: Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods') --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS Simulator, id:F3B25D76-2816-4DA9-B63D-DAA28C7C48A0, OS:18.0, name:iPhone 16 Pro Max } { platform:iOS Simulator, id:F3B25D76-2816-4DA9-B63D-DAA28C7C48A0, OS:18.0, name:iPhone 16 Pro Max } ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/always/Library/Developer/Xcode/DerivedData/Qacademy-ahrekaakdnrtqnfurmiuebfpbjdn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Codegen.build/Script-46EB2E00016FC0.sh (in target 'React-Codegen' from project 'Pods') Building workspace Qacademy with scheme Qacademy and configuration Debug (2 failures)
1
0
226
Oct ’24
How to symbolize memory graph if symbols is not compiled into application
To reduce the app size, the application dmg file does not contains the symbols in it. But when we meet memory issue, I use "leaks 'appName' --outputGrap =memoryLeak.memgraph" to get a memory graph Because there is no symbols contained the application, there is no function names(module names) which allocate the memory from the memory graph. But, we save the symbols as separate .dSYM files when compile, Is there any way to use the .dSYM files to symbolize the memory graph in this case ?
0
0
119
Oct ’24
CommandLineTools
Install CommandLineTools below macOS Sequoia installs the VULNERABLE version of Git, 2.39.3 while macOS Sequoia installs a non-vulnerable version 2.39.5. How to get the non vulnerable version installed on macOS Sonoma? CVE-2024-32002 - Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a .git/ directory.
1
0
181
Oct ’24