jancywen / e_shop_flutter

0 stars 0 forks source link

Could not build the application for the simulator. #6

Open jancywen opened 3 years ago

jancywen commented 3 years ago
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Pods/Result/Result/NoError.swift:8:3: warning: will never be executed
                    return true
                    ^
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Pods/Result/Result/NoError.swift:7:60: note: 'lhs' is uninhabited, so this function body can never be executed
            public static func ==(lhs: NoError, rhs: NoError) -> Bool {
                                                                      ^
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Runner/Network/API/HomeServer.swift:13:19: error: editor placeholder in source file
                print(<#T##items: Any...##Any#>)
                      ^
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Runner/Network/API/HomeServer.swift:13:19: error: editor placeholder in source file
                print(<#T##items: Any...##Any#>)
                      ^
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Runner/Network/API/HomeServer.swift:13:19: error: editor placeholder in source file
                print(<#T##items: Any...##Any#>)
                      ^
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Runner/Network/API/HomeServer.swift:13:19: error: editor placeholder in source file
                print(<#T##items: Any...##Any#>)
                      ^
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Runner/Network/API/HomeServer.swift:13:19: error: editor placeholder in source file
                print(<#T##items: Any...##Any#>)
                      ^
    /Users/captain/Documents/GitHub/e_shop_flutter/ios/Runner/Network/API/HomeServer.swift:13:19: error: editor placeholder in source file
                print(<#T##items: Any...##Any#>)
                      ^
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Alamofire' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'shared_preferences' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'SwiftyJSON' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FMDB' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'path_provider' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Result' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Moya' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Flutter' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
jancywen commented 3 years ago

放开

platform :ios, '9.0'