Questions tagged [ios17]

Use for questions specific to Apple's iOS 17 mobile operating system for iPhone and iPad, released in 2023. General iOS questions should use the [ios] tag.

67 questions
23
votes
5 answers

How to run on iOS 17 Device using Xcode 14

Xcode 15 beta does not come with Device support files for iOS 17. Any other way we would run iOS 17 devices on Xcode 14
Nitesh
  • 1,564
  • 2
  • 26
  • 53
11
votes
7 answers

How to resolve SwiftData error "Type '*' does not conform to protocol 'PersistentModel'"

Working through the betas of SwiftData and trying to stand up a PersistentContainer. I set up a modelContainer View modifier on my ContentView and conformed my class to @Model as described in various WWDC videos (the ones that are out). Here is the…
Brianna Doubt
  • 464
  • 2
  • 11
8
votes
2 answers

Widget not loading on iOS 17 beta, "Missing backing store for Intent" error

I work on an iOS app supporting iOS 15 and above, with a widget supporting iOS 16 and above. The widget currently does not load on iOS 17 beta, for users it's just an empty box, both during snapshot preview while choosing the widget size, and after…
BrickDeLait
  • 117
  • 9
5
votes
1 answer

Interrupting a SwiftUI animation with a drag gesture

Apple has made it easier than ever this year to smoothly animate a view after performing a drag gesture, by automatically using the final velocity of the drag gesture as the initial velocity of the animation. Here is a simple example: struct…
Tim Vermeulen
  • 12,352
  • 9
  • 44
  • 63
5
votes
2 answers

Widget on iOS 17 Beta device - Adopt containerBackground API

I'm working on an app + widget with Xcode 15 Beta. The widget works as expected on iOS 17 Beta simulators, but when running on my device with iOS 17 beta, it displays "Please adopt containerBackground API" instead of the desired content. I searched…
CodeBrew
  • 6,457
  • 2
  • 43
  • 48
4
votes
5 answers

How to add AppIntent to app target and use it in an interactive widget

How do you create an AppIntent that will run in your app's process and use it in your widget's Button? I created a new file, added it to my app's target, created my AppIntent struct, then added a button to my widget: Button(intent: TestIntent()) {…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
4
votes
2 answers

dyld[24496]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn

In XCode 15 Beta, sample app runds fine on simulator but when i run it on my MacProo, It throw following error and dyld[24496]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn Referenced from: …
shoji
  • 103
  • 3
4
votes
2 answers

Xcode 15 beta 2 - Build Error: "Failed to find or create execution context for description ''"

After I've updated to Xcode 15 beta 2, I'm getting these build time errors, which I didn't see in beta 1. Failed to find or create execution context for description ' System content for…
Code.Decode
  • 3,736
  • 4
  • 25
  • 32
3
votes
0 answers

I am not able to block Standby mode on a supervised device on iOS 17 programmatically

I am wondering if there is an easy way either through lockdownservice or through an MDM profile to block standby mode. Something like AllowStandbyMode: false I need this flag to programmatically disable this on a few hundred device in parallel. I…
3
votes
1 answer

Spam of FCM push notifications on iOS 17 Beta

I have a testing app running iOS 17 Beta. And I am using a script using the following library: https://github.com/kreait/firebase-php. It works fine on iOS 16, that is, a single notification. However it sends around 11 push notifications on iOS 17…
John Doe
  • 39
  • 3
2
votes
0 answers

AVPlayerViewController not working on iOS17

My app shows a video using an AVPlayerViewController and it runs with no issues on iOS 16. I tried to run it on iOS 17 but it's not working. When instantiating the VC with let playerVC = AVPlayerViewController() I am getting the…
AleGiovane
  • 172
  • 1
  • 13
2
votes
1 answer

How to enable StandBy mode in iOS 17 Simulator?

I'm trying to build a widget that supports StandBy mode. Is it possible to enable StandBy mode in the iOS simulator? On device there is a menu in Settings for StandBy mode. But that menu is not present in the Simulator settings
John
  • 188
  • 1
  • 3
  • 10
2
votes
0 answers

Xcode iOS17 Simulator and GRDB - Class ... is implemented in both ... One of the two will be used. Which one is undefined

I have a Swift and SwiftUI app using GRDB and GRDBQuery that has been working well. (Thank you Gwendal Roué.) When I run the app using Xcode 15 beta and the iOS17 simulator, I get 42 new messages in the log when the app starts. The messages all…
Ian
  • 29
  • 4
2
votes
2 answers

NumberFormatter not correctly identifying Locale currency settings in iOS 17 beta with Xcode 15.0 beta

I'm currently developing an application for iOS and I recently updated to the iOS 17 beta along with Xcode 15.0 beta. I am trying to use NumberFormatter to format a Double to a currency string (in my case, American Dollars $). Here is the snippet of…
NSSpeedForce
  • 127
  • 9
1
vote
1 answer

How to bind environment variable ios17

With the new @Observable macro introduced for iOS 17, we can now use environment objects in the following way @Environment(MyType.self) var myTypeObj Now if myTypeObj has some property, call it myProperty which I'd like to pass as binding somewhere…
Nicolas Gimelli
  • 695
  • 7
  • 19
1
2 3 4 5