Errors when trying to 'Archive' IOS flutter app - ios

I am new to IOS app development and this is my first time publishing an app (test flight). When archiving the app it gives me two errors.
Failed to create provisioning profile.
There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.
No profiles for '(mypackagename)' were found
Xcode couldn't find any iOS App Development provisioning profiles matching '(myPackageName)'.
It may be useful to note that I cannot use a physical device as I am connecting to a mac using MacInCloud.
I am not sure what other details you need but feel free to ask.
Any help is greatly appreciated.
Thanks

Related

Xamarin iOS release automatic provisioning - none of the currency installed provisioning profile

I have read and tried all the fixed associated with releasing and app to the App Store, but I cannot find any suitable fix. I have setup an iOS developer account and created account, I have setup Xamarin to automatic provisioning but I am getting the error message "none of the currency installed provisioning profile". I have tried the following
Upgrade Xamarin and X Code
Change all Bundle Identifiers to the same
Delete all the certificates from the KeyChain
Restarted MacBook
Switched from Manual to Automatic bundles
Created a test app
Removed certificates from iOS account
Rebuild, cleaned, achieved the project several times
I just cannot resolve this problem, any help would be highly appreciated as it's driving me around the bend to release the app into the App Store.
Many thanks
You should use manual provisioning instead of automatic provisioning when releasing your app to app store.
From the official document about publishing iOS app to App Store:
https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/publishing-to-the-app-store
In the release build steps:
Navigate to the iOS Bundle Signing tab. Make sure that Configuration
is set to Release, Platform is set to iPhone, and that Manual
Provisioning is selected.
Of course you will need to have the corresponding distribution certificate and distribution provisioning profile created in Apple Developer page.
Many thanks for the help, I managed to resolve the problem with the following setups
Update all packages
Removed x-works (it was the latest version any way)
Re-install x-works
Delete all relating certificates in Keychain
Delete any certificates, profiles etc in app development site
Re-start Xamarin and MacBook (in the end did this several times)
Log out of Apple account in Xamarin
Re-log back into the Apple account in Xamarin
Setup auto provisioning in Xamarin i..e dev, dist etc and created the appropriate certificates
Generate a certificate within keychain using iOS account details
Plugged in iPhone and rebuilt the complete project
Achieved the build
Now it connected to the App Store and released the app
I am pretty sure you don't need to do all these steps, but seems like it took it back to the start of setting up Xamarin for app releasing. One problem might have been multiple certificates in KeyChain which caused the problem.
Many thanks for all the help and support.

Is iphone needed just to build an archive in ios?

I'm new in ios development. I have an existing app in android made from flutter that I want to build an os version of. My problem is I have this errors when trying to create an archive build.
Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.
No profiles for 'com.build.app' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.build.app'.
I already have an apple developer team but I can't create identifiers. Its always saying
An App ID with Identifier 'com.build.app' is not available. Please enter a different string.
Do i really need to have an iphone just to make an archive? Is there any other way cause I don't have an iphone.

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

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
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.
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.

nativescript Warning : Cannot find a valid certificate or provisioning profile for the iOS platform

I am working on windows 10, I have started developing nativescript, and to test apps on IOS, i have installed 'SideKick', but when i am trying to run App on IOS on the cloud, I am getting this warning that prevents me from building IOS
"Cannot find a valid certificate or provisioning profile for the iOS platform"
since I am working on window, and do not have mac or ios phone, from where to get a certificate or a provisioning profile?
thanks for your help in advance
You will need to get a paid Apple developer account to build and deploy code signed apps on physical devices.
You should read through the information about code signing for nativescript here:
https://docs.nativescript.org/publishing/publishing-ios-apps#account-with-apple-id
You will need to create a development certificate and profile, and add the device IDs for the devices you want to test on.

Unable to Download App + App is No Longer Available

We have an app that was distributed using Enterprise Distribution Profile. Now, the same app is working for some but others are reporting the following issues.
Existing/Installed app throws this error, and doesn't open:
{App Name} Is No Longer Available
Users who try to download the app from the Enterprise link are reporting this error:
Unable to Download App - {App Name} could not be installed at this time.
Done Retry
Users running iOS 8.4.1 are specifically reporting these issues. I regenerated the profile and rebuild the app. This seems to have fixed the issue for some users, but not for all.
What's the real problem here? Thoughts?
Most common causes of this issue:
URL in the plist that references the ipa is invalid.
Device storage is full
The provisioning profile is a developer provisioning profile
The ad hoc distribution provisioning profile is corrupted and the device is having an issue with it.
The device was restored from a backup and is causing a conflict for over-the-air distribution
There was a network timeout
Architecture settings of the build and the device are incompatible (can sometimes happen when "Build Active Architecture Only" is on when
building).
Not Using Mobile Safari.
To find out the exact cause of this issue:
Connect the device to your Mac.
In Xcode, open the Devices window.
Choose your device from list on the left.
View the console for the device.
Now install the app it will show the exact cause of problem
My guess, since it is only happening on some device, is that you could be using a developer provisioning profile, or maybe you are building for only one architecture, so it will only work on some devices that match the built architecture.
Please look at the device console during an install attempt to get a detailed error that should point you down the correct path for a fix.
I have the same problem.
We have found a temporary solution.
To install beta builds we are installing our apps via itunes and an ipa file

Resources