flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

Crash on startup after update to XCode 16 .2(iOS 18.2)

Open touchLine123 opened this issue 8 months ago • 3 comments

I update xCode 15.3 to 16.2(IOS 18.2) then we run the flutter project then we get error like - [1]: webtech (00008030-001A29212EF2402E) [2]: iPhone 16 Plus (C130023E-F702-4FAD-963F-19750863EB1B) [3]: Mac Designed for iPad (mac-designed-for-ipad) [4]: Chrome (chrome) Please choose one (or "q" to quit): 1

Launching lib/main.dart on webtech in debug mode... Automatically signing iOS for device deployment using specified development team in Xcode project: 6B56WCMUN8 Running Xcode build...
Xcode build done. 20.2s Failed to build iOS app Could not build the precompiled application for the device. Error (Xcode): unable to rename temporary '/Users/webtechsoft/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/ 3FAC12BI4FYV6/CoreFoundation-36TULGXXE44K1-7d87b840.pcm.tmp' to output file '/Users/./Library/Developer/Xcode/DerivedData/ModuleCache.noindex/ 3FAC12BI4FYV6/CoreFoundation-36TULGXXE44K1.pcm': 'No such file or directory'

Parse Issue (Xcode): Could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Devel oper/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/Foundation.framework/He aders/Foundation.h:5:9

Parse Issue (Xcode): Could not build module 'Foundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Devel oper/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers /UIKit.h:7:8

Parse Issue (Xcode): Could not build module 'UIKit' /Users/./Documents/pitch-main%2036/ios/Pods/Target%20Support%20Fil es/wakelock_plus/wakelock_plus-prefix.pch:1:8

Error (Xcode): stat cache file '/Users/./Library/Developer/Xcode/DerivedData/SDKStatCaches.noinde x/iphoneos18.2-22C146-d5b9239ec3bf5b3adbecdf21472871e3.sdkstatcache' not found

Error launching application on webtech.

flutter doctor -

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.29.0, on macOS 15.3.1 24D70 darwin-arm64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 16.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] VS Code (version 1.97.2) [✓] Connected device (5 available) [✓] Network resources

• No issues found!

its both are capable or not each other?

touchLine123 avatar Mar 06 '25 06:03 touchLine123

any update ?

EngrTAHAR-Noureddine avatar Mar 12 '25 08:03 EngrTAHAR-Noureddine

@touchLine123
after searching, i could solve the error using this solution, you should make DerivedData of Xcode relative. source : Fellow the instructions

also upgrade your package to : flutter_secure_storage: 10.0.0-beta.4

EngrTAHAR-Noureddine avatar Mar 13 '25 11:03 EngrTAHAR-Noureddine

⚠️ This issue has been marked as stale because it has been open for 60 days with no activity.

If this issue is still relevant, please comment to keep it active. Otherwise, it will be closed in 60 days.

github-actions[bot] avatar May 13 '25 02:05 github-actions[bot]

❌ This issue has been closed because it remained inactive for 60 days after being marked as stale.

github-actions[bot] avatar Jul 12 '25 03:07 github-actions[bot]