Search results for

“Visual Studio Maui IOS”

109,079 results found

Post

Replies

Boosts

Views

Activity

Questions on Promo/Offer Code Validation and Functionality for In-App Purchases
We are implementing promo/offer codes for our iOS app’s subscription in-app purchases and have several technical questions regarding validation, receipt data, and integration. Could you please provide guidance on the following points? Testing/Validating Custom Codes Without Production Release: How can we validate custom promo/offer codes in a non-production environment? Current documentation indicates promo codes only work in production, requiring app submission and future release date setup for testing. Receipt Data for Redeemed Codes: The receipt currently includes only offer_code_ref_name, not the exact redeemed code (e.g., “ABC123”) entered by the user. Is there a way to retrieve the specific offer code used via receipts, App Store Server API, or other endpoints? Server-Side Validation Best Practices: What are the recommended best practices for server-side validation of offer codes, including using App Store Server API for transaction verification? Passing appAccountToken for Coupons: How can we
1
0
175
3w
QWAC validation
Hello there, Starting from iOS 18.4, support was included for QWAC Validation and QCStatements. Using the official QWAC Validator at: https://eidas.ec.europa.eu/efda/qwac-validation-tool I was able to check that the domain eidas.ec.europa.eu has a valid QWAC certificate. However, when trying to obtain the same result using the new API, I do not obtain the same result. Here is my sample playground code: import Foundation import Security import PlaygroundSupport PlaygroundPage.current.needsIndefiniteExecution = true @MainActor class CertificateFetcher: NSObject, URLSessionDelegate { private let url: URL init(url: URL) { self.url = url super.init() } func start() { let session = URLSession(configuration: .ephemeral, delegate: self, delegateQueue: nil) let task = session.dataTask(with: url) { data, response, error in if let error = error { print(Error during request: (error)) } else { print(Request completed.) } } task.resume() } nonisolated func urlSession(_ session: URLSession, didReceive challenge: UR
6
0
282
3w
DeviceActivityReportExtension: NSExtensionPrincipalClass required by App Store but rejected at runtime
I'm experiencing a contradictory validation issue with DeviceActivityReportExtension that creates an impossible situation: The Problem: Without NSExtensionPrincipalClass in Info.plist → App Store Connect rejects upload with: Missing Info.plist values. No values for NSExtensionMainStoryboard or NSExtensionPrincipalClass found With NSExtensionPrincipalClass → Local install fails with: defines either an NSExtensionMainStoryboard or NSExtensionPrincipalClass key, which is not allowed for the extension point com.apple.deviceactivityui.report-extension Setup: Extension point: com.apple.deviceactivityui.report-extension Using SwiftUI with @main attribute and DeviceActivityReportExtension protocol Xcode 16.2, iOS 17.6 deployment target Code structure: @main struct SpoolReport: DeviceActivityReportExtension { var body: some DeviceActivityReportScene { // Report scenes here } } The extension builds and runs perfectly without NSExtensionPrincipalClass, but cannot be uploaded to App Store Connect. Adding the key
10
0
643
3w
Bluetooth audio packet alignment
We’re evaluating a Bluetooth device that supports Hands Free Profile (HFP) as the “Hands-Free Unit”. You can think of this as a Bluetooth telephone headset. This device interacts with our iOS application. We observed the following. The iPhone 17 HFP Wide-Band Speech (WBS) mSBC decoder requires the WBS packet (H2 header + mSBC frame) to be sent aligned. Aligned meaning, the H2 header must be first in every packet. The WBS packet cannot span multiple eSCO packets or else the iPhone will discard the audio. This is a different implementation than the iPad (iPad Pro 11-inch M4) , presumably due to Apple’s new N1 chip. In other words, we’ve identified that older iPhones and iPads do not require this alignment. They have implemented a stateful parser/decoder of the HFP WBS audio. A quick picture to help illustrate. The iPhone 17 requires: | Frame | Frame | Frame | Frame | However, a Bluetooth implementation we are evaluating does: | me Fra | me Fra | me Fra | me Fra | Does Apple intend to keep this implemen
3
0
141
3w
Reply to Crash while presenting a media picker for Music
Thanks so much for the post. The crash you are experiencing: remoteViewController cannot be nil... We likely got a nil remoteViewController? Even though the error says Music is crashing, it almost always means is your app allow to access the Music app's UI. The app is requires to explicitly declare that app needs access to the user's Apple Music / Media Library. If you don't include this key, the system will instantly kill the process trying to access it, resulting in the exact crash log you posted I think, have not see it forever, so I’m digging into my small brain. Do you have in your info.plist the NSAppleMusicUsageDescription. https://developer.apple.com/documentation/bundleresources/information-property-list/nsapplemusicusagedescription Are you testing in the simulator? The iOS Simulator does not have the Apple Music app installed. I believe that could cause the issue? You must test MPMediaPickerController on a physical iOS device. If you are testing on a physical device and the user ha
Topic: Media Technologies SubTopic: Audio Tags:
3w
SwiftUI Instruments tool error: "Time Profiler: Time Profiler does not support the iOS platform"
I am trying to run the SwiftUI instruments tool for an iOS app and every time I run it, it either switches from giving me the Time Profiler: Time Profiler does not support the iOS platform error, or I end up with no data at all; however, when I run just the Time Profiler by itself it works fine. I am running this on a physical device
1
0
60
3w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Well, that was exciting |-: [quote='879472022, simonsruggi, /thread/818403?answerId=879472022#879472022, /profile/simonsruggi'] It looks like Apple fixed the issue. [/quote] Yep. I can’t really go into details here, other than to say that: ppq.apple.com is a service on the critical path for the trusted execution of code in some situations [1]. It was having problems. Those are now fixed. I don’t have time to read through all 10 pages of posts on this thread. So, if there’s something you want to draw my attention to here, I recommend that you start a new thread with the details. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] There might be more info about it on the enterprise support side of things, but the only developer-focused reference I could find for it was in an old Xcode help page: Manually trust a developer on iOS.
3w
Mac Assigning NSManagedObject to NSPersistentStore
Hello, I have a iOS app I was looking at porting to Mac. I'm having an issue with both the Mac (Designed for iPad) and Mac Catalyst Destinations. I can't test Mac due to too many build issues. I'm trying to assign a new NSManagedObject into a NSPersistentStore. let object = MyObject(context: context) context.assign(object, to: nsPersistentStore) This works fine for iOS/iOS Simulator/iPhone/iPad. But on the Mac it's crashing with FAULT: NSInvalidArgumentException: Can't assign an object to a store that does not contain the object's entity.; { Thread 1: Can't assign an object to a store that does not contain the object's entity.
6
0
261
3w
TestFlight install fails with “The requested app is not available or doesn’t exist” after successful upload (Flutter app)
Hello, I’m facing an issue installing my app from TestFlight on a physical iPhone device. App & Environment App: Desi Charades Framework: Flutter Distribution: TestFlight Build status: Upload completed Device: iPhone 7+ iOS version: 15.6 Tester type: Internal Apple Developer Program: Paid account Issue Description After uploading a build successfully to App Store Connect and adding it to TestFlight, the app appears in TestFlight with the Install button. However, when I tap Install, I receive the following error on the device: “Could not install Desi Charades App. The requested app is not available or doesn’t exist.” The build is visible in TestFlight, but installation fails immediately. Upload Warnings During archive upload, App Store Connect shows the following warnings: Upload Symbols Failed The archive did not include a dSYM for: ffmpegkit.framework libavcodec.framework libavdevice.framework The app uses ffmpeg-kit (Flutter plugin), which ships precompiled frameworks. Steps Already Checked Bui
1
0
246
3w
Reply to App group broken on Sequoia
I’m not sure what’s going wrong here but I have a couple of diagnostics tests for you to run. Both require you to get your file provider started. Once you have that: Use launchctl procinfo to check whether the process has the entitlements validated flag set. App Groups: macOS vs iOS: Working Towards Harmony has an explanation of how to do this. Use codesign to check the entitlements of the running process: % codesign -d --entitlements - PID where PID is the process ID. What do you see? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
3w
Auto-renewable subscriptions stuck in "Waiting for Review" causing StoreKit products unavailable during App Review
Hi Apple Developer Forums, I am experiencing a repeated issue with auto-renewable subscriptions during App Review for my iOS app. The app uses RevenueCat for subscription management. The subscription products exist in App Store Connect and are correctly configured, but they remain in Waiting for Review. During App Review, the reviewer attempts to access the subscription paywall and receives an error stating that subscriptions are unavailable. This appears to happen because StoreKit cannot fetch the products while they are still waiting for review. This creates a loop: Subscriptions exist in App Store Connect and are in Waiting for Review App Review installs the app StoreKit cannot return the subscription products yet RevenueCat returns an offerings_fetch_failed error The reviewer sees subscriptions unavailable The app is rejected before the subscriptions are approved We have thoroughly verified the configuration: • Subscription group exists • All products are inside the group • Product IDs match exac
6
0
165
3w
Reply to XCTest Bundle cannot access local network.
[quote='879236022, ADietz, /thread/817792?answerId=879236022#879236022, /profile/ADietz'] each needs some level of code modification of the app under test? [/quote] No, and yes. The first approach doesn’t require you to modify the app under test because the actual local networking ends up being done by your Mac. However, it’s a lot trickier to set up because it requires you to bring up a non-local server. The second approach is easier to set up but it does require support within the app under test. Hmmm, and that suggests a third approach, which is a variant of the second one but with the proxy running in a completely different app on the test device. For this to work you’d have to ensure that this proxy app runs indefinitely in the background. That’s tricky to do in production — see iOS Background Execution Limits — but you can probably make it work in this just-for-testing scenario. So, something like this: Create an ‘audio streaming’ app that continuously plays silent audio and implements the sort
3w
Latest Beta Version Breaks Xcode Testing Builds on Physical devices.
This is a grave issue I am facing while testing my apps on my personal device. This is the error I seem to be getting: The application could not be launched because the Developer App Certificate is not trusted. And on the phone side, this is the message: Unable to Verify App. An internet connection is required to verify the trust of the developer Apple Development... Before I receive any recommendations, such as deleting Xcode or restarting my device, I would like to clarify that I have already taken all necessary precautions. The application I was testing appeared to function correctly in the morning a few hours prior to the update. However, after upgrading to the latest beta builds, iOS 26.4 beta and the latest macOS beta, this issue has become a recurring problem. I would greatly appreciate your assistance in resolving this matter, as it is of utmost importance to me.
2
0
110
3w
Questions on Promo/Offer Code Validation and Functionality for In-App Purchases
We are implementing promo/offer codes for our iOS app’s subscription in-app purchases and have several technical questions regarding validation, receipt data, and integration. Could you please provide guidance on the following points? Testing/Validating Custom Codes Without Production Release: How can we validate custom promo/offer codes in a non-production environment? Current documentation indicates promo codes only work in production, requiring app submission and future release date setup for testing. Receipt Data for Redeemed Codes: The receipt currently includes only offer_code_ref_name, not the exact redeemed code (e.g., “ABC123”) entered by the user. Is there a way to retrieve the specific offer code used via receipts, App Store Server API, or other endpoints? Server-Side Validation Best Practices: What are the recommended best practices for server-side validation of offer codes, including using App Store Server API for transaction verification? Passing appAccountToken for Coupons: How can we
Replies
1
Boosts
0
Views
175
Activity
3w
Reply to Xcode 26.3 not rendering Unicode/Emoji in Simulator or Canvas
Same here. Works normally in Physical device. Need to fallback to iOS 26.1 in Simulator. Do we have any fix/updates so far?
Replies
Boosts
Views
Activity
3w
QWAC validation
Hello there, Starting from iOS 18.4, support was included for QWAC Validation and QCStatements. Using the official QWAC Validator at: https://eidas.ec.europa.eu/efda/qwac-validation-tool I was able to check that the domain eidas.ec.europa.eu has a valid QWAC certificate. However, when trying to obtain the same result using the new API, I do not obtain the same result. Here is my sample playground code: import Foundation import Security import PlaygroundSupport PlaygroundPage.current.needsIndefiniteExecution = true @MainActor class CertificateFetcher: NSObject, URLSessionDelegate { private let url: URL init(url: URL) { self.url = url super.init() } func start() { let session = URLSession(configuration: .ephemeral, delegate: self, delegateQueue: nil) let task = session.dataTask(with: url) { data, response, error in if let error = error { print(Error during request: (error)) } else { print(Request completed.) } } task.resume() } nonisolated func urlSession(_ session: URLSession, didReceive challenge: UR
Replies
6
Boosts
0
Views
282
Activity
3w
DeviceActivityReportExtension: NSExtensionPrincipalClass required by App Store but rejected at runtime
I'm experiencing a contradictory validation issue with DeviceActivityReportExtension that creates an impossible situation: The Problem: Without NSExtensionPrincipalClass in Info.plist → App Store Connect rejects upload with: Missing Info.plist values. No values for NSExtensionMainStoryboard or NSExtensionPrincipalClass found With NSExtensionPrincipalClass → Local install fails with: defines either an NSExtensionMainStoryboard or NSExtensionPrincipalClass key, which is not allowed for the extension point com.apple.deviceactivityui.report-extension Setup: Extension point: com.apple.deviceactivityui.report-extension Using SwiftUI with @main attribute and DeviceActivityReportExtension protocol Xcode 16.2, iOS 17.6 deployment target Code structure: @main struct SpoolReport: DeviceActivityReportExtension { var body: some DeviceActivityReportScene { // Report scenes here } } The extension builds and runs perfectly without NSExtensionPrincipalClass, but cannot be uploaded to App Store Connect. Adding the key
Replies
10
Boosts
0
Views
643
Activity
3w
Bluetooth audio packet alignment
We’re evaluating a Bluetooth device that supports Hands Free Profile (HFP) as the “Hands-Free Unit”. You can think of this as a Bluetooth telephone headset. This device interacts with our iOS application. We observed the following. The iPhone 17 HFP Wide-Band Speech (WBS) mSBC decoder requires the WBS packet (H2 header + mSBC frame) to be sent aligned. Aligned meaning, the H2 header must be first in every packet. The WBS packet cannot span multiple eSCO packets or else the iPhone will discard the audio. This is a different implementation than the iPad (iPad Pro 11-inch M4) , presumably due to Apple’s new N1 chip. In other words, we’ve identified that older iPhones and iPads do not require this alignment. They have implemented a stateful parser/decoder of the HFP WBS audio. A quick picture to help illustrate. The iPhone 17 requires: | Frame | Frame | Frame | Frame | However, a Bluetooth implementation we are evaluating does: | me Fra | me Fra | me Fra | me Fra | Does Apple intend to keep this implemen
Replies
3
Boosts
0
Views
141
Activity
3w
Reply to Crash while presenting a media picker for Music
Thanks so much for the post. The crash you are experiencing: remoteViewController cannot be nil... We likely got a nil remoteViewController? Even though the error says Music is crashing, it almost always means is your app allow to access the Music app's UI. The app is requires to explicitly declare that app needs access to the user's Apple Music / Media Library. If you don't include this key, the system will instantly kill the process trying to access it, resulting in the exact crash log you posted I think, have not see it forever, so I’m digging into my small brain. Do you have in your info.plist the NSAppleMusicUsageDescription. https://developer.apple.com/documentation/bundleresources/information-property-list/nsapplemusicusagedescription Are you testing in the simulator? The iOS Simulator does not have the Apple Music app installed. I believe that could cause the issue? You must test MPMediaPickerController on a physical iOS device. If you are testing on a physical device and the user ha
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
3w
Reply to SwiftUI Instruments tool error: "Time Profiler: Time Profiler does not support the iOS platform"
Hi there! That is certainly not expected – could you please file a feedback with us, including model, OS version and sysdiagnose from your iOS device? Thanks, Kacper
Replies
Boosts
Views
Activity
3w
SwiftUI Instruments tool error: "Time Profiler: Time Profiler does not support the iOS platform"
I am trying to run the SwiftUI instruments tool for an iOS app and every time I run it, it either switches from giving me the Time Profiler: Time Profiler does not support the iOS platform error, or I end up with no data at all; however, when I run just the Time Profiler by itself it works fine. I am running this on a physical device
Replies
1
Boosts
0
Views
60
Activity
3w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Well, that was exciting |-: [quote='879472022, simonsruggi, /thread/818403?answerId=879472022#879472022, /profile/simonsruggi'] It looks like Apple fixed the issue. [/quote] Yep. I can’t really go into details here, other than to say that: ppq.apple.com is a service on the critical path for the trusted execution of code in some situations [1]. It was having problems. Those are now fixed. I don’t have time to read through all 10 pages of posts on this thread. So, if there’s something you want to draw my attention to here, I recommend that you start a new thread with the details. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] There might be more info about it on the enterprise support side of things, but the only developer-focused reference I could find for it was in an old Xcode help page: Manually trust a developer on iOS.
Replies
Boosts
Views
Activity
3w
Mac Assigning NSManagedObject to NSPersistentStore
Hello, I have a iOS app I was looking at porting to Mac. I'm having an issue with both the Mac (Designed for iPad) and Mac Catalyst Destinations. I can't test Mac due to too many build issues. I'm trying to assign a new NSManagedObject into a NSPersistentStore. let object = MyObject(context: context) context.assign(object, to: nsPersistentStore) This works fine for iOS/iOS Simulator/iPhone/iPad. But on the Mac it's crashing with FAULT: NSInvalidArgumentException: Can't assign an object to a store that does not contain the object's entity.; { Thread 1: Can't assign an object to a store that does not contain the object's entity.
Replies
6
Boosts
0
Views
261
Activity
3w
TestFlight install fails with “The requested app is not available or doesn’t exist” after successful upload (Flutter app)
Hello, I’m facing an issue installing my app from TestFlight on a physical iPhone device. App & Environment App: Desi Charades Framework: Flutter Distribution: TestFlight Build status: Upload completed Device: iPhone 7+ iOS version: 15.6 Tester type: Internal Apple Developer Program: Paid account Issue Description After uploading a build successfully to App Store Connect and adding it to TestFlight, the app appears in TestFlight with the Install button. However, when I tap Install, I receive the following error on the device: “Could not install Desi Charades App. The requested app is not available or doesn’t exist.” The build is visible in TestFlight, but installation fails immediately. Upload Warnings During archive upload, App Store Connect shows the following warnings: Upload Symbols Failed The archive did not include a dSYM for: ffmpegkit.framework libavcodec.framework libavdevice.framework The app uses ffmpeg-kit (Flutter plugin), which ships precompiled frameworks. Steps Already Checked Bui
Replies
1
Boosts
0
Views
246
Activity
3w
Reply to App group broken on Sequoia
I’m not sure what’s going wrong here but I have a couple of diagnostics tests for you to run. Both require you to get your file provider started. Once you have that: Use launchctl procinfo to check whether the process has the entitlements validated flag set. App Groups: macOS vs iOS: Working Towards Harmony has an explanation of how to do this. Use codesign to check the entitlements of the running process: % codesign -d --entitlements - PID where PID is the process ID. What do you see? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
3w
Auto-renewable subscriptions stuck in "Waiting for Review" causing StoreKit products unavailable during App Review
Hi Apple Developer Forums, I am experiencing a repeated issue with auto-renewable subscriptions during App Review for my iOS app. The app uses RevenueCat for subscription management. The subscription products exist in App Store Connect and are correctly configured, but they remain in Waiting for Review. During App Review, the reviewer attempts to access the subscription paywall and receives an error stating that subscriptions are unavailable. This appears to happen because StoreKit cannot fetch the products while they are still waiting for review. This creates a loop: Subscriptions exist in App Store Connect and are in Waiting for Review App Review installs the app StoreKit cannot return the subscription products yet RevenueCat returns an offerings_fetch_failed error The reviewer sees subscriptions unavailable The app is rejected before the subscriptions are approved We have thoroughly verified the configuration: • Subscription group exists • All products are inside the group • Product IDs match exac
Replies
6
Boosts
0
Views
165
Activity
3w
Reply to XCTest Bundle cannot access local network.
[quote='879236022, ADietz, /thread/817792?answerId=879236022#879236022, /profile/ADietz'] each needs some level of code modification of the app under test? [/quote] No, and yes. The first approach doesn’t require you to modify the app under test because the actual local networking ends up being done by your Mac. However, it’s a lot trickier to set up because it requires you to bring up a non-local server. The second approach is easier to set up but it does require support within the app under test. Hmmm, and that suggests a third approach, which is a variant of the second one but with the proxy running in a completely different app on the test device. For this to work you’d have to ensure that this proxy app runs indefinitely in the background. That’s tricky to do in production — see iOS Background Execution Limits — but you can probably make it work in this just-for-testing scenario. So, something like this: Create an ‘audio streaming’ app that continuously plays silent audio and implements the sort
Replies
Boosts
Views
Activity
3w
Latest Beta Version Breaks Xcode Testing Builds on Physical devices.
This is a grave issue I am facing while testing my apps on my personal device. This is the error I seem to be getting: The application could not be launched because the Developer App Certificate is not trusted. And on the phone side, this is the message: Unable to Verify App. An internet connection is required to verify the trust of the developer Apple Development... Before I receive any recommendations, such as deleting Xcode or restarting my device, I would like to clarify that I have already taken all necessary precautions. The application I was testing appeared to function correctly in the morning a few hours prior to the update. However, after upgrading to the latest beta builds, iOS 26.4 beta and the latest macOS beta, this issue has become a recurring problem. I would greatly appreciate your assistance in resolving this matter, as it is of utmost importance to me.
Replies
2
Boosts
0
Views
110
Activity
3w