Flutter IOS - Should i have to get a REAL IOS device to upload appstore?

こ雲淡風輕ζ 提交于 2020-04-18 05:49:24

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/61169373/flutter-ios-should-i-have-to-get-a-real-ios-device-to-upload-appstore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!