Post

Replies

Boosts

Views

Activity

Reply to How to detect refunded IAPs from receipts?
Take a look at func paymentQueue(_ queue: SKPaymentQueue, didRevokeEntitlementsForProductIdentifiers productIdentifiers: [String]) The docs say it has to do with family sharing, but I just tried it and got this callback when I opened StoreKitTest > Manage Transactions and refunded an IAP. I do receipt validation on the device using this ASN1Decoder, which has kindly been made available on GitHub. https://github.com/filom/ASN1Decoder I loop through all the purchases in the receipt to determine the logic. Refunded items have their cancellationDate field set when a refund has occurred.
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’25
Reply to UIKit Autocomplete Broken in Xcode 15.0.1 Playgrounds
Unfortunately this solution did not work. I typed this into an empty playground and I got no compiler errors at all. The playground just sits and says "Ready to continue" endlessly. import UIKit blahblahblah1234 Hello Goodbye However if I put a space between any 2 characters, I get a compiler warning: import UIKit //Consecutive statements on a line must be separated by ';' blah blah This is the only compiler error I've been able to generate. I have restarted my system several times. Playgrounds for me seems to be completely broken.
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’23
Reply to Xcode 14.3 - Failed to render and update auto layout status
Same issue. All IBDesignables are completely broken unless you build for iOS16. "/Users/moh/Developer/Temp Dev/IB_Broken/IB_Broken/Base.lproj/Main.storyboard Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(IB_Broken.app, 0x0001): tried: '/IB_Broken' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRootIB_Broken.app' (no such file), 'IB_Broken.app' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))"
Apr ’23
Reply to Image from Swift Package Displays in Storyboard But Not in Simulator or Device
I am experiencing the same thing with a PNG file in an asset catalog (Xcode 13.2.1). Colors work fine. The only thing that fixed it for me was to add the asset file to the main app's Copy Bundle Resources build phase. I'm also having @IBDesignables fail to build in Interface Builder with error Designables failed: The build product does not exist in the file system.
Topic: Programming Languages SubTopic: Swift Tags:
May ’22
Reply to How to detect refunded IAPs from receipts?
Take a look at func paymentQueue(_ queue: SKPaymentQueue, didRevokeEntitlementsForProductIdentifiers productIdentifiers: [String]) The docs say it has to do with family sharing, but I just tried it and got this callback when I opened StoreKitTest > Manage Transactions and refunded an IAP. I do receipt validation on the device using this ASN1Decoder, which has kindly been made available on GitHub. https://github.com/filom/ASN1Decoder I loop through all the purchases in the receipt to determine the logic. Refunded items have their cancellationDate field set when a refund has occurred.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to App review screenshot has wrong dimensions
I had the exact same issue and tried every possible resolution they suggested in their guidelines. For iPad, 1024 * 768 finally worked.
Replies
Boosts
Views
Activity
Dec ’24
Reply to App Name Still Locked After Renaming Old App - Please Help
SOLVED The app needs to be made available for sale. This will push it out to the App Store. Then you can immediately remove it from sale and re-upload the app with the old name.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Can't manage my sandbox account
Same here, iOS 16.6.1
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to UIKit Autocomplete Broken in Xcode 15.0.1 Playgrounds
Unfortunately this solution did not work. I typed this into an empty playground and I got no compiler errors at all. The playground just sits and says "Ready to continue" endlessly. import UIKit blahblahblah1234 Hello Goodbye However if I put a space between any 2 characters, I get a compiler warning: import UIKit //Consecutive statements on a line must be separated by ';' blah blah This is the only compiler error I've been able to generate. I have restarted my system several times. Playgrounds for me seems to be completely broken.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Xcode 15, how to uncheck "Connect via network" for physical device?
Development for us has completely stopped. We need the network in order to control musical instruments. Worse, I cannot roll back my Xcode version because I am running Sonoma and Xcode 14.2 cannot be installed? Please fix.
Replies
Boosts
Views
Activity
Nov ’23
Reply to Xcode 14.3 - Failed to render and update auto layout status
Same issue. All IBDesignables are completely broken unless you build for iOS16. "/Users/moh/Developer/Temp Dev/IB_Broken/IB_Broken/Base.lproj/Main.storyboard Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(IB_Broken.app, 0x0001): tried: '/IB_Broken' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRootIB_Broken.app' (no such file), 'IB_Broken.app' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))"
Replies
Boosts
Views
Activity
Apr ’23
Reply to [UIPickerView setFrame:]: invalid size {320, 216} pinned to {320, 216}
Only on iPhone 14 for me. It's OK building for iOS15 + iPhone 13 Pro Max (15.2)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Slow framework unit test failure (~5s)
Exact same issue - Swift Package with Mac as run destination takes ~5s complete a failing test with only a single XCTFail() statement in the whole test. Switching to iOS fixes the issue.
Replies
Boosts
Views
Activity
Jul ’22
Reply to Image from Swift Package Displays in Storyboard But Not in Simulator or Device
I am experiencing the same thing with a PNG file in an asset catalog (Xcode 13.2.1). Colors work fine. The only thing that fixed it for me was to add the asset file to the main app's Copy Bundle Resources build phase. I'm also having @IBDesignables fail to build in Interface Builder with error Designables failed: The build product does not exist in the file system.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Add addtional document type
I am having the exact same issue. I don't see any fields for the image. I can't click on anything. And the text appears upside down!
Replies
Boosts
Views
Activity
Dec ’21
Reply to How to sync UIManagedDocuments to users devices
I found this. https://ossh.com.au/design-and-technology/software-development/uimanageddocument-icloud-integration/
Replies
Boosts
Views
Activity
Dec ’21