Swift linker error mixing SPM and Cocoapods

i need your help. I’m trying to bridge react native with Mapbox Navigation, they released the v3 a couple months ago, the biggest problem is that v3 does not support Cocoapods yet and i cannot ditch cocoapods because react native native libraries are pods.
So essentially i’m trying to add the SPM dependency to my pod, i’m going in xcode, File -> Add package dependency and adding the Mapbox Navigation dependency to the Pods project selecting my pod as a target.

I then add this path to the Swift compiler Search paths

I don’t know the reason but if i don’t do this the compiler will just give a no such module error,
i found this here.

At this point i try to run the application but i get a linker error

[![ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
ld: warning: Could not find or use auto-linked framework 'MapboxCommon_Private': framework 'MapboxCommon_Private' not found
ld: warning: Could not find or use auto-linked framework 'MapboxCoreMaps_Private': framework 'MapboxCoreMaps_Private' not found
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_MBNNAmenity", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNAppMetadata", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNBannerComponent", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNCacheFactory", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNConfigFactory", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNElectronicHorizonEdge", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNElectronicHorizonOptions", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNEventsMetadata", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNFixLocation", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNGate", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNGetRouteOptions", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNGetRouteSignature", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNGraphAccessor", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNGraphPath", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNGraphPosition", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNHistoryReader", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNHistoryRecorderHandle", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNIncidentsOptions", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNLocalizedString", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNMapMatch", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNMatchableGeometry", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNMatchableOpenLr", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNMatchablePoint", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNMatchingOptions", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNNavigationStatus", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNNavigator", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNNavigatorConfig", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNOpenLR", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNPollingConfig", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNPosition", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNPredictiveLocationTrackerOptions", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRoadName", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRoadObject", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRoadObjectDistance", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRoadObjectEdgeLocation", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRoadObjectMatcher", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRoadObjectMatcherError", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRouteAlternative", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRouteAlternativesOptions", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRouteParser", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRouteRefreshError", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRouterFactory", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNRoutingProfile", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNScreenshotFormat", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNSetRoutesDataParams", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNSettingsProfile", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNShield", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNStep", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNSubgraphEdge", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNTileEndpointConfiguration", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNTilesConfig", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNTilesetDescriptorFactory", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNUpcomingRouteAlert", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNUpcomingRouteAlertUpdate", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNUserFeedback", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNUserFeedbackHandle", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
  "_OBJC_CLASS_$_MBNNUserFeedbackMetadata", referenced from:
in libExpoMapboxNavigation.a[21](MapboxNavigationCore.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)][1]][1]

Does anyone know how to correctly use a SPM package inside of a pod?
The mapbox docs also says that if i cannot use SPM i can integrate the .xcframeworks in to the project, i guess as vendored_frameworks, but they don’t provide the prebuild .xcframeworks and trying to build from source with Scipio i get the same error.
Thank you.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật