Post

Replies

Boosts

Views

Activity

Xcode 26: Cannot generate provisioning profile for Mac Catalyst app in macOS 26 VM
Filed FB17873536 for this, posting here for reach. I cannot create a provisioning profile to run my Mac Catalyst app on a macOS 26 VM for my project with automatically manage signing (Xcode Managed Profile) enabled. I keep getting an error that “There is a problem with the request entity A device with number '' already exists on this team.” Disabling the device in Certificates, Identifiers, & Profiles does not work; I get the prompt to register the device on the next build but it results in the same error. “Download Manual Profiles” does not work, either. Additionally, in developer beta 2 (macOS build 25A5295e, Xcode build 17A5241o), I now get a second error message that Provisioning profile "Mac Catalyst Team Provisioning Profile: doesn't include the currently selected device "Virtual Machine" (identifier ). Clearing out the existing files in ~/Library/Developer/Xcode/UserData/Provisioning Profiles/ didn’t work either. Steps to reproduce: Create and set up a macOS 26 VM in the latest version of UTM for Mac Install Xcode 26 in the VM and sign into your Apple ID in Xcode preferences Open a Mac Catalyst app’s Xcode project and attempt to build it An alert comes up that the device is not registered in the developer account. Click the Register button to register it The process fails with the error mentioned above and it’s impossible to build for Mac Catalyst after this point. (Sign to Run Locally is not an option for me because I use entitlements that remove that option) I would appreciate any advice on how to get this working. Hopefully I will not have to create an entirely new macOS 26 VM. Thank you!
1
0
260
3w
How do I finish and track Consumable IAPs with StoreKit 2?
Hi, I'm attempting to use StoreKit 2 and SwiftUI to add a tip jar to my iOS app. I've successfully added consumable IAPs for each of my tip sizes, and used ProductView to show these on my tip jar screen. However, I am at a loss on how to do the following things: How and when do I finish the consumable IAP transaction? I see the finish() function in the documentation, but I am not sure how I can call it given that ProductView is handling the purchase for me (I have no access to a Transaction object). How can I track the amount of consumable IAPs the user has purchased across all their devices? I want to show the user the amount of money they have tipped in total. I have added SKIncludeConsumableInAppPurchaseHistory to my Info.plist and set it to YES as suggested here: https://forums.developer.apple.com/forums/thread/687199 This is my first time using StoreKit 2 (until now, I was using StoreKit 1), so I would really appreciate any advice and guidance you can provide. Thanks!
0
1
240
Jan ’25
visionOS Simulator is completely blank in macOS Sonoma VM
Hi, I have macOS 14 Sonoma beta 2 (build 23A5276g) running in a VM powered by Virtualization.framework with Xcode 15 beta 2 (build 15A5161b) installed. My host machine is an M1 MacBook Air running macOS Ventura 13.4.1. The iOS and iPadOS simulators work fine. However, when I launch the visionOS simulator from Xcode, all I get is a blank screen. Would anyone be able to help with this? I also noticed that when the visionOS simulator is open, none of the other simulators work. However, as soon as I close the visionOS simulator, everything else starts working again. Thanks!
4
0
1.9k
Jun ’23
Remote debugging iOS App running on M1 Mac?
Hi, I have an M1 MacBook Air on which I would like to debug an iOS "Designed for iPad" app. However, I would like to remotely debug the iOS app from my development machine which already has Xcode installed instead of having to install gigabytes of Xcode content onto the M1 Mac. Is there any way I can do this? So far, I've tried the following things: Plugging the M1 Mac into my development machine with a USB-C cable (I figured it would work similarly to an iPhone or iPad since M1 Macs have a similar architecture - nothing happened) Attempted remote debugging over SSH (couldn't find the option in Xcode, although old articles show that it was present back in Xcode 4) Help would be appreciated. Thanks!
1
0
1.3k
Nov ’21
AVAudioEngine crashes Quick Look Preview Extension on iOS 15
Hi, I'm trying to write a Quick Look extension for my iOS app. However, I'm having issues initializing AVAudioEngine in my QLPreviewingController subclass from preparePreviewOfFile. The following error messages are printed to the console after attempting to initialize AVAudioEngine, and the Quick Look Extension crashes with EXC_BAD_ACCESS. The same code works fine within the main iOS app. It also works on macOS inside a Catalyst app on the macOS Monterey RC when previewing a file in the Finder. I've also filed feedback with feedback number FB9713048. Thanks for taking a look at this. Console output: [audiocomp] AudioComponentPluginMgr.mm:545 reg server remote proxy error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.audio.AudioComponentRegistrar was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.audio.AudioComponentRegistrar was invalidated: failed at lookup with error 159 - Sandbox restriction.} [as] AudioSessionClientManager.cpp:475 Couldn't connect to com.apple.audio.AudioSession Error: 1100; AudioSession will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] AURemoteIO is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: AURemoteIO returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] AURemoteIO is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: AURemoteIO returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] AURemoteIO is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: AURemoteIO returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] GetProperty is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: GetProperty returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] SetProperty is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: SetProperty returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] Initialize is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: Initialize returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:1123 failed: 268435459 (enable 2, outf< 2 ch, 0 Hz, Float32, deinterleaved> inf< 2 ch, 0 Hz, Float32, deinterleaved>) throwing -10878 throwing -10878 throwing -10878 throwing -10878 throwing -10878 throwing -10878 throwing -10878 throwing -10878 throwing -10878 [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] SetProperty is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: SetProperty returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] Initialize is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: Initialize returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:1123 failed: 268435459 (enable 2, outf< 2 ch, 44100 Hz, Float32, deinterleaved> inf< 2 ch, 0 Hz, Float32, deinterleaved>) [avae] AVAEInternal.h:109 [AVAudioEngineGraph.mm:1344:Initialize: (err = PerformCommand(*outputNode, kAUInitialize, NULL, 0)): error 268435459 [avae] AVAudioEngine.mm:167 Engine@0x2830594d0: could not initialize, error = 268435459 [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] SetProperty is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: SetProperty returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] Initialize is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: Initialize returned server mach error 0x10000003! [aurioc] AURemoteIO.cpp:1123 failed: 268435459 (enable 2, outf< 2 ch, 44100 Hz, Float32, deinterleaved> inf< 2 ch, 0 Hz, Float32, deinterleaved>) [avae] AVAEInternal.h:109 [AVAudioEngineGraph.mm:1344:Initialize: (err = PerformCommand(*outputNode, kAUInitialize, NULL, 0)): error 268435459 [avae] AVAudioEngineGraph.mm:4631 Can't retrieve source node to play sequence because there is no output node! [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [aurioc] AURemoteIO.cpp:148 Couldn't connect to com.apple.audio.AURemoteIOServer; AURemoteIO will not be usable [default] GetProperty is passing a serverPID of 0 to CheckRPCError! [default] CheckRPCError: GetProperty returned server mach error 0x10000003! (lldb)
1
0
1.6k
Oct ’21