I have a third party framework 'serviceCommon' built using Xcode 12.5.1 (12E507). When I try to build my app which links to this framework, Xcode 13 beta 4(13A5201i) fails with the following error (FYI. Xcode 12.5.1 is able to build this app fine).
Failed to build module 'serviceCommon'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.27.6 clang-1300.0.27.2)'). Please select a toolchain which matches the SDK.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have following SwiftUI code, which makes a connection (to the server) when the user navigates to this page (this is a part of navigation stack), and disconnects when the user navigate away (up).
struct ServiceView: View {
@ObservedObject var state:ServiceState
var body: some View {
ScrollView(.vertical) {
VStack {
...
NavigationLink(
destination: ChildPage(state: state),
label: {
Text("Child Page")
})
}
}
.onAppear() {
state.connection.connect()
}
.onDisappear() {
state.connection.disconnect()
}
}
}
This works fine as long as the user stays on this page, but breaks when the user clicks the "Child Page" link, because .onDisappear() event will be triggered when the user navigates down as well.
Is there any way to distinguish two different scenarios (navigate up and down)?
I recently joined a development team (team B) as a "Developer" using the same Apple ID I am using to manage my own team (team A, as "Account Holder"). I see this new team (B) when I access the Apple's Developer site, and switch between A and B from the Account menu.
When I open the Xcode project from the new team, Xcode indicates that the team is unknown, displaying "Unknown Name (KV7...)" in red (under Signing & Capabilities tab).
When I click the "View Accounts...", I see my Apple ID on left, and only my own team (A) on right, not the new team (B) I have just joined.
When I removed my Apple ID from it, and re-added it, Xcode detects only my own team (A), but not the new team (B). I restarted Xcode, but still don't see the new team (B) in the list.
Do you have any idea why Xcode does not recognize another team? Is there any additional step to let Xcode recognize the new team?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Xcode
Code Signing
Signing Certificates
Developer Program