【问题标题】:Mapbox React Native IosMapbox React Native IOS
【发布时间】:2021-04-29 12:12:44
【问题描述】:

只是想知道在将“@react-native-mapbox-gl/maps”安装到 Ios React Native 应用程序后是否有人熟悉此错误。

我已按照说明安装并更新了 Podfile,并且正在使用最新的 8.02beta 版本的 npm 库。

  Referenced from: /Users/benjaminwatts/Library/Developer/CoreSimulator/Devices/B9E73FD7-5C1C-4F93-AA54-D779ED8381AE/data/Containers/Bundle/Application/FC4BA852-160C-4E9F-8601-3EBFAE4AAD26/hillbaggermobile.app/Frameworks/Mapbox.framework/Mapbox
  Reason: image not found
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/benjaminwatts/Library/Developer/CoreSimulator/Caches/dyld/19H524/com.apple.CoreSimulator.SimRuntime.iOS-14-4.18D46
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
DYLD_LIBRARY_PATH=/Users/benjaminwatts/Library/Developer/Xcode/DerivedData/hillbaggermobile-epwacafnlywpvtfyuoeyrsvpsnos/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Libra
(lldb) 

我怀疑 Mapbox 缺少本地依赖项,我不知道,但想知道是否有人熟悉

【问题讨论】:

    标签: ios react-native mapbox-gl-js mapbox-ios react-native-mapbox-gl


    【解决方案1】:

    最新版本的 Cocoapods 和 MapBoxGl 存在一个已知问题。解决这个问题的方法是降级你的 Cocoapods 版本,它会起作用。我可以确认它适用于 Cocoapods 版本 - 1.9.3

    【讨论】:

      猜你喜欢
      • 2023-02-23
      • 2018-08-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-12
      • 2020-10-03
      • 1970-01-01
      相关资源
      最近更新 更多