问题描述
我花了7天的时间来尝试解决Flutter IOS构建问题.请帮助我
我发现了与我的问题类似的问题.但是还没有答案
相关问题:
我想通过testflight上传我的ios应用.因此,我尝试使用
进行构建 flutter构建ios
,如果我选择了IOS模拟器(如IPHONE 11),也尝试从XCode(通用IOS设备")进行存档",则存档"选项卡从未激活)
然后,我得到一个错误
我试图制作配置文件.但是我必须输入IOS设备UDID.但我没有IOS设备.
有什么办法可以解决此错误?我真的不知道为什么会这样.我只想使用testflight和应用商店.请帮助我.
我已经做了一些事情来解决此问题.
- 将appname(com.xxx.xxx)更改为唯一名称(例如com.myownappnamedouseuse.uniquenameonlyforme)
- 注册配置文件(由于UDID失败,我也没有iphone也拥有UDID)
- 互联网上的很多东西(删除缓存,重新登录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,
- I DON'T HAVE REAL IPHONE, i'm using ios simulator
- I paid apple developer account
- 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
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.
- Change appname(com.xxx.xxx) as unique one (like com.myownappnamedonotuseit.uniquenameonlyforme)
- Register provisioning profile ( failed because of UDID, i don't have iphone also UDID)
- 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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!