Flutter IOS-我是否必须拥有REAL IOS设备才能上传appstore? [英] Flutter IOS - Should i have to get a REAL IOS device to upload appstore?

查看:58
本文介绍了Flutter IOS-我是否必须拥有REAL IOS设备才能上传appstore?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了7天的时间来尝试解决Flutter IOS构建问题.请帮助我

我发现了与我的问题类似的问题.但是还没有答案

相关问题:

我想通过testflight上传我的ios应用.因此,我尝试使用

进行构建

  flutter构建ios 

,如果我选择了IOS模拟器(如IPHONE 11),也尝试从XCode(通用IOS设备")进行存档",则存档"选项卡从未激活)

然后,我得到一个错误

创建配置文件失败,未注册任何设备在开发者网站上您的帐户中.插入并选择设备让Xcode注册它

未找到"com.xxx.xxx"的配置文件Xcode找不到任何IOS与"com.xxx.xxx"匹配的应用程序开发配置文件

我试图制作配置文件.但是我必须输入IOS设备UDID.但我没有IOS设备.

有什么办法可以解决此错误?我真的不知道为什么会这样.我只想使用testflight和应用商店.请帮助我.

我已经做了一些事情来解决此问题.

  1. 将appname(com.xxx.xxx)更改为唯一名称(例如com.myownappnamedouseuse.uniquenameonlyforme)
  2. 注册配置文件(由于UDID失败,我也没有iphone也拥有UDID)
  3. 互联网上的很多东西(删除缓存,重新登录Apple帐户,重新生成证书)

上面的东西,永远不会起作用..请帮助我

=======回复@Dipansh Khandelwal

实际上,我尝试过,但是我无法将ios模拟器注册为设备

解决方案

如果您没有真实的电话,那很好.您还可以将ios模拟器注册到Apple开发人员网站并创建配置文件.

i spent 7 days to try to resolve Flutter IOS build issue. please help me

i found similar question with my problem. but there is no answer yet

related issue : Flutter iOS - Build a release version without a real device?

before to start,

  1. I DON'T HAVE REAL IPHONE, i'm using ios simulator
  2. I paid apple developer account
  3. i already registered apple developer certificate. i can run my flutter app on ios simulator

i want to upload my ios app via testflight. so, i try to build it using

flutter build ios

and also tried to "archive" from XCode ("Generic IOS Device" is it.) if i chose IOS simulator(like IPHONE 11), "archive" tab never activated)

and then, i got an error that

Failed to create provisioning profile there are no device registered in your account on the developer website. plug in and select a device to have Xcode register it

No profiles for "com.xxx.xxx" were found Xcode couldn't find any IOS App development provisioning profiles matching "com.xxx.xxx"

I tried to make provisioning profile. but i had to input IOS device UDID. but i DO NOT have IOS device.

is there any way to resolve this error? i really don't know why this happen. i just want to use testflight and app store. please please help me..

I've done somethings to fix this issue.

  1. Change appname(com.xxx.xxx) as unique one (like com.myownappnamedonotuseit.uniquenameonlyforme)
  2. Register provisioning profile ( failed because of UDID, i don't have iphone also UDID)
  3. a lot of stuff on internet (remove cache, re login apple account, regenerate certificate)

above things, never works.. please help me

====== reply to @Dipansh Khandelwal

actually, i tried it, but i can't register ios simulator as device

解决方案

It's fine if you don't have a real phone. You can also register your ios simulator to the apple developer website and create a provisioning profile.

这篇关于Flutter IOS-我是否必须拥有REAL IOS设备才能上传appstore?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆