-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[firebase_crashlytics]: 'ptrauth.h' file not found - Flutter build fails on iOS simulator #12834
Comments
Hey @ippo012 - have you tried cleaning out your Pods?
Then try and build your Flutter app again. It's coming from the Firebase iOS SDK. |
Thanks for your help, @russellwheatley. |
@ippo012 - Try on a fresh Flutter app with just the FlutterFire plugins as dependencies. There are quite a lot of dependencies in your app. If it successfully build, keep adding some dependencies and see if there the exception occcurs, maybe there is some weird dependency resolution occurring. |
Hey @ippo012. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @ippo012 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
@russellwheatley Additionally, I have tried using different versions of Xcode (15.4, 15.3) and CocoaPods (1.15.2, 1.15.1), but the issue persists.
|
Is there an existing issue for this?
Which plugins are affected?
Crashlytics
Which platforms are affected?
iOS
Description
When attempting to build my Flutter application for the iOS simulator using the command line, I encounter the following error:
Failed to build iOS app Lexical or Preprocessor Issue (Xcode): 'ptrauth.h' file not found /Users/username/Workspaces/my_flutter_project/ios/Pods/FirebaseCrashlytics/Crashlytics/Crashlytics/Helpers/FIRCLSThreadState.c:20:9
Interestingly, running the application directly from Xcode is successful. The error only occurs when using the command line or Android Studio. Another project utilizing Crashlytics also encounters the same issue.
Reproducing the issue
Firebase Core version
2.31.0
Flutter Version
3.22.0
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
#10850
The text was updated successfully, but these errors were encountered: