Tested with iOS 17.5 still exists
Post
Replies
Boosts
Views
Activity
Same here. I dont understand the rational for this api to be so restricted.
+1, I'm having the same issue with iOS 17, Xcode 15.0.1, SwiftUI and TextField
Work fine with iOS 16
Good news to resize a window!
With Xcode 15 Beta 5 no need to use a trick to resize a window just specify .defaultSize(CGSize(width: 400, height: 400))
TestApp.swift
import SwiftUI
@main
struct TestApp: App {
var body: some Scene {
WindowGroup {
MainView()
}
.defaultSize(CGSize(width: 400, height: 400))
}
}
MainView.swift
import SwiftUI
struct MainView: View {
var body: some View {
VStack {
Text("MainView")
.font(.largeTitle)
}
}
}
Screenshot
Changing the position of a window
With Xcode 15 Beta 5 this is not yet supported
Thank you all for your answers. 👍 😁
@J0hn it works perfectly to resize the window! 👍 😁 To position a window in the user's visual space do you have a trick to do that?
One of the big advantages of visionOS is that we are not limited by the use of a physical screen as is the case with an iPhone, an iPad or a Mac.
Concretely, this means that we can have an application that must be able to put windows where we wants in the visual space of the user.
For example, I invite you to look at the models made by Nicolas Backal (https://www.linkedin.com/in/nicolasbackal/recent-activity/all). Its models are really very interesting and show the potential that the Apple Vision Pro can offer in terms of interface design. This kind of design can only be possible if the application has control over the windows it creates, which does not currently seem to be the case.
Screenshot1
Screenshot2
Work fine on Mac Book Pro M1 Max 64 Ram
Same error for me
I found the source of the problem.
I manage several applications for different clients and for these applications I use my company's Apple ID. I also have a personal Apple ID for more convenience I use this account as a test account for my applications.
In Xcode my company's Apple ID is registered for client apps and my personal Apple ID is also registered for my personal projects.
Following a problem with a customer account, I deleted and restored my Apple ID accounts in Xcode by registering my personal Apple ID first and then my professional Apple ID.
And that's where I had the problem because when I try to send a new version of a client application to TestFlight, I get the message "You do not have required role to perform an operation"
Concretely, Xcode takes my personal Apple ID account, which is not a developer, for client projects instead of taking my professional Apple ID, which is admin on client environments. Xcode doesn't seem to select the correct account for uploading to TestFlight.
The solution was to remove the Apple ID accounts from Xcode and then add the professional Apple ID account first and then the personal Apple ID account.
Same error here.
I manage several applications.
When I wanted to send new versions the 1st passed well, the 2nd made "Error Analyzing App Version" and after several retry passed but 2 others are stuck on this error.
UPDATE 5: I update my Mac to 12.3.1 nothing changed.
I did some research and apart from the solution of doing a complete reinstall of macOS, which does not necessarily solve the problem in the long term, I did not find much.
At the moment there is just this post, on macOS Catalina, which partially similar to the problems I have : https://discussions.apple.com/thread/250731084
UPDATE 4: I tried to leave the Mac open to avoid having to identify myself on the different services I use on a daily basis. When it's not Apple applications it holds. But when it's Apple apps like Xcode and Mail every morning I have to login again. I tried to deactivate iCloud but even by not selecting anything that is related to iCloud it does not change anything.
Working in these conditions is really very restrictive. The resulting user experience is deplorable.
UPDATE 3: The problem with iCloud returned.
Changing my Apple ID password doesn't seem to have any effect. Every time I restart the mac and log in, iCloud asks me to log in like it's the first time.
Mail no longer has the password for my email account.
Added to this is the verification of Xcode as well as other applications. Xcode keeps asking me to install components like it's the first time.
On Xcode I also have to reconnect to my gitlab and github accounts.
This is really hell!!! It's a nightmare !!!
UPDATE 2: I managed to install macOS 12.3 but since each time when I connect to my account Spotlight does a reindexing and a verification of Xcode is launched at least once or even several times.
Spotlight indexing
Xcode verifying