I've got an iOS app and a main view with a list with a search field. When I click on a list item navigation link takes me to another view through navigation destination modifier. I can go back to the main list view. Now, consider this scenario:
Click in the search field (you do not have to type there anything)
Click any item on the list
This all works fine when I build the app with Xcode 15.4 and I can get back to the main list. But if I build the app using Xcode 16 beta 7 the destination view is shown twice (the destination view is shown and then moved again to the same view) and I cannot back to the main view at all. I can go back one view only.
Could it be a bug in Xcode? Was do you think about that?
Posts under Beta tag
200 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I'm writing an app that uses on-device voice to text for recognising scientific terms. It works fine on my phone but now in beta my first tester cannot make it work. All the permission requests are working: p&s Mic and Speech Recognition are both now enabled on the target device where the user granted the app permission. Is there something else I'm missing?
Incidentally, both my phone, the target phone and my XCode are fully up to date.
Thanks.
It's working well on iOS 17 simulator and device. but crashes on iOS 18 beta. It looks like it crashes on a UIviewcontroller page with a UIcollectionView.
While using a variety of apps in MacOS15 beta 6 & 7 they will freeze. It seems like they happen when you stop typing in Pages or while doing something Preview. Forcing it to quit and restarting sometime allows sometime more progress but it is very slow. Printing is unworkable.
This first started in Beta 6 and I hoped Beta 7 would fix it but no, it seems to be worse. I'm using a Mac M2 Mini with 24 Gb of memory.
No problems with Mail or Safari.
Haven't tried working with Xcode
In my app I added an AppIcon in the Assets.xcassets folder. I added a any/dark/tinted version of the app icon, in 1024x1024 resolution as a HEIC file, specifying a "single size" iOS option.
When I build and run the app in xcode16 beta on iOS18 the icon works as expected, but when I run the same app on iOS17 the icon just shows up as a black rectangle.
How do I get the app icon to work correctly on both iOS18 and iOS17?
Hi,
After installing iPadOS18 Beta3 on my iPad 7th gen, the default camera app no longer detects QR codes.
I tried updating to Beta7, but the issue remained.
Also, third-party apps that use AVCaptureMetadataOutput in AVFoundation Framework to detect QR codes also no longer work.
You can reproduce the issue by running default camera app or the AVFoundation sample code from the Apple developer site on iPad 7th gen (iPadOS18Beta installed).
https://developer.apple.com/documentation/avfoundation/capture_setup/avcambarcode_detecting_barcodes_and_faces
Has anyone else experienced this issue?
I would like to know if this issue occurs on other iPad models as well.
This is similar to the following issue that previously occurred with iPadOS 17.4.
https://support.apple.com/en-lamr/118614
https://developer.apple.com/forums/thread/748092
Hello. I'm encountering a strange behavior in iOS 18 and wanted to ask about it.
When I run the following code on iOS 18, quotation marks appear in the navigation title.
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.title = " "
self.view.backgroundColor = .systemBlue
}
}
In versions prior to iOS 18, the title is displayed as intended, with nothing showing up. Could this be an intentional change in iOS 18, or is it a bug?
We are using a 3rd party SDK which crashes on iOS 18 in certain scenarios. They say they need Apple to fix this bug ahead of release https://github.com/swiftlang/swift/issues/75952 but I'm skeptical since it is only a few weeks away most likely. The bug seems pretty bad so is there any chance it will be fixed before iOS 18? We aim for a same-day release so would be great to know if we need to remove the 3rd party SDK or not.
I'm using SwiftData with an @Model and am also using an @ModelActor. I've fixed all concurrency issues and have migrated to Swift 6. I am getting a console error that I do not understand how to clear. I get this error in Swift 6 and Swift 5. I do not experience any issue with the app. It seems to be working well. But I want to try to get all issues taken care of. I am using the latest Xcode beta.
error: the replacement path doesn't exist:
"/var/folders/1q/6jw9d6mn0gx1znh1n19z2v9r0000gp/T/swift-generated-sources/@_swiftmacro_17MyAppName14MyModelC4type18_PersistedPr> opertyfMa.swift"
I can't pay for my apple developer membership, I tried to reach apple support team and apple developer many times. Apple support says I need to contact developer team and after contacting developer team, I'am not getting any response.
Hi,
In my widgets, I use minimumScaleFactor to ensure that my text is readable.
In iOS 18.0 beta 6 and iOS18.0 beta 7, my texts suddenly became very small.
It seems that minimumScaleFactor acts like if it was applying the given scale value to the text.
minimumScaleFactor(0.1) seems to display the text 90% smaller than the text without calling minimumScaleFactor.
minimumScaleFactor(0.5) seems to display the text 50% smaller than the text without calling minimumScaleFactor.
Is this a bug, of is there an unexpected change in the API ?
Edit : I have created FB14890220, in case this message remains unseen.
I got the Xcode 16 beta a few months and I downloaded the predictive code completion model, and it worked, but then recently I deleted Xcode and the Developer directories and then installed a newer beta, but I couldn't download the model because of this issue:
"The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)" AND "Failed - Failed to find asset: com.apple.gm.safety_deny.input.code_intelligence.base - no asset"
Then expanding this window gave me this error:
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
DVTErrorCreationDateKey = "2024-08-22 13:00:57 +0000";
}
--
Failed to find asset: com.apple.gm.safety_deny.input.code_intelligence.base - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
--
System Information
macOS Version 15.1 (Build 24B5024e)
Xcode 16.1 (23047) (Build 16B5001e)
Timestamp: 2024-08-22T21:00:57+08:00
I have uninstalled then reinstalled Xcode 16.1 beta and Xcode 16.0 beta, but none of them worked.
Thank you!
when I push a UIViewController, the bottom view controller was pushed out of navigationController.
I updated today at Xcode 16 beta 6, and my app using SwiftData on iOS 18 (beta 6) is getting now this new error when saving the model in the modelContext.
I don't understand if it is a regression introduced in the beta 6 or if it is enforced something that previously wasn't.
It seems to be always referred to the ID property, for example:
SwiftData/ModelCoders.swift:1762: Fatal error: Passed nil for a non-optional keypath \MyModel.id
In this case (and in most of the cases in my models) the ID is defined as following
@Attribute(.unique)
public var id: UUID
I also tried to add the initialization inline, but didn't help
@Attribute(.unique)
public var id: UUID = .init()
I also tried to remove the @Attribute(.unique), didn't help as well.
Does any of you have the same issue?
I have MacOS 15.1 B1 running in a UTM Virtual Machine, and 15.1 B2 running as its host OS.
14" M3 MBP.
The VM does not automatically offer a software update to 15.1 Beta 2.
I've already installed the Device Support for MacOS 15 Beta, but I don't know what else I need to activate. Do I have to run a shell script or app, etc?
Any ideas?
Thanks in advance.
on iPhone 14 with iOS 18.7 cannot get mail from my Mac account.
The connection to the server Failed
Server message "Internal Server error
(took 6128 ms)
I have tried everything
I just installed the most recent iOS 18 beta and all the app icons that had been dark are now back to light mode colors. I turned off and back on dark mode. I restarted my phone. I really liked the look of the dark app icons so I’m very hopeful those will return upon the next update.
I noticed issue on iOS 18 beta 6 .
.sheet(isPresented: $viewModel.showingArticleSheet, content: {
SheetView()
})
where SheetView contain some text and a dismiss button .
I noticed that the interaction is not happen on the first click , due to view is getting reloaded , which re call .task and .onAppear at the minimum .
i have no clue how to fix that and i didn't see anyone complain of this issue .
Minecraft Launcher gives message "minecraft launcher quit unexpectedly"
when opened, this began happening after I updated to macOS Sequoia Beta 15.0 (24A5327a)
Anyone know a fix?
Currently on Xcode 15.4 in a SwiftUI App when you attach a UIView to the rootViewControllers view, which contains a WKWebView, the view will display and allow interaction to it (i.e opening new pages/pressing buttons). However in Xcode 16 beta 4 this is no longer the case. The view will still appear but will no longer be interactive. This happens only on iOS 18 Beta (1-7) and iOS 18.1 Beta.