Beta is the prerelease version of software or hardware.

Beta Documentation

Posts under Beta tag

823 Posts
Sort by:
Post not yet marked as solved
0 Replies
81 Views
Environment: iOS 16 beta 2, beta 3. iPhone 11 Pro, 12 mini Steps to reproduce: Subscribe to Photo Library changes via PHPhotoLibraryChangeObserver, put some logs to track inserted/deleted objects: func photoLibraryDidChange(_ changeInstance: PHChange) { if let changeDetails = changes.changeDetails(for: allPhotosFetchResult) { for insertion in changeDetails.insertedObjects { print("🥶 INSERTED: ", insertion.localIdentifier) } for deletion in changeDetails.removedObjects { print("🥶 DELETED: ", deletion.localIdentifier) } } } Save a photo to camera roll with PHAssetCreationRequest Go to the Photo Library, delete the newly saved photo Come back to the app and watch the logs: 🥶 INSERTED:  903933C3-7B83-4212-8DF1-37C2AD3A923D/L0/001 🥶 DELETED:  39F673E7-C5AC-422C-8BAA-1BF865120BBF/L0/001 Expected result: localIdentifier of the saved and deleted asset is the same string in both logs. In fact: It's different. So it appears that either the localIdentifier of an asset gets changed after successful saving, or it's a bug in the Photos framework in iOS 16. I've checked - in iOS 15 it works fine (IDs in logs match).
Posted
by
Post not yet marked as solved
3 Replies
97 Views
Has anyone else seen in Ventura B3 where you have a URL path as a source and you want to use the filename for that, aka lastPathComponent in a destination URL, so you have something like: let destinationURL = destinationDIrectory.appendingPathExtension(sourceURL.lastPathComponent) and lastPathComponent is a file name but what you get for destinationURL is: destinationDirectory.lastPathComponent instead of destinationDirectory/lastPathComponent or is it just me?
Posted
by
Post not yet marked as solved
0 Replies
89 Views
Looking at available fonts in XCode14 I'm not seeing any that match what's available on the new LockScreen customization on iOS16. I have a wallpaper app where I simulate what it might look like with a lock overlay. I'd love to support the same fonts that are available in the real lock screen. I hope these fonts will be available to developers :) Daniel
Posted
by
Post not yet marked as solved
0 Replies
76 Views
Even though beta 3 change logs claim there's a fix for the preview error Type 'WidgetEntryPointFactory' does not conform to 'NonUIEntryPoint', it is still an issue for me consistently. The previously accepted workaround for this issue also doesn't work for me anymore, which was: mv ~/Library/Developer/CoreSimulator/Caches/dyld{,_old} ; sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService. What's a developer to do to get the preview working again? 🤓 Full diagnostics message I get: RemoteHumanReadableError: Type 'WidgetEntryPointFactory' does not conform to `NonUIEntryPoint` (in framework at path /System/Library/PrivateFrameworks/ChronoCore.framework/Support/WidgetPreviewsExtensionAgent.bundle) ================================== |  MessageSendFailure: Message send failure for <ServiceMessage 50: update> Xcode: Version 14.0 beta 3 (14A5270f)
Posted
by
Post not yet marked as solved
1 Replies
75 Views
(Submitted to Apple's Developer Feedback) Randomly while I type (or don't), it will unfocus the main window and then refocus it. I've tried closing nearly every app but one, and it still seems to happen, so doesn't seem to be an app I'm using that causes this. It’s usually WHILE I’m typing, so it causes issues. Video explains. View video: https://www.loom.com/share/ed5971a47c204c819a2370d7fe0c8411 happens at 40 seconds in Has anyone else experienced this and or have a temp fix? It makes testing on this platform nearly impossible, I can't code on it, or use it for anything productive. Seems to only happen in latest beta 3 for Ventura.
Posted
by
Post marked as solved
1 Replies
128 Views
I understand that shouldAutorotate has been deprecated in IOS16 and forcing orientations using UIDevice have also gone away. But it's not clear to me how we can prevent orientation changes using the new api. I have managed to force orientation changes using requestGeometryUpdate but nothing I do seems to stop it from rotating back again after the forced rotation. I've tried calling setNeedsUpdateOfSupportedInterfaceOrientations on both the current view controller and the navigation controller but supportedInterfaceOrientations never seems to be called. supportedInterfaceOrientations is called on the first load, but it seems to be ignored as regardless of what I put in there the device will rotate to all the options allowed in the info.plist. What trick am I missing?
Posted
by
Post not yet marked as solved
0 Replies
82 Views
I'm using Xcode 14.0 beta 3 (14A5270f) on macOS 13.0 beta 3 (22A5295h). SwiftUI Map with annotationItems: and annotationContent: doesn't seem to work. No annotations show up on the map, either with MapMarker or MapAnnotation. I tried running the code below on the same macOS as well as iOS 16.0 beta 3 (20A5312g). Is this a beta software bug or is there anything wrong with the code? import SwiftUI import MapKit struct Place: Identifiable { let id: String let location: CLLocationCoordinate2D init(id: String, latitude: CLLocationDegrees, longitude: CLLocationDegrees) { self.id = id self.location = CLLocationCoordinate2D(latitude: longitude, longitude: longitude) } } struct ContentView: View { @State private var mapCoordinateRegion: MKCoordinateRegion = .init(.world) let places = [Place(id: "test", latitude: 37.3346917, longitude: -122.0111262)] var body: some View { Map(coordinateRegion: self.$mapCoordinateRegion, showsUserLocation: true, annotationItems: self.places) { place in MapMarker(coordinate: place.location, tint: .blue) } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }
Posted
by
Post not yet marked as solved
1 Replies
116 Views
This code worked before for me on Beta 2. Now I get the exception Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient) || _CFMZEnabled()' I do call requestAlwaysAuthorization() if the authorizationStatus != authorizedAlways (and I have tried with authorizedWhenInUse). I start the collection like that locationManager.activityType = .airborne locationManager.desiredAccuracy = kCLLocationAccuracyBestForNavigation locationManager.allowsBackgroundLocationUpdates = true locationManager.startUpdatingLocation() And I have a delegate attached to the location manager to collect the data. I have enabled Background Modes for location updates, and have in info information about the Privacy - Location ... for various options
Posted
by
Post not yet marked as solved
0 Replies
60 Views
So I noticed after I installed the Ventura beta on my M1 iMac that my touch ID quit working on my keyboard. I went into the settings, and I deleted the existing fingerprint so that I can redo it however, once I deleted it, I don't see any way to add a new fingerprint back. The entire dialog box that discussed a fingerprint is gone. I've restarted my computer several times, and I have the most current data installed. I'm having to type in my password for everything, including App Store downloads and logging in. I'm not sure if this is a bug or if I'm missing something in the new settings.
Posted
by
Post not yet marked as solved
2 Replies
65 Views
iOS 16 Beta 3 introduces the "Shared Photo Library". PhotoKit however currently lacks any functionality to import photos/videos into the "Shared Photo Library" It would be welcome, if PHAssetCreationRequest could be extended with e.g. a property "destination" that defaults to the personal library, but can also be set to the shared library. Scenarios: 3rd party camera apps that should be able to import into the "Shared Library" Any type of family orientated apps that should be able to import into the "Shared Library" Filled this also as FB10577456
Posted
by
Post not yet marked as solved
1 Replies
204 Views
The latest Mac OS 12.5 beta (21G5063a) has completely broken Applescript. This simple command tell application "Finder" to set theDisks to every disk now returns Finder got an error: Connection is invalid and my Keyboard Maestro scripts like tell application "Keyboard Maestro Engine" to set theWidth to getvariable "screenWidth" also break. Similarly tell application "System Events" set listOfProcesses to (name of every process) end tell which is my bread-and-butter in terms of scripting returns System Events got an error: Connection is invalid. Halp!!
Posted
by
Post not yet marked as solved
3 Replies
465 Views
In the simulator with Xcode 14 beta 3, any request to WeatherKit results in the following error: [WeatherService] Encountered an error when fetching weather data subset; location=<+41.16107900,-104.80545000> +/- 5.00m (speed -1.00 mps / course -1.00) @ 7/6/22, 3:16:51 PM Mountain Daylight Time,  error=Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=0 "(null)" I haven't had a single request succeed. Has anyone else encounter this?
Posted
by
Post not yet marked as solved
3 Replies
92 Views
The smart albums PHAssetCollectionSubtypeSmartAlbumAllHidden now requires authorisation in iOS 16. How can we access PHAssetCollectionSubtypeSmartAlbumAllHidden from PhotoKit now and provide the necessary authorisation inside a 3rd party app? Cheers, Hendrik
Posted
by
Post not yet marked as solved
16 Replies
842 Views
I tried updating & re-installing all the apps after I upgraded to iOS 16 but still these apps are getting crashed as soon as I tried to open them. Please check the crash logs for more info. Please let me know if you need any more information from my side. HDFC Bank 06-07-22, 7-16 PM.crash Axis Mobile 07-07-22, 12-43 AM.crash
Posted
by
Post not yet marked as solved
1 Replies
66 Views
I installed the Ventura Beta 2 update when it came out and for a few days everything was working ok. I shut my M1 Max MBP down and when I restarted the System Settings window no longer appeared. I can select System Settings, it's menu appears as though it was running, but there is no window and it continues to show as running until I shut it down. System Settings works on two other accounts on the same machine, just not in my primary account. I have started in Safe Mode, deleted some plist files that seem to affect similar complaints in older MacOS versions, but the SS window just doesn't appear in this one account. I reported it through Apple Feedback over a week ago but have had no response. I can delete the account and restore it from a backup, but I would REALLY like to figure out what caused this to happen and if it can be fixed by dumping some appropriate (and corrupted) plist or similar file. I would appreciate it if anyone could point me in a direction to try to solve this issue.
Posted
by
Post not yet marked as solved
2 Replies
61 Views
Not a native English speaker here, so forgive any spelling mistakes. I have an Iphone 5S stuck on the IOS 12.5.5, I just found out about the Beta Software Program and installed an IOS 15 Beta profile on my device, but whenever I try to update my software, it states IOS 12.5.5 Your software is up to date and a new update never shows up. I've restarted my Iphone, but the update is still not available. Most apps require IOS 13 for me to download or update my apps, so I need an IOS update!!
Post not yet marked as solved
0 Replies
104 Views
Hey everyone, I've been experimenting around with the new searchable update to add scope to SwiftUI search bars. I requested this last fall and now I'm looking into it as available with Xcode 14 / iOS 16 (FB9674003). I found two bugs in case others run into them. The search bar's segmented 'scopes' only show if the search binding is a non-empty string. (FB10558607) The selected scope binding is not honored when updated outside of the searchable search bar itself. (FB10558881) It is my assumption that these are both defects. Attached is a sample view that illustrates the two bugs. Additionally, writing this up, I felt it was important to also provide developers the ability to specify the visibility of the segmented scopes within the search bar which is possible in UIKit (FB10558936). Something like .searchableScopeVisibility(.always). import SwiftUI struct ContentView: View {          enum FoodScope: CaseIterable {         case fruit         case veggies                  func scopeText() -> String {             switch self {             case .fruit:                 return "Fruit"                              case .veggies:                 return "Veggies"             }         }     }          private let fruits: [String] = ["Apple", "Apricot", "Banana", "Cantaloupe"]     private let veggies: [String] = ["Asparagus", "Beets", "Broccoli", "Cabbage"]          @State private var searchText: String = ""     @State private var scope: FoodScope = .fruit          private var filteredFood: [String] {         switch scope {         case .fruit:             guard searchText != "" else { return fruits }             return fruits.filter { $0.contains(searchText) }                      case .veggies:             guard searchText != "" else { return veggies }             return veggies.filter { $0.contains(searchText) }         }     }          var body: some View {         NavigationStack {             List {                                  Section {                     ForEach(filteredFood, id: \.self) { food in                         NavigationLink(food, value: food)                     }                 } header: {                     Text("Food")                         .textCase(.none)                 }                                  // FB10558607 - SwiftUI: Searchable "scope" non functional in Xcode 14 beta 2 (scope items not visible when searching)                                  Section {                                      } footer: {                     Text("The 'scopes' provided within the new searchable modifier will only be shown when the searchable text binding is a non-empty string. Try for your self by tapping inside the search. You \"should\" see the scope segments appear right away but they don't. Then type any character and they'll show on screen. FB10558607")                 }                 // FB10558881 - SwiftUI: Searchable 'scope' binding is not honored when updated by another mechamsim outside of the searchable scope picker                 // Create another binding to the selected scope and change it. The picker in the search bar does NOT reflect the state of SwiftUI's @State scope property.                 Section {                     Picker("Scope", selection: $scope) {                         ForEach(FoodScope.allCases, id: \.self) { scope in                             Text(scope.scopeText())                                 .tag(scope)                         }                     }                     .pickerStyle(.segmented)                     .buttonStyle(.plain)                     .listRowBackground(Color.clear)                 } header: {                     Text("Searchable Scope Binding Selector")                         .textCase(.none)                 } footer: {                     Text("Additionally, the scope binding will not update when modified via another mechanism (like another segmented picker). When the segments are visible with the search, change the scope and you'll see the binding to the picker change. But, if you change the scope of the picker below, the scope in the search bar will not react as expected. ")                 }             }             .listStyle(.insetGrouped)             .searchable(text: $searchText, scope: $scope) {                 ForEach(FoodScope.allCases, id: \.self) { scope in                     Text(scope.scopeText())                         .tag(scope)                 }             }             .navigationTitle("FB9674003")             .onChange(of: scope) { newValue in                 print("New scope \(newValue.scopeText())")             }             .navigationDestination(for: String.self) { value in                 Text("You selected \(value)")                     .navigationTitle("Yummy food")             }         }     } } #if DEBUG struct ContentView_Previews: PreviewProvider {     static var previews: some View {         ContentView()     } } #endif
Posted
by
Post not yet marked as solved
1 Replies
153 Views
After testing iOS16, I've found a serious bug that make all apps with PencilKit (Prodrafts, InDraft, Pencil it in, Paint...) completely useless: If a canvasView is scrolled, all existing strokes will be shifted while writing with Apple Pencil. After writing, all strokes will be shifted back to its positions but it make users unable to write anything. This bug is also occurs in the example app of PencilKit: https://developer.apple.com/documentation/pencilkit/drawing_with_pencilkit It's easy to reprocedure: Run the example app, open a note, scroll down, then write something. You will see the bug (this bug only happens in iOS 16 and iPadOS 16). I have sent multiple bug reports since the first days of the beta, none of them are answered. It's been 2 beta versions and the bug has not been fixed yet. I'm an indie developer and I have worked with my app for 2 years - full time - 12 hours a day - no weekend. The main feature of my app is taking note with Apple Pencil and this bug made my app completely broken. I'm terrifying that 2 years of my work will be wasted. Please answer me, give me hope. Thank you :(
Posted
by