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
1.1k
Jul ’25
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
323
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
2.1k
Jul ’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.4k
Nov ’21
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!
Replies
1
Boosts
0
Views
1.1k
Activity
Jul ’25
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!
Replies
0
Boosts
1
Views
323
Activity
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!
Replies
4
Boosts
0
Views
2.1k
Activity
Jul ’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!
Replies
1
Boosts
0
Views
1.4k
Activity
Nov ’21