Questions tagged [xcode15]

This tag should only be used for questions specific to the usage and features of Xcode 15. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific [xcode] tag. Use tags appropriate for the OS such as [ios] or [macos].

63 questions
0
votes
1 answer

How to play the next song automatically when the first one ends?

I've created an audio player using SwiftUI in Xcode 15 Beta, the code as you can see below. However, my current goal is to have the audio player automatically play the next track once the preceding song has finished playing (without requiring a…
0
votes
1 answer

How to install iOS 17 beta simulators in Xcode 15 beta

On the apple developer website I can download Xcode new betas separately from the simulators. I did exactly that. After downloading Xcode (3.41GB) I downloaded the new iOS 17 beta which was 7.47 GB. After installing the new Xcode, it us prompting…
multitudes
  • 2,898
  • 2
  • 22
  • 29
0
votes
0 answers

GeneratedAssetSymbols.swift generated by cocoapods'pod how to used in other pod

GeneratedAssetSymbols.swift generated by cocoapods'pod how to used in other pod?In Xcode 15 New function。 image asset in APod, iconA how to use iconA in BPod APod generate Imagesource enum to GeneratedAssetSymbols.swift. BPod also generate…
0
votes
0 answers

Xcode 15 Beta Issue using simulator

I hope someoe can help me to solve this issue. I encountered this error upon update to xcode 15. When I uncheck the debug executable on edit scheme my app stuck on launch screen. Advance thank you attach failed (Not allowed to attach to process. …
0
votes
0 answers

Xcode 15.0 beta 5 always generates GeneratedAssetSymbols.swift

Xcode15.0 beta 5 doesn't respect Build Settings for disabling asset generation. Asset generated in GeneratedAssetSymbols.swift conflicts with asset generated by swiftgen. ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS =…
0
votes
0 answers

Getting media (images and videos) saved in document dorectory and display in collection view cell

I have picked the images and video from phpicker and saved them in same folder in documents directory. Now i want to show them in same collection view .. I tried getting the urls using contentsOfDirectoryAtPath and it returned an array of urls of…
Ark Ark
  • 1
  • 2
0
votes
0 answers

TipKit: How to use Tips with Objective C and UIKit

TipKit was just released in Xcode 15 beta 5 but unfortunately the app I am working on has a majority Objective C and UIKit codebase. Apple has only provided code snippets with Swift and SwiftUI (so far that I have seen). Does anyone know how to…
0
votes
2 answers

TipKit: How can I integrate a Tip with SwiftUI or UIKit?

Now that TipKit has been released by Apple and should be working on Xcode 15 beta 5, I don't know how to integrate a Tip with a view? I have the following code: import SwiftUI struct TipKitTestView: View { var body: some View { VStack…
0
votes
0 answers

Xcode Show segue in Xcode 15 presents the viewcontroller as a modal

I have a very simple setup, where when the user clicks sign up or login, it should bring them to the respected viewcontroller using the Show (e.g. Push). However, it is presented modally when the app is used on a device. Not sure what the issue…
0
votes
0 answers

How to Handle multiple views with form input in SwiftUI and Obtain all input values with a button click - SwiftUI?

I hope you're all doing well. I am new to SwiftUI and I have been working on a form UI in SwiftUI. From a UI perspective, it looks correct, but I'm facing some issues. When I fill in some values in the views and click on the button, it doesn't seem…
Priya M.
  • 1
  • 2
0
votes
1 answer

(SwiftUI Charts/ VisionOS) Static method 'buildExpression' requires that 'Chart' conform to 'View'

Trying to create a Chart in ContentView. I keep seeing this error no matter how I try to construct it. import Foundation import SwiftUI import Charts struct StockView: View { var body: some View { Chart { BarMark( …
rkatakam
  • 51
  • 6
0
votes
1 answer

How to change app language on the fly using the new String Catalogs system? [Xcode 15]

I'm wondering how I can get and change the current app language manually on the fly using the new String Catalogs system. Tried checking the docs for information at https://developer.apple.com/documentation/xcode/localization I expect there to be a…
Yali Hart
  • 3
  • 1
0
votes
2 answers

SwiftUI 5: @Observable object updates using no property wrappers, State and Bindable

I have the following SwiftUI 5 code snippet using XCode 15 beta 4: struct ContentView: View { var person: Person = .init(id: UUID(), name: "Stacey") //using @State or @Bindable or nothing before 'person' does the same job var body: some…
JAHelia
  • 6,934
  • 17
  • 74
  • 134
0
votes
1 answer

MapCircle not updating on center or radius change

Related to MapCircle not updating on center or radius change. Using Xcode 15.0 beta 4 I have MapCoordinate struct: private struct MapCoordinate: Equatable { let location: Location let latitude: Double let longitude: Double …
ItayAmza
  • 819
  • 9
  • 21
0
votes
2 answers

TipKit not working on Xcode 15.4 beta for iOS 17

I am trying to experiment with Apple's new feature called TipKit and create sample Tips for my app prior to iOS 17 release this fall. However, I am unable to compile the program. I downloaded Xcode 15.4 beta and I tried creating a struct using the…