Post

Replies

Boosts

Views

Activity

free macOS app, paid iOS app with multiplatform template?
I have an Xcode project based on the multiplatform template. The SwiftUI-based app has a macOS target and an iOS target. I want to release the macOS app as a free download, but charge for the iOS app. In App Store Connect, I don't see a way to set a price for the iOS app only. Can this be done, or do I need two projects with different bundle IDs?
0
0
446
Mar ’23
macOS app TestFlight build fails to "Open at Login"
I have a TestFlight build of my Mac app installed on Ventura (13.2.1). If I open the app, then restart macOS with "Reopen windows when logging back in" checked, it opens again as expected on login. If I enable "Open at Login" from the app's dock item but don't open the app, then restart macOS, it bounces in the dock for 90 seconds or so but never opens. If I click the item in the dock afterwards, it opens immediately. Any ideas on what could cause this behavior? I see nothing in the system log, crash reports, etc.
0
0
675
Feb ’23
App Store iPad screenshots
The current App Store requirements for iPad screenshots are: 12.9-inch (iPad Pro (6th generation, 5th generation, 4th generation, 3rd generation)) 2048 x 2732 12.9-inch (iPad Pro (2nd generation)) 2048 x 2732 Since the images sizes are the same, can I upload the same set of images for both? Or does one set have to show the newer iPad without a Home button, and the the other set the older iPad with a Home button?
3
0
1.1k
Feb ’23
defining an app group shared between macOS and iOS
My understanding is that iOS app group names must begin with "group.", but macOS group names must begin with the team identifier. If I check a "group." name in the iOS section, it's also added to the macOS section, despite being invalid. If I add a "team-id:" name in the macOS section, it's also added to the iOS section, and marked in red as invalid. If I uncheck it from the iOS section, it also gets removed from the macOS section. Is there a way to define the equivalent group names in the two sections? Xcode 14.1b3 screenshot:
1
0
1.8k
Oct ’22
"Failed to set up CloudKit integration" in TestFlight build
I'm building a macOS + iOS SwiftUI app using Xcode 14.1b3 on a Mac running macOS 13.b11. The app uses Core Data + CloudKit. With development builds, CloudKit integration works on the Mac app and the iOS app. Existing records are fetched from iCloud, and new records are uploaded to iCloud. Everybody's happy. With TestFlight builds, the iOS app has no problems. But CloudKit integration isn't working in the Mac app at all. No existing records are fetched, no new records are uploaded. In the Console, I see this message: error: CoreData+CloudKit: Failed to set up CloudKit integration for store: <NSSQLCore: 0x1324079e0> (URL: <local file url>) Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.cloudd was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.cloudd was invalidated: failed at lookup with error 159 - Sandbox restriction.} I thought it might be that I was missing the com.apple.security.network.client entitlement, but adding that didn't help. Any suggestions what I might be missing? (It's my first sandboxed Mac app, so it might be really obvious to anyone but me.)
3
0
2.8k
Oct ’22
sharing urls broken on iOS 14?
My app uses UIActivityViewController to let the user share a URL. This works normally on iOS 13. On iOS 14, if the user selects Messages from the share sheet, the URL in Messages has been changed so that the domain is 127.0.0.1. This doesn't happen if they choose Copy to send it to the clipboard. In that case, the URL is exactly as expected. Is this a bug? Did I miss some new security setting?
1
0
828
Oct ’20