在我的项目中包含 firebase_core 后,我尝试在 ios 模拟器上运行我的 flutter 应用程序。在包含firebase_core: ^0.7.0之前它工作正常。但现在,我的构建因以下错误而失败。
\n Building com.xxx.xxx for device (ios-release)...\nAutomatically signing iOS for device deployment using specified development team in Xcode project:\nCAV65P4ALS\nRunning pod install... 1.5s\nRunning Xcode build... \nXcode build done. 1.5s\nFailed to build iOS app\nError output from Xcode build:\n\xe2\x86\xb3\n objc[45442]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x205394188) and\n ?? (0x1145342b8). One of the two will be used. Which one is undefined.\n objc[45442]: Class AMSupportURLSession is implemented in both ?? (0x2053941d8) and ??\n (0x114534308). One of the two will be used. Which one is undefined.\n ** BUILD FAILED **\n\n\nXcode\'s output:\n\xe2\x86\xb3\n note: Using new build system\n note: Building targets in parallel\n note: Planning build\n note: Analyzing workspace\n note: Constructing build description\n note: Build preparation complete\n /Users/gauravdangi/Development/work/examples/xxx/ios/Pods/Pods.xcodeproj: warning: The iOS\n deployment target \'IPHONEOS_DEPLOYMENT_TARGET\' is set to 8.0, but the range of supported\n deployment target versions is 9.0 to 14.5.99. (in target \'path_provider\' from project \'Pods\')\n /Users/gauravdangi/Development/work/examples/xxx/ios/Pods/Pods.xcodeproj: warning: The iOS\n deployment target \'IPHONEOS_DEPLOYMENT_TARGET\' is set to 8.0, but the range of supported\n deployment target versions is 9.0 to 14.5.99. (in target \'Flutter\' from project \'Pods\')\n error: No profiles for \'com.xxx.xxx\' were found: Xcode couldn\'t find any iOS App\n Development provisioning profiles matching \'com.xxx.xxx\'. Automatic signing is\n disabled and unable to generate a profile. To enable automatic signing, pass\n -allowProvisioningUpdates to xcodebuild. (in target \'Runner\' from project \'Runner\')\n /Users/gauravdangi/Development/work/examples/xxx/ios/Pods/Pods.xcodeproj: warning: The iOS\n deployment target \'IPHONEOS_DEPLOYMENT_TARGET\' is set to 8.0, but the range of supported\n deployment target versions is 9.0 to 14.5.99. (in target \'shared_preferences\' from project\n \'Pods\')\n /Users/gauravdangi/Development/work/examples/xxx/ios/Pods/Pods.xcodeproj: warning: The iOS\n deployment target \'IPHONEOS_DEPLOYMENT_TARGET\' is set to 8.0, but the range of supported\n deployment target versions is 9.0 to 14.5.99. (in target \'FMDB\' from project \'Pods\')\n /Users/gauravdangi/Development/work/examples/xxx/ios/Pods/Pods.xcodeproj: warning: The iOS\n deployment target \'IPHONEOS_DEPLOYMENT_TARGET\' is set to 8.0, but the range of supported\n deployment target versions is 9.0 to 14.5.99. (in target \'image_picker\' from project \'Pods\')\n
Run Code Online (Sandbox Code Playgroud)\n我尝试登录以在代码中获取签名证书,但出现以下错误:
\n\n\n\n您在开发者网站上的帐户中没有注册任何设备。插入并选择一个设备以让 Xcode 注册它。
\n
我一直在尝试解决这个问题,但没有运气。我需要一个真正的 iOS 设备才能在模拟器上运行我的应用程序吗?\n此外,我还没有购买苹果开发者帐户。我是否需要购买它来在模拟器上测试我的应用程序,因为据我所知,只有当我们决定在苹果商店上发布我们的应用程序时才需要购买。
\n 归档时间: |
|
查看次数: |
3155 次 |
最近记录: |