Post

Replies

Boosts

Views

Activity

Reply to Downgrade macOS 14 Sonoma Beta (23A5257q)
Not sure if the following helps, but that is what I did (after accidentally upgrading to macOS Sonoma). Xcode 15 beta will work on macOS Sonoma but you can't submit updates with Xcode beta. Note: I am no expert, so do with caution. How I wiped and installed macOS Ventura: Took a backup Downloaded macOS Ventura from the App Store Created a bootable USB disk of macOS Ventura Booted with USB, wiped disk Install macOS Ventura Copied files from backup. I still don't know how to download the macOS Sonoma installer without upgrading. Any help would be appreciated.
Jun ’23
Reply to App Icon colors don't match Display P3 color profile (16 bits / channel)
I am using the same computer display (Studio Display), when I open the icon image file in Preview color is correct, but when I see the underlying file in the IPA (inside the IPA) the color is wrong. Also when installed on the iPhone which supports Display P3 the color is wrong. I feel I am missing something obvious, because according to Xcode it seems to support Display P3. I even tried individual icons for Display P3 and sRGB. I used the same Display P3 icons in sRGB and Display P3 slots.
Apr ’23
Reply to macOS test case - Could not launch app
Please help the following is the password that XCTest was requesting on my Mac: This is required for the Mac, for iOS it runs without asking for password, So I am wondering if this is the reason why XCTest for the Mac doesn't run on Xcode Cloud. I found this post regarding the same https://developer.apple.com/forums/thread/693850 Question: I am not sure how to run automationmodetool disable-automationmode-without-authentication on Xcode Cloud?
Feb ’23
Reply to macOS test case - Could not launch app
@Developer Tools Engineer Yes the app successfully compiles and runs on both platforms. Questions: What is the password entry requirement during local test? Based on the error message /Volumes/workspace/resultbundle.xcresult on Xcode Cloud? I couldn't find it, there is very little I can do. If I provide app name would it be possible for you to investigate? Is there any way to resolve / understand the issue? Note: I remember when I first pressed Command U (Product > Test), the app did ask for some authentication and I had press the Touch ID / enter macOS user password for it to run. The app doesn't do any authentication on it is own. Scheme: I had deleted a target and added a target so I ended up adding my scheme and I had to add the Tests (UI and non-UI) in the scheme.
Feb ’23
Reply to You can only submit two builds per day to Beta App Review.
Thanks Claude31 for the clarification. External testing vs Internal Testing I suppose there can be any number of internal builds in a day, however only 2 builds can be submitted for review for External testers Errror Xcode Cloud is integrated into Xcode and reports status from AppStoreConnect, IMHO this seems more like a bug where this particular scenario has not been handled. Even AppStoreConnect doesn't actually show the error unless I try to add external testers. The fact that Xcode Cloud attempted to add external testers should have triggered the error in AppStoreConnect but however it doesn't seem to have or at least doesn't display in AppStoreConnect. After that it should be relayed to Xcode I hope the Apple Engineers could have a look at this. Thanks.
Dec ’22
Reply to How can I view the Development-server private data for my iCloud test account in the CloudKit Dashboard?
@LogicalLight Usually a Apple developer account is different from the Personal Apple account Normally you would only be able to see only your own private data (meaning only the Apple Developer account's data) New Feature Now there is a way to view your personal account's private data by tapping on Act As iCloud Account… You would need to provide credentials and view your personal private data Steps Go to CloudKit Console > Database > Select your container Sidebar would have a link / button called Act As iCloud Account… Tap that and provide credentials for your personal account Thanks to the Apple CloudKit team for this awesome feature without compromising privacy!
Dec ’22
Reply to how to get console logs for the last 24 hours
OS Log / Logger It is now possible using Apple's unified logging (OS Log / Logger) Refer: https://developer.apple.com/wwdc20/10168 Note: Make sure your device is connected to the Mac either (USB / network) Network would work only if Connect via network is checked Terminal Run the following command on the terminal: sudo log collect --device-name yourdevicename --start '2022-12-01 13:15:00' --output mine.logarchive Here your yourdevicename is your device's name Open file Double clicking the file should open in console
Dec ’22
Reply to iOS widget always displaying placeholder on simulator or device
It has happened to me a couple of times. Possible causes: 1 It takes a long time for the timeline provider function to provide a timeline. If that is the case then reduce the number of timeline entries and have a reload policy of atEnd 2 Sometimes this happens when using Running the app on device vs TestFlight app version. Delete app and restart phone and install app and then add the accessory widget.
Dec ’22
Reply to Logger on Xcode console
Non-sensitive logging (Public) This doesn't work in my following case: import SwiftUI import os struct ContentView: View { let logger = Logger(subsystem: "MyApp", category: "MyCategory") let itemName = "something non-sensitive" var body: some View { Text("Hello, world!") .onAppear { logger.debug("content view displayed") logger.debug("Item name = \(itemName, privacy: .public)") } } }
Nov ’22