Ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1

Godot Version

4.2.2

Question

I am trying to create a Godot iOS plugin which will use Firebase. Here is my source code

When i try to export my Godot Project i get following logs with errors

Set architectures/arm64
  

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources/Entitlements.plist (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources/Entitlements.plist

ProcessProductPackaging /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/MyAwesomeGame.entitlements /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.app.xcent (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    
    Entitlements:
    
    {
    "application-identifier" = "ATYGK4ZSSC.com.myawesomegodotgame";
    "com.apple.developer.team-identifier" = ATYGK4ZSSC;
    "get-task-allow" = 1;
}
    
    builtin-productPackagingUtility /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/MyAwesomeGame.entitlements -entitlements -format xml -o /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.app.xcent

ProcessProductPackagingDER /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.app.xcent /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.app.xcent.der (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    /usr/bin/derq query -f xml -i /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.app.xcent -o /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.app.xcent.der --raw

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/all-product-headers.yaml (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.hmap (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame.hmap

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-project-headers.hmap (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-project-headers.hmap

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-generated-files.hmap (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-generated-files.hmap

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-own-target-headers.hmap (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-own-target-headers.hmap

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-all-target-headers.hmap (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-all-target-headers.hmap

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-all-non-framework-target-headers.hmap (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-all-non-framework-target-headers.hmap

CpResource /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app/MyAwesomeGame.pck /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame.pck (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame.pck /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app

GenerateAssetSymbols /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/Images.xcassets (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/assetcatalog_dependencies --output-partial-info-plist /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/assetcatalog_generated_info.plist --app-icon AppIcon --compress-pngs --enable-on-demand-resources YES --development-region en --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --platform iphoneos --compile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/Images.xcassets --bundle-identifier com.myawesomegodotgame --generate-objc-asset-symbols /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources/GeneratedAssetSymbols.h --generate-asset-symbol-index /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources/GeneratedAssetSymbols-Index.plist
/* com.apple.actool.compilation-results */
/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources/GeneratedAssetSymbols-Index.plist
/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources/GeneratedAssetSymbols.h


CompileStoryboard /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/Launch\ Screen.storyboard (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module MyAwesomeGame --output-partial-info-plist /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Launch\ Screen-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --output-format human-readable-text --compilation-directory /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/Launch\ Screen.storyboard

CompileAssetCatalog /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/Images.xcassets (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/assetcatalog_dependencies --output-partial-info-plist /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/assetcatalog_generated_info.plist --app-icon AppIcon --compress-pngs --enable-on-demand-resources YES --development-region en --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --platform iphoneos --compile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/Images.xcassets

CopyStringsFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app/en.lproj/InfoPlist.strings /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/en.lproj/InfoPlist.strings (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    builtin-copyStrings --validate --outputencoding binary --outfilename InfoPlist.strings --outdir /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app/en.lproj -- /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/en.lproj/InfoPlist.strings
/Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/en.lproj/InfoPlist.strings:1:1: note: detected encoding of input file as Unicode (UTF-8) (in target 'MyAwesomeGame' from project 'MyAwesomeGame')

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp
-target arm64-apple-ios12.0 '-std=gnu++11' '-stdlib=libc++' -fmodules -gmodules '-fmodules-cache-path=/Users/transformhub/Library/Developer/Xcode/DerivedData/ModuleCache.noindex' -fpascal-strings -O0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -g -fvisibility-inlines-hidden -iquote /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-generated-files.hmap -I/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-own-target-headers.hmap -I/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-all-target-headers.hmap -iquote /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/MyAwesomeGame-project-headers.hmap -I/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/BuildProductsPath/Debug-iphoneos/include -I/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources-normal/arm64 -I/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources/arm64 -I/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/DerivedSources -F/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/BuildProductsPath/Debug-iphoneos -F. -FMoltenVK.xcframework -FMyAwesomeGame -FMyAwesomeGame.xcarchive -FMyAwesomeGame.xcframework -FMoltenVK.xcframework/ios-arm64 -FMoltenVK.xcframework/ios-arm64_x86_64-maccatalyst -FMoltenVK.xcframework/ios-arm64_x86_64-simulator -FMyAwesomeGame/dylibs -FMyAwesomeGame/ios -FMyAwesomeGame.xcarchive/Products -FMyAwesomeGame.xcarchive/Signatures -FMyAwesomeGame.xcarchive/dSYMs -FMyAwesomeGame.xcframework/ios-arm64 -FMyAwesomeGame.xcframework/ios-arm64_x86_64-simulator -FMyAwesomeGame/ios/plugins -FMyAwesomeGame.xcarchive/Products/Applications -FMyAwesomeGame.xcarchive/Products/Applications/MyAwesomeGame.app '-FMyAwesomeGame.xcarchive/Products/Applications/MyAwesomeGame.app/Launch Screen.storyboardc'

WriteAuxiliaryFile /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/MyAwesomeGame.LinkFileList (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    write-file /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/MyAwesomeGame.LinkFileList

CompileC /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/dummy.o /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/dummy.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/transformhub/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos17.5-21F77-f6b513226ab75d8b6e514a3d72c62b80.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/transformhub/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body @/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -MMD -MT dependencies -MF /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/dummy.d --serialize-diagnostics /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/dummy.dia -c /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/dummy.cpp -o /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/dummy.o

Ld /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app/MyAwesomeGame normal (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Xlinker -reproducible -target arm64-apple-ios12.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -O0 -L/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/EagerLinkingTBDs/Debug-iphoneos -L/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/BuildProductsPath/Debug-iphoneos -L. -LMoltenVK.xcframework -LMyAwesomeGame -LMyAwesomeGame.xcarchive -LMyAwesomeGame.xcframework -LMoltenVK.xcframework/ios-arm64 -LMoltenVK.xcframework/ios-arm64_x86_64-maccatalyst -LMoltenVK.xcframework/ios-arm64_x86_64-simulator -LMyAwesomeGame/dylibs -LMyAwesomeGame/ios -LMyAwesomeGame.xcarchive/Products -LMyAwesomeGame.xcarchive/Signatures -LMyAwesomeGame.xcarchive/dSYMs -LMyAwesomeGame.xcframework/ios-arm64 -LMyAwesomeGame.xcframework/ios-arm64_x86_64-simulator -LMyAwesomeGame/ios/plugins -LMyAwesomeGame.xcarchive/Products/Applications -LMyAwesomeGame.xcarchive/Products/Applications/MyAwesomeGame.app -LMyAwesomeGame.xcarchive/Products/Applications/MyAwesomeGame.app/Launch\ Screen.storyboardc -F/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/EagerLinkingTBDs/Debug-iphoneos -F/Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/BuildProductsPath/Debug-iphoneos -F. -FMoltenVK.xcframework -FMyAwesomeGame -FMyAwesomeGame.xcarchive -FMyAwesomeGame.xcframework -FMoltenVK.xcframework/ios-arm64 -FMoltenVK.xcframework/ios-arm64_x86_64-maccatalyst -FMoltenVK.xcframework/ios-arm64_x86_64-simulator -FMyAwesomeGame/dylibs -FMyAwesomeGame/ios -FMyAwesomeGame.xcarchive/Products -FMyAwesomeGame.xcarchive/Signatures -FMyAwesomeGame.xcarchive/dSYMs -FMyAwesomeGame.xcframework/ios-arm64 -FMyAwesomeGame.xcframework/ios-arm64_x86_64-simulator -FMyAwesomeGame/ios/plugins -FMyAwesomeGame.xcarchive/Products/Applications -FMyAwesomeGame.xcarchive/Products/Applications/MyAwesomeGame.app -FMyAwesomeGame.xcarchive/Products/Applications/MyAwesomeGame.app/Launch\ Screen.storyboardc -filelist /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/MyAwesomeGame.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/MyAwesomeGame_lto.o -Xlinker -no_deduplicate -Xlinker -final_output -Xlinker /Applications/MyAwesomeGame.app/MyAwesomeGame -stdlib\=libc++ -ObjC -lMoltenVK -lgodot /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios/MyAwesomeGame/ios/plugins/arithematic.a -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Objects-normal/arm64/MyAwesomeGame_dependency_info.dat -o /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app/MyAwesomeGame
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FIRApp", referenced from:
       in arithematic.a[2](arithematic.o)
  "_OBJC_CLASS_$_FIRAuth", referenced from:
       in arithematic.a[2](arithematic.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

LinkStoryboards (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
    cd /Users/transformhub/Desktop/samples/Godot/mytrial/work/myawesomeios
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module MyAwesomeGame --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --output-format human-readable-text --link /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/IntermediateBuildFilesPath/MyAwesomeGame.build/Debug-iphoneos/MyAwesomeGame.build/Launch\ Screen.storyboardc

** ARCHIVE FAILED **


The following build commands failed:
	Ld /Users/transformhub/Library/Developer/Xcode/DerivedData/MyAwesomeGame-gjvpktrylercnkfoovjmjjisrcci/Build/Intermediates.noindex/ArchiveIntermediates/MyAwesomeGame/InstallationBuildProductsLocation/Applications/MyAwesomeGame.app/MyAwesomeGame normal (in target 'MyAwesomeGame' from project 'MyAwesomeGame')
(1 failure)

I have created ios folder in my Godot project and inside that i created plugins folder. I added my .a static library as well as .gdip file as well.

This is my .gdip file

[config]
name="Arithematic"
binary="arithematic.a"

initialization="register_arithematic_types"
deinitialization="unregister_arithematic_types"


[dependencies]
linked=[]
embedded=[]
system=[]

capabilities=[]
files=[]
linker_flags=["-ObjC"]

[plist]
NSLocationWhenInUseUsageDescription="Need permission for location"

I also tried adding Firebase/FirebaseCore.xcframework/ios-arm64/FirebaseCore.framework & Firebase/FirebaseAuth.xcframework/ios-arm64/FirebaseAuth.framework to system, linked & embedded as well

I also linked

Godot Game source code