Search results for

Account Locked

31,782 results found

Post

Replies

Boosts

Views

Activity

【iOS18.2~18.3.2 bug】After switching sandbox accounts in Settings, the value of SKStorefront.countryCode is not synchronized
Problem Description: 1、I have two sandbox accounts from different countries. Account A is from Mainland China (CHN), and Account B is from the United States (USA). When I switch the sandbox account from Account A (CHN) to Account B (USA) in the system settings and restart the app, the value of SKPaymentQueue.defaultQueue.storefront.countryCode always returns CHN instead of the expected USA. 2、This issue only occurs on iOS 18.2 and above. 3、On the same device running iOS 17.5.1, the behavior is correct. However, after upgrading the system to iOS 18.3.2, the error occurs. 4、In the sandbox environment, although SKStorefront.countryCode returns the wrong value, the currency type for Apple's in-app purchase is correct when initiating the payment. 5、The issue only exists in the sandbox environment and does not occur in the App Store-downloaded package. Demo Code: - (IBAction)clickButton:(id)sender { NSString *appStoreCountryCode3 = SKPaymentQueue.defaultQueue.st
5
0
721
4d
Reply to Best Practices for Using CKAssets in Public CloudKit Database for Social Features
Yes, using CloudKit public database + your own user system for access control is totally fine. CloudKit has storage and request rate limites on a public database, and the numbers grow with the user base of your app. However, we don't have a documentation formally documenting the limits, and so I can only suggest that you file a feedback report to request more information. CloudKit shared database and public database are for different purposes. The former is used to share records between different iCloud accounts; a shared database can only be accessed by the participant who owns the database. The latter is used for the data that is by default accessible to all app users. Regarding CKAsset, I don't have anything special off the top of my head. If you have a specific use case to share, I'd see if I have more comments. Best, —— Ziqiao Chen  Worldwide Developer Relations.
4d
Reply to How to print WKWebView in Sequoia?
Hello and thank you for providing a sample. I was able to reproduce your results using the sample. It looks like the number of pages is not being calculated properly and the printed content is getting truncated because of that. Thank you for filing a bug report (FB20581927). At this time your bug remains open and under investigation. Please continue to test your software in release and pre-release versions of system software made available to you through your developer.apple.com account. When you do, add details about that into your bug report to keep it up to date. Please see https://developer.apple.com/download/.
Topic: App & System Services SubTopic: Core OS Tags:
4d
Reply to Safari block the access to some port of an IP on the whole system
I'm self-hosting a web project called mempool (https://github.com/Retropex/mempool). This project is entirely self-hosted on my own infrastructure, so I have advanced control to be sure it's just not an anti-DDoS feature that makes the bug happen. If you haven't already, please do the following: You can do the testing below on any machine you can reproduce the issue on. I'd probably use a Mac, but you can use iOS if that's simpler. However, with whatever machine you’re testing with, try and use the most minimal system possible. Ideally, that's a device that's just been reset, but using a newly created account works reasonably well on macOS as long as there isn't too much 3rd party software running system-wide. The key here is that having less on the machine minimizes the risk of private data leaking and extraneous log noise. I'd recommend installing the mDNSResponder and Network Diagnostics on the device. Those might not be necessary, but both of those increase the level of network diagnostic data, a
4d
Subscription purchase not working because status is not "Ready for Sale"
Hi Apple Devs, We are having trouble getting subscription purchases to work in sandbox. We have sandbox set up with the right account and configuration, but the first subscription we submitted is still pending review. It seems that we cannot test the purchase flow until it has actually been approved. That is, attempting to upgrade your subscription leads to an invalid product ID error, presumably because the product is not ready for sale. Am I misunderstanding how subscriptions are supposed to be tested and reviewed? Thank you!
1
0
54
4d
Reply to Unable to renew Apple Developer Program membership
Thanks for the post. We appreciate your interest in participating in the forums! These forums are for questions about developing software and accessories for Apple platforms. Your question seems related to Apple Developer membership. I would recommend to check this help page for the renewal of the membership as its automatic as far as I know: https://developer.apple.com/help/account/membership/renewal/ Albert Pascual
  Worldwide Developer Relations.
4d
Recursively walk a directory using File Coordination
What’s the recommended way to recursively walk through a directory tree using File Coordination? From what I understand, coordinating a read of a directory only performs a “shallow” lock; this would mean that I’d need to implement the recursive walk myself rather than use FileManager.enumerator(at:includingPropertiesForKeys:options:errorHandler:) plus a single NSFileCoordinator.coordinate(with:queue:byAccessor:) call. I’m trying to extract information from all files of a particular type, so I think using NSFileCoordinator.ReadingOptions.immediatelyAvailableMetadataOnly on each file before acquiring a full read lock on it (if it’s the right file type) would make sense. Am I on the right track?
5
0
98
5d
Inquiry: Inconsistent VPP UpdateBehavior with DDM (auto-update timing + manual-update gating)
Hi there, We’re testing Declarative Device Management (DDM) for VPP app management and followed the latest declaration template here: https://github.com/apple/device-management/blob/release/declarative/declarations/configurations/app.managed.yaml Our goal is to enable VPP auto-updates via the declaration. The payload we’re using looks like this: AppStoreID: 1231325957, InstallBehavior: {Install: Required, License: {Assignment: Device}}, UpdateBehavior: {AutomaticAppUpdates: AlwaysOn} } What we’re seeing Device A (no Apple ID signed into App Store): User can manually update the VPP app with the above declaration in place. ( The same user cannot update the app if UpdateBehavior is not in the declaration payload. Device B (Apple ID signed into App Store, and the same Apple ID doesn't have the above app purchased): User cannot manually update the same VPP app. The App Store shows the error seen when UpdateBehavior is absent: “ cannot be updated because it was refunded or purchased with a different Apple Account
1
0
370
5d
Keychain and Local Data Loss After App Transfer Between Developer Accounts
Hello everyone, We recently transferred our iOS app from one Apple Developer account to another, and after the transfer, we encountered a serious issue where all previously stored Keychain data and the local database became inaccessible. As a result, all users are automatically logged out and lose access to their locally stored data (such as chat history) once they update to the new version signed with the new Team ID. We understand that Keychain items are tied to the App ID prefix (Team ID), which changes during an app transfer. However, we’re looking for possible workarounds or best practices to avoid user data loss. Questions: Is there any reliable method to maintain or migrate access to old Keychain data after an app transfer? Would reverting the app back to the original developer account and releasing an update from there (to persist or migrate data) before transferring it again be a viable solution? Has anyone faced a similar issue and found a practical way to handle data persistence d
1
0
82
5d
Reply to Managed Apple ID - Testflight not useable
We have this issue too. How can our iOS engineering team do their jobs without access to testflight if we adopt managed apple ids? The only reference on the topic is here: https://support.apple.com/guide/apple-business-essentials/service-access-with-managed-apple-accounts-axm171b3ee95/web which cites privacy concerns as a nebulous non-reason. Our teams that own mobile software need to use testflight to test release-track builds.
Topic: Business & Education SubTopic: General Tags:
5d
Apple Pay JS v3 in Angular: postMessage origin mismatch and onpaymentauthorized never fires
Description: I’m integrating Apple Pay JS (version 3) into an Angular application. Here are the key details: Environment: Angular (latest) Apple Pay JS v3 Chrome (confirmed window.ApplePaySession is available) application region is in US. I'm in Taiwan and using my iPhone Taiwan account to scan the QR Code/ Implemented Handlers: onvalidatemerchant onpaymentmethodselected onpaymentauthorized oncancel Observed Behavior: When I click the Apple Pay button, the console logs: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://applepay.cdn-apple.com') does not match the recipient window's origin ('https://{our-domain-name}') Despite this, the QR code still appears. Scanning the QR code with an iPhone 13 Pro running iOS 18.4.1 brings up the Apple Pay sheet with the correct amount, but payment never completes. In the browser, none of my Angular event handlers fire except oncancel. Questions: What causes the postMessage origin mismatch with Apple’s CDN frame, and how should my
3
0
150
5d