相关疑难解决方法(0)

Fabric:/ios/Pods/Fabric/run”:没有那个文件或目录

使用 pod 安装结构但是得到了/ios/Pods/Fabric/run”: No such file or directory,我在其中添加了运行脚本

 “${PODS_ROOT}/Fabric/run”  <API KEY> <S KEY>” 
Run Code Online (Sandbox Code Playgroud)

已检查构建日志中的显示环境变量,

什么问题无法得到,

这是 pod 版本

pod 'Fabric', '~> 1.7.6'
pod 'Crashlytics', '~> 3.10.1' 
Run Code Online (Sandbox Code Playgroud)

objective-c ios crashlytics react-native google-fabric

8
推荐指数
4
解决办法
8179
查看次数

Flutter - IOS 应用的 Firebase Crashlytics 安装时出错

我按照此处的说明安装和测试 Firebase Crashlytics:

以下是其中一个步骤中需要完成的操作:

iOS系统

在 Xcode 中,从项目导航中选择 Runner。

选择“构建阶段”选项卡,然后单击“+”>“新建运行脚本阶段”。

将以下内容添加到 Shell 属性下方的“键入脚本...”文本框中:

我按照上面的说明将以下内容粘贴到 XCode 中:

$PODS_ROOT/FirebaseCrashlytics/upload-symbols --build-phase --validate -ai <googleAppId>
$PODS_ROOT/FirebaseCrashlytics/upload-symbols --build-phase -ai <googleAppId>
Run Code Online (Sandbox Code Playgroud)

哦!我<googleAppId>用从 Firebase 获得的真实 AppId 进行更改。

当我再次启动我的应用程序时,出现以下错误:

 2021-12-23 19:16:50.044 upload-symbols[31089:256482] Unable to get file attributes for dSYM file at path "/Users/ednuser/Developer/FlutterProjects/MyProject/build/ios/Debug-iphoneos/Runner.app.dSYM/Contents/Resources/DWARF/Runner"
        2021-12-23 19:16:51.049 upload-symbols[31089:256482] Unable to get file attributes for dSYM file at path "/Users/ednuser/Developer/FlutterProjects/MyProject/build/ios/Debug-iphoneos/Runner.app.dSYM/Contents/Resources/DWARF/Runner"
        2021-12-23 19:16:52.054 upload-symbols[31089:256482] Unable to get file attributes for dSYM file at path "/Users/ednuser/Developer/FlutterProjects/MyProject/build/ios/Debug-iphoneos/Runner.app.dSYM/Contents/Resources/DWARF/Runner"
        2021-12-23 19:16:53.060 upload-symbols[31089:256482] …
Run Code Online (Sandbox Code Playgroud)

ios firebase crashlytics flutter google-cloud-functions

8
推荐指数
1
解决办法
3415
查看次数

IOS 上的颤动:致命错误:未找到模块“cloud_firestore”

在 github 和 stack 上搜索了很长时间以查找类似错误后,没有一个建议的解决方案帮助我解决此错误。

我尝试了很多东西(有点乱):

  • 删除IOS派生数据
  • 更改 Firestore 软件包版本
  • 扑干净
  • rm -Rf ios/Pods
  • rm -Rf ios/.symlinks
  • rm -Rf ios/Flutter/Flutter.framework
  • rm -Rf ios/Flutter/Flutter.podspec
  • rm -rf ios/Podfile ios/Podfile.lock ios/Pods ios/Runner.xcworkspace
  • pod init、安装和更新
  • 取消注释平台:ios,来自 podfile 的“9.0”(可能与此问题无关)

这是错误:

    ** BUILD FAILED **


Xcode's output:
?
    /Users/flo/Mobile/we_ll_see/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module
    'cloud_firestore' not found
    @import cloud_firestore;
     ~~~~~~~^~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
Run Code Online (Sandbox Code Playgroud)

需要一些帮助的家伙

ios firebase flutter google-cloud-firestore

5
推荐指数
4
解决办法
9992
查看次数

如何在codemagic中创建podfile?

我正在尝试使用 Codemagic 在 Windows 中构建 iOS Flutter 应用程序。我在 android studio 中创建了 flutter 项目并将其上传到 github 以便在 Codemagic 中使用它...但是当我尝试构建 iOS 应用程序时,Codemagic 向我抛出此错误:

\n
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.\nBuilding com.jmmago.saltApp for device (ios-release)...\nRunning pod install...                                             16.0s\nRunning Xcode build...                                          \nXcode build done.                                           124.3s\nFailed to build iOS app\nError output from Xcode build:\n\xe2\x86\xb3\n    ** BUILD FAILED **\n\n\nXcode\'s output:\n\xe2\x86\xb3\n    /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/barcode_scan-3.0.1/ios/Classes/protos/protos.pb.swift:14:8: error: compiling for iOS 8.0, but module \'SwiftProtobuf\' has a minimum deployment target of iOS …
Run Code Online (Sandbox Code Playgroud)

ios flutter codemagic

5
推荐指数
1
解决办法
2224
查看次数

当我使用 14 作为目标时,Xcode 停留在编译 ios 版本 11 上

我在这里缺少什么?没有地方可以为 ios 11 编译的指令..

Swift 编译器错误 (Xcode):针对 iOS 11.0 进行编译,但模块“PhoneNumberKit”的最低部署目标为 iOS 12.0:/Users/aris/Library/Developer/Xcode/DerivedData/Runner-cmtnerpxiupormgiakqsqxlnezts/Build/Intermediates.noindex/ArchiveIntermediates /Runner/Build ProductsPath/Release-iphoneos/PhoneNumberKit/PhoneNumberKit.framework/Modules/PhoneNumberKit.swiftmodule/arm64-apple-ios.swiftmodule /Users/aris/.pub-cache/hosted/pub.dev/libphonenumber_plugin-0.3.2 /ios/Classes/SwiftLibphonenumberPlugin.swift:2:7

我尝试过的事情:

  1. 从 Xcode 中清除构建文件夹并再次运行 pod install
  2. pod install --repo-update
  3. Podfile 将第一行作为目标 ios: 14
  4. Xcode 目标 -> 运行程序 -> 构建设置 -> ios 构建目标 14
  5. 扑扑干净;扑扑哈巴狗得到;颤动构建ipa
  6. flutter 升级并重新安装所有 pod
  7. 删除Xcode的派生文件夹

xcode ios swift flutter

5
推荐指数
1
解决办法
3137
查看次数

如何修复此 Flutter iOS 构建错误?

我正在使用 flutter TTS 插件制作一个简单的文本转语音应用程序,并在我的物理 iPhone 和 iPad 上运行它进行调试。

\n

我尝试用谷歌搜索它,flutter 的 github 存储库说我应该运行 flutteranalyze,我就这么做了,但它说没有发现问题。所以我不知道该怎么办。我认为这是 xcode 的问题。

\n

这是我的错误:

\n
Failed to build iOS app\nError output from Xcode build:\n\xe2\x86\xb3\n    ** BUILD FAILED **\n\n\nXcode's output:\n\xe2\x86\xb3\n    <module-includes>:1:9: note: in file included from <module-includes>:1:\n    #import "Headers/flutter_tts-umbrella.h"\n            ^\n    /Users/ragz/Desktop/Desktop/Development/Projects/flutter/useless_app/ios/Pods/Target Support\n    Files/flutter_tts/flutter_tts-umbrella.h:13:9: note: in file included from\n    /Users/ragz/Desktop/Desktop/Development/Projects/flutter/useless_app/ios/Pods/Target Support\n    Files/flutter_tts/flutter_tts-umbrella.h:13:\n    #import "FlutterTtsPlugin.h"\n            ^\n    /Users/ragz/.pub-cache/hosted/pub.dartlang.org/flutter_tts-1.0.0/ios/Classes/FlutterTtsPlugin.h:1:9: error:\n    'Flutter/Flutter.h' file not found\n    #import <Flutter/Flutter.h>\n            ^\n    <unknown>:0: error: could not build Objective-C module 'flutter_tts'\n    note: Using new build system\n    note: …
Run Code Online (Sandbox Code Playgroud)

xcode ios flutter

2
推荐指数
1
解决办法
6664
查看次数