问题描述
只是想知道在将“@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 缺少一个我不知道的本机依赖项,只是想知道是否有人熟悉
解决方法
最新版本的 Cocoapods 和 MapBoxGl 存在一个已知问题。解决这个问题的方法是降级你的 Cocoapods 版本,它会起作用。我可以确认它适用于 Cocoapods 版本 - 1.9.3