老师您看,真机打包遇到下面这个问题咋整?

来源:1-2 课程导学

慕设计3399965

2021-08-02

No Provisioning Profile was found for your project’s Bundle Identifier or your
device. You can create a new Provisioning Profile for your project in Xcode for
your team by:
1- Open the Flutter project’s Xcode target with
open ios/Runner.xcworkspace
2- Select the ‘Runner’ project in the navigator then the ‘Runner’ target
in the project settings
3- Make sure a ‘Development Team’ is selected.
- For Xcode 10, look under General > Signing > Team.
- For Xcode 11 and newer, look under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again

It’s also possible that a previously installed app with the same Bundle
Identifier was signed with a different certificate.

For more information, please visit:
https://flutter.dev/setup/#deploy-to-ios-devices

Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════
Could not run build/ios/iphoneos/Runner.app on 00008020-00125C942E62002E.
Try launching Xcode and selecting “Product > Run” to fix the problem:
open ios/Runner.xcworkspace

Error launching application on iPhone.

写回答

1回答

CrazyCodeBoy

2021-08-03

按照提示用xcode打开项目然后配置下你的开发者账号,是交了钱的开发者账号才能打包和上传AppStore。

0
2
慕设计3399965
而且还要在apple开发者账号里面绑定设备UUID才可以。
2021-08-06
共2条回复

Flutter高级进阶实战-仿哔哩哔哩-掌握Flutter高阶技能

一次性掌握Flutter高阶技能+商业级复杂项目架构设计与开发方案

1723 学习 · 870 问题

查看课程