nativescript-plugin-firebase icon indicating copy to clipboard operation
nativescript-plugin-firebase copied to clipboard

When archive in Xcode have error: FirebaseCrashlytics.h file not found

Open xpalacincreditoh opened this issue 3 years ago • 1 comments

My system:

  • Xcode Version 13.1 (13A1030d)
  • macOS Big Sur 11.6.2 (20G224)
  • iPhone 7 iOS 15.1
  • NativeScript 8.1.5
  • NVM 0.39.0
  • Node v16.13.0
  • NPM 8.1.0
  • Pod 1.11.2

Used package version: "@nativescript/firebase": "^11.1.3"

The error when have archive is: /platforms/ios/internal/main.m:16:9: 'FirebaseCrashlytics/FirebaseCrashlytics.h' file not found

This lines is present on: /hooks/after-prepare/firebase-crashlytics-buildscript.js

xpalacincreditoh avatar Dec 13 '21 16:12 xpalacincreditoh

I attempt to delete this import and not possible to have archive because appear more warnings and error: error: Framework not found AppAuth Warning: Directory not found for option '-F/Users/creditoh_it/Library/Developer/Xcode/DerivedData/crmhexapp-eqmavwtgsiusqsapcxgedfaroqhl/Build/Intermediates.noindex/ArchiveIntermediates/crmhexapp/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FBSDKLoginKit'

xpalacincreditoh avatar Dec 14 '21 08:12 xpalacincreditoh