Post

Replies

Boosts

Views

Activity

SwiftUI Popover clips in iOS18
When you try to present medium height popover from the bottom of iPhone view then popover is clipped in iOS18 but works in old devices Sample code Button("Show Popover") { showPopover.toggle() } .popover( isPresented: $showPopover, arrowDirection: arrowDirection ) { conent } Result
5
0
2.1k
Jan ’25
UIHostingcontroller Reset State in UITableViewCell in iOS18
Starting from iOS18 UIHostingController behaves weirdly that it resets the state of the view when you scroll up and down of the UITableView, even though associated UITableViewCell is unique and does reuse func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { if indexPath.row == 1 { let cell = tableView.dequeueReusableCell(withIdentifier: "SwiftUICell", for: indexPath) let swiftUIView = SwiftUIView() // A SwiftUI View cell.contentConfiguration = UIHostingConfiguration { // <- Here is the bug swiftUIView } return cell } else { let cell = tableView.dequeueReusableCell(withIdentifier: "NormalCell", for: indexPath) cell.textLabel?.text = items[indexPath.row] return cell } } Also in iOS18 release notes thee mentioned some fix related to this but looks like issue is not fixed Please see the attached video
Topic: UI Frameworks SubTopic: SwiftUI
1
0
409
Oct ’24
SwiftUI popover not respecting arrow direction
When I try to change the arrow direction for SwiftUI popover it's not working at all, but in UIKit it seems to be ok Please check the sample code Button { showPopover.toggle() } label: { Text("Show Popover") .padding(60) .border(Color.yellow) } .popover( isPresented: $showPopover, arrowEdge: .bottom // issue here ) { Text("Popover conent") }
2
0
1.4k
Jun ’24
Xcode beta1 Crash
When you run the app in Xcode16 beta1 + iOS18 beta1 on device app crashing with following error, but simulator is ok Error: dyld[1463]: Library not loaded: @rpath/lib/libswiftCoreGraphics.dylib Referenced from: /private/var/containers/Bundle/Application/7F968F8F-A134-45DD-95F7-9BF2C1EBBC14/.app/Frameworks/BrazeUI_30A23D419F0B5719_PackageProduct.framework/BrazeUI_30A23D419F0B5719_PackageProduct Reason: tried: '/usr/lib/system/introspection/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file),
1
1
619
Jun ’24
Xcode15 Beta1: Firebase iOS SDK: Unable to process Info.plist during build process #11400
Description Environment Xcode version: Xcode15 Beta1 Firebase Component: Crashlytics Installation method: Swift Package Manager (SPM) Firebase SDK version: 10.4.0 Problem During the build process of my iOS application, I encountered an error related to processing the Info.plist file. Here is the error message: error: Info.plist Error Unable to process Info.plist at path /Users/...../Info.plist This could be a timing issue, make sure the Firebase run script build phase is the last build phase and no other scripts have moved RakutenIchiba.app from the location Xcode generated it. You can also add '$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)' as an "Input Files" dependency for your Firebase run script build phase. Github Link: https://github.com/firebase/firebase-ios-sdk/issues/11400 Reproducing the issue Steps to Reproduce [Add the steps you take to reproduce the issue. This could be setting up a new project, adding Firebase via SPM, adding a Run Script phase, etc.] What I've tried I've checked the order of Build Phases to make sure the Run Script phase for Firebase is the last phase. I've verified the location and reference of the Info.plist file. I've cleaned the project and cleared the derived data. [Add any other troubleshooting steps you've tried.] Despite these attempts, the issue persists. Any guidance or suggestions to resolve this would be appreciated. Thank you. Firebase SDK Version 10.4.0 Xcode Version 15.0 Beta1 Installation Method Swift Package Manager Firebase Product(s) Crashlytics Targeted Platforms iOS Relevant Log Output No response
6
2
9.3k
Nov ’23
SwiftUI Popover clips in iOS18
When you try to present medium height popover from the bottom of iPhone view then popover is clipped in iOS18 but works in old devices Sample code Button("Show Popover") { showPopover.toggle() } .popover( isPresented: $showPopover, arrowDirection: arrowDirection ) { conent } Result
Replies
5
Boosts
0
Views
2.1k
Activity
Jan ’25
UIHostingcontroller Reset State in UITableViewCell in iOS18
Starting from iOS18 UIHostingController behaves weirdly that it resets the state of the view when you scroll up and down of the UITableView, even though associated UITableViewCell is unique and does reuse func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { if indexPath.row == 1 { let cell = tableView.dequeueReusableCell(withIdentifier: "SwiftUICell", for: indexPath) let swiftUIView = SwiftUIView() // A SwiftUI View cell.contentConfiguration = UIHostingConfiguration { // <- Here is the bug swiftUIView } return cell } else { let cell = tableView.dequeueReusableCell(withIdentifier: "NormalCell", for: indexPath) cell.textLabel?.text = items[indexPath.row] return cell } } Also in iOS18 release notes thee mentioned some fix related to this but looks like issue is not fixed Please see the attached video
Topic: UI Frameworks SubTopic: SwiftUI
Replies
1
Boosts
0
Views
409
Activity
Oct ’24
SwiftUI popover not respecting arrow direction
When I try to change the arrow direction for SwiftUI popover it's not working at all, but in UIKit it seems to be ok Please check the sample code Button { showPopover.toggle() } label: { Text("Show Popover") .padding(60) .border(Color.yellow) } .popover( isPresented: $showPopover, arrowEdge: .bottom // issue here ) { Text("Popover conent") }
Replies
2
Boosts
0
Views
1.4k
Activity
Jun ’24
Xcode beta1 Crash
When you run the app in Xcode16 beta1 + iOS18 beta1 on device app crashing with following error, but simulator is ok Error: dyld[1463]: Library not loaded: @rpath/lib/libswiftCoreGraphics.dylib Referenced from: /private/var/containers/Bundle/Application/7F968F8F-A134-45DD-95F7-9BF2C1EBBC14/.app/Frameworks/BrazeUI_30A23D419F0B5719_PackageProduct.framework/BrazeUI_30A23D419F0B5719_PackageProduct Reason: tried: '/usr/lib/system/introspection/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file),
Replies
1
Boosts
1
Views
619
Activity
Jun ’24
Xcode15 Beta1: Firebase iOS SDK: Unable to process Info.plist during build process #11400
Description Environment Xcode version: Xcode15 Beta1 Firebase Component: Crashlytics Installation method: Swift Package Manager (SPM) Firebase SDK version: 10.4.0 Problem During the build process of my iOS application, I encountered an error related to processing the Info.plist file. Here is the error message: error: Info.plist Error Unable to process Info.plist at path /Users/...../Info.plist This could be a timing issue, make sure the Firebase run script build phase is the last build phase and no other scripts have moved RakutenIchiba.app from the location Xcode generated it. You can also add '$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)' as an "Input Files" dependency for your Firebase run script build phase. Github Link: https://github.com/firebase/firebase-ios-sdk/issues/11400 Reproducing the issue Steps to Reproduce [Add the steps you take to reproduce the issue. This could be setting up a new project, adding Firebase via SPM, adding a Run Script phase, etc.] What I've tried I've checked the order of Build Phases to make sure the Run Script phase for Firebase is the last phase. I've verified the location and reference of the Info.plist file. I've cleaned the project and cleared the derived data. [Add any other troubleshooting steps you've tried.] Despite these attempts, the issue persists. Any guidance or suggestions to resolve this would be appreciated. Thank you. Firebase SDK Version 10.4.0 Xcode Version 15.0 Beta1 Installation Method Swift Package Manager Firebase Product(s) Crashlytics Targeted Platforms iOS Relevant Log Output No response
Replies
6
Boosts
2
Views
9.3k
Activity
Nov ’23