-
DescriptionHello guys, i'm new adopter in the composable architecture, the architecture seems good to me, but i face problem when i build and run my application to iOS simulator 15.0 it work fine my app can run perfectly, but if i stop running xcode and start my app directly by tapping app icon in simulator the app start freezing when i start to send action. I don't know why, i also try provided example Search Project from this repostitory, it also freeze when i directly open the app from simulator by tapping app icon (without running xcode build & run) I want to know why and how to solve this, does it will freeze as well in real device, since my application deployment target is 15.0 and i can did not have the device with iOS 15.0 to test it Here is log file that i got when running the app
Checklist
Expected behaviormy application will not freeze when i open directly by tapping app icon in simulator Actual behaviorMy application freezes when start to Steps to reproduce
The Composable Architecture version information1.2.0 Destination operating systemiOS 15 Simulator Xcode version informationXcode 14.3.0 Swift Compiler version informationswift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
Target: arm64-apple-macosx13.0 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@dwirandyh I can't reproduce this, which makes me think it's an Apple bug or local/temporary build issue, and not a bug with the library. I'm going to convert to a discussion for now, but if there's a reliable reproduction that points to an issue in TCA and not a more general bug in Apple's tools, please open another issue! |
Beta Was this translation helpful? Give feedback.
-
We are seeing a similar watchdog/ One clue pointing at TCA or maybe a SwiftUI/SwiftUI-adjacent bug in iOS versions 15.0 up to 15.1.1 inclusive is that one our QA folks was able to reproduce the crash starting with the TCA upgrade to 1.2 and it only occurs when she goes to a screen with a TCA feature. The app can launch fine otherwise to a UIKit/non-TCA screen. Unfortunately while she can reproduce this reliably on an adhoc or release build she can't reproduce it on a debug build whether or not it is attached to the debugger and Xcode. I can't reproduce this myself against an iOS15 simulator. |
Beta Was this translation helpful? Give feedback.
-
A teammate was trying to reproduce this issue and he ended up finding out the root cause. He was running Xcode 14.3 and could reproduce it. I was on Xcode 14.3.1 when I couldn't. He checked the release notes for 14.3.1 and sure enough there's a note about a fix for a concurrency issue in iOS 15 through 15.1.1. So, @dwirandyh if you update to Xcode 14.3.1 this should be resolved for you as well. |
Beta Was this translation helpful? Give feedback.
-
Hi @jeffremer thanks for your help, i have solved the issue by using iOS Simulator 15.2 i will also try to upgrade my xcode later 🙏 |
Beta Was this translation helpful? Give feedback.
A teammate was trying to reproduce this issue and he ended up finding out the root cause. He was running Xcode 14.3 and could reproduce it. I was on Xcode 14.3.1 when I couldn't. He checked the release notes for 14.3.1 and sure enough there's a note about a fix for a concurrency issue in iOS 15 through 15.1.1. So, @dwirandyh if you update to Xcode 14.3.1 this should be resolved for you as well.