小编Bil*_*der的帖子

错误:未加载库:iOS 版 Flutter 中的 @rpath/libswiftCore.dylib

我在 android studio 中使用 flutter 来构建我的 iOS 应用程序。我在 mac 上安装了XCode 13。我最近从 windows 转到了 mac。除了我的两个主要应用程序之外,我所有的迷你应用程序都可以在 iPhone 模拟器上正常运行。构建它们后,我的应用程序在启动时崩溃,崩溃报告给出以下错误:

Reason: tried: '/Users/bilalsaeed/Library/Developer/
Xcode/DerivedData/Runner-bnnvczalmzdqlyblquzaiyfkgjkk/Build/Products/Debug-iphonesimulator/libswiftCore.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/
Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftCore.dylib' (no such file), '/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Frameworks/libswiftCore.dylib' (no such file), 
'/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Frameworks/libswiftCore.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libswiftCore.dylib' (no such file)
Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Runner
  Reason: tried: '/Users/bilalsaeed/Library/Developer/Xcode/DerivedData/Runner-bnnvczalmzdqlyblquzaiyfkgjkk/Build/Products/Debug-iphonesimulator/libswiftCore.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftCore.dylib' (no such file), '/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91C8C35A-210B-4B0C-896F-643FB5D82265/Runner.app/Frameworks/lib
swiftCore.dylib' (no such file), '/Users/bilalsaeed/Library/Developer/CoreSimulator/Devices/592E30C6-E9E2-4658-B317-FA2833682817/data/Containers/Bundle/Application/91
(lldb) 
Run Code Online (Sandbox Code Playgroud)

我已经看到这个解决方案但无法理解它。

将我视为使用 flutter 构建 iOS 应用程序的新手。

ios swift flutter

9
推荐指数
1
解决办法
2289
查看次数

如何取消配置 flutterfire?

我们在 CLI 中使用以下命令将 flutter 应用程序与 firebase 连接:

flutterfire configure
Run Code Online (Sandbox Code Playgroud)

如文档中所述: https: //firebase.flutter.dev/docs/overview/

可以说,现在我希望这个应用程序与其他 Firebase 控制台上存在的其他项目连接。那么如何从以前的项目中取消配置我的应用程序并使用现有的新项目重新配置?他们的命令是这样的吗:

flutterfire deconfigure
Run Code Online (Sandbox Code Playgroud)

现在,当我尝试使用登录的其他 Firebase 控制台重新配置我的应用程序时,我在控制台中遇到此错误:

i Found 7 Firebase projects. Selecting project skillzupp-pos.
FirebaseProjectNotFoundException: Firebase project id "skillzupp-pos" could not be found on this Firebase account.
Run Code Online (Sandbox Code Playgroud)

或者是否有任何手动方式可以从以前的项目中取消配置我的应用程序?

firebase flutter

7
推荐指数
1
解决办法
6256
查看次数

标签 统计

flutter ×2

firebase ×1

ios ×1

swift ×1