账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    flutter 在ios模拟器上运行报错
    18
    0
    Warning: CocoaPods minimum required version 1.6.0 or greater not installed. Skipping pod install.
      CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
      Without CocoaPods, plugins will not work on iOS or macOS.
      For more info, see https://flutter.dev/platform-plugins
    To upgrade:
      sudo gem install cocoapods
      pod setup
    
    Running Xcode build...
    Xcode build done.                                            2.2s
    Failed to build iOS app
    Error output from Xcode build:
    ↳
        2019-08-01 14:02:29.561 XCBBuildService[81184:401510] Failed to remove: /Users/xiaogu/Library/Developer/Xcode/DerivedData/Runner-bwwjuaziturroudcwqyinhudqvqm/Build/Intermediates.noindex/XCBuildData/5f82ca94870db05f120019d5115029a7-desc.xcbuild: unlink(/Users/xiaogu/Library/Developer/Xcode/DerivedData/Runner-bwwjuaziturroudcwqyinhudqvqm/Build/Intermediates.noindex/XCBuildData/5f82ca94870db05f120019d5115029a7-desc.xcbuild): No such file or directory (2)
        ** BUILD FAILED **
    
    
    Xcode's output:
    ↳
        error: /Users/xiaogu/Project/cakeboss_app_flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')
        error: /Users/xiaogu/Project/cakeboss_app_flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')
        error: /Users/xiaogu/Project/cakeboss_app_flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')
        error: /Users/xiaogu/Project/cakeboss_app_flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')
        error: /Users/xiaogu/Project/cakeboss_app_flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')
        error: /Users/xiaogu/Project/cakeboss_app_flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')
        warning: Capabilities for Runner may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'Runner')
        note: Using new build systemnote: Planning buildnote: Constructing build description
    
    Could not build the application for the simulator.
    Error launching application on iPhone Xʀ.

    但是我的CocoaPods的版本是

    $  pod --version
    1.7.5
    
    0
    打赏
    收藏
    点击回答
    您的回答被采纳后将获得:提问者悬赏的 11 元积分
        全部回答
    • 0
    更多回答
    扫一扫访问手机版