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.
Post
Replies
Boosts
Views
Activity
com.bluemangoo.tiennm642
Exactly, somehow Xcode is converting the P3 into sRGB in spite of explicitly specifying P3 assets and also the P3 assets have the correct metadata (color profile as P3 and color depth as 16 bits / channel)
This seems like a bug in Xcode 14.3, it would be great if someone from Apple could verify this.
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.
@Claude31
I am able to submit more than 2 per day, when I add external testers via App Store Connect
Also interestingly Xcode Cloud build fails only for mac
This definitely seems like a bug.
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?
Yes I just noticed this issue, it seems like sometimes the query results are cached.
What worked for me:
Query some other entity and get the results
Then go back to your interested entity and query again (hopefully you should see the record changes)
@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.
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.
@Iomegan
For the Mac the issue still exists, iOS works. I have filed a feedback.
In case you want to use it on the Mac you could NSItemProvider API, these APIs are older and in my humble opinion that in the future Transferable APIs would gain more capabilities
@satkdev is your Time Machine backup running at that point in time? Also next time this happens go to activity monitor and check network usage
@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!
@natemartinsf Pass a binding, don't initialise the @State variable from outside
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
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.
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)")
}
}
}