相关疑难解决方法(0)

Xcode 10错误:产生多个命令

error: Multiple commands produce '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist':
1) Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist'
2) Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Server/Masonry/Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist'
3) Target 'OptimalLive' has process command with input '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist'
Run Code Online (Sandbox Code Playgroud)

在Xcode9中运行代码有效,但在Xcode10中导致错误.

info.plist xcode10

552
推荐指数
50
解决办法
27万
查看次数

错误:找不到构建输入文件:“/Users/GoogleService-Info.plist”(在项目“Runner”的目标“Runner”中)

我正在尝试采用 Flutter 项目的 iOS 版本。无论我尝试什么,它都会给我以下错误:

错误:找不到构建输入文件:“/Users/GoogleService-Info.plist”(在项目“Runner”的目标“Runner”中)

这是我尝试使用以下命令进行构建的一组命令:

  • 扑扑酒吧得到
  • 扑干净
  • flutter build ios(这给出了上述错误)

这是我的颤振医生输出

Doctor summary (to see all details, run flutter doctor -v):
[?] Flutter (Channel master, v1.16.3-pre.67, on Mac OS X 10.15.3 19D76, locale en-GB)
[?] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[?] Xcode - develop for iOS and macOS (Xcode 11.4)
[?] Android Studio (version 3.5)
[?] VS Code (version 1.43.2)
[!] Connected device

! Doctor found issues in 1 category.
Run Code Online (Sandbox Code Playgroud)

flutter …

xcode ios flutter flutter-build

20
推荐指数
1
解决办法
1万
查看次数

React Native Firebase错误线程1 SIGABRT - iOS

问题

在遵循react-native-firebase教程后,我的应用程序在成功构建后挂起.我在Xcode中遇到的错误是:Thread 1: signal SIGABRT.我从其他问题中了解到这与连接有关,但我不知道为什么会出现这种错误.

这是我的第一个React Native项目,第一次使用Xcode.

我做了什么

  1. 我加react-native-firebasefirebase.
  2. react-native link react-native-firebase.
  3. 通过将GoogleService-Info.plist拖入Xcode编辑器,将其添加到项目中.
  4. 停止所有Xcode任务并退出Xcode.
  5. 做了一个pod init.
  6. 将podfile调整为以下内容:

    # Uncomment the next line to define a global platform for your project
    platform :ios, '9.0'
    
    target 'Enso' do
    # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
    # use_frameworks!
    
      # Pods for Enso
        pod 'Firebase/Core'
    
    end
    
    Run Code Online (Sandbox Code Playgroud)
  7. 做了一个 pod install
  8. 打开xcworkspace文件
  9. 新增的#import <Firebase.h> …

sigabrt ios firebase react-native react-native-firebase

12
推荐指数
1
解决办法
4179
查看次数