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.
This is Minton. I've recently discovered a software known as "Adobe PhoneGap". It involves using HTML CSS and Javascript to write apps.
Everything is going fine, but when I want to put my alpha test onto my iphone for testing, it tells me that I need a valid signing certificate and provisioning profile to put apps onto my phone.
For iphone apps I have been using XCode and thus the profiles are linked to my apple ID (I'm using the free one just to put alpha tests onto my device), but how do I access my certificate files (if any) in PhoneGap?
Thanks in advance!
To run your mobile App on your iPhone you have two options :
Build the app directly to your phone via terminal command
cordova run ios --device
Add your UDID to your provisioning profile
you have to get your iPhone UDID which you can get it from you iTunes while connecting the iPhone to it
then add this unique number to Devices tab on your Apple developer account
and then add this device to your provisioning profile you are using with this APP
After finish all development on the app you can upload it via application loader which come with XCode to the app store where you can install it to any iPhone compatible with your supported version of iOS
I've edited the app name out. Other than that the dialog is exactly like this.
I'm developing an enterprise app and I've tried restarting xcode and the iPhone I'm developing on.
No change. Anyone encountered this? Are there any log posts that could point me in the right direction or get me more details. There is nothing in the regular log from what I can see.
Update
Found this in the device log:
<Warning>: Unable to launch com.bundleID.etc because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.
Which is a bit weird since it worked yesterday and all profiles etc. were issued a week ago.
Apparently after upgrading the OS and such you must manually launch the app on the device and say that you trust the developer of the software.
That error message disappeared now.
Using xcode 7 with an iOS device running version 9.2, I had to:
Open 'Settings'
Tap 'General'
Tap 'Device Management'
Tap 'Developer App' that's in the list
Tap 'Trust (developer name)'
Tap 'Trust' in the popup
The app should load and launch when you run xcode.
I had the problem of not having the app on my device, so I couldn't manually launch it to accept the prompt. For me, I got this to work after deleting all expired provisioning profiles from my device, which forced Xcode to install a new one.
After this, I was able to get my app to run.
I just got this issue running on an iOS 8 device for the first time as it required me to launch manually on the device (it copies it fine but doesn't launch it) and then state that I trust the developer.
I had the same issue solved like this:
It can be happen because your developer profile is not assigned as TRUSTED in your phone or watchos settings.
You can set your profile as TRUSTED as below:
Go to Settings,
Profile
Assign your profile as Trusted there.
If you sign the app with Enterprise provisioning you will get this error. It will still install the app on your phone, but apparently you cannot debug an app signed this way. You must either sign the app with Developer provisioning or manually launch the app in the phone.
Choose Window->Devices.
Right click on the device in left column, choose "Show Provisioning Profiles".
Click on the provisioning profile in question.
Press the "-" button Continue to removing all affected profiles.
Re-install the app.
To fix the process launch failed: Security issue, tap the app icon on your iOS device after running the app via Xcode.
Be sure to tap the app icon while the Xcode alert is still shown. Otherwise the app will not run.
Run the app via Xcode. You will see the security alert below. Do not press OK.
On your iOS device, tap the newly installed app icon:
After tapping the icon, you should now see an alert asking you to "Trust" the Untrusted App Developer. After doing so the app will immediately run, unconnected to the Xcode debugger.
If you do not see this "Trust" alert, you likely pressed "OK" in Xcode too soon. Do not press "OK" on the Xcode alert until after trusting the developer.
Finally, go back and press "OK" on the Xcode alert. You will have to re-run the app to connect the running app on your iOS device to the Xcode debugger.
Happened to me when my iPhone was in offline mode. Giving it access to the Internet fixed the problem.
I had the same problem as above and resolved it by changing the code signing identity to iOS Developer
(I had tried all of the other steps above first)
I can now run the app in xcode and see debug output
My solution was, use Internet on your phone cause the app must verify the email, then build again, this time will show a popup in which you can press trust and now everything works fine.
Side note: I'am developing with Flutter
i try to use the Phonegap Build Service from Adobe, but i can't install the *.ipa (iOS) result from the compilation on my iOS-Device. I try to use it with Dreamweaver CC and the build in upload. I have upload my distribution *.p12 and *.mobileprovision file to the Adobe Phonegap Build server, so this works.
After creation of the app I could transfer the app from iTunes or the barcode link to my device.
After the transfer the app (try to) installs, but the app icon stays grey and the app doesn't start.
Every time I click on the app icon on the device, the app try to install itself, but the app icon stays grey and the app doesn't start.
Could anyone suggest a solution.
Devices: iPhone 5s, iPad 3 with iOS 7
Phonegap Build Version: 2.9
My fault was that I use the development provisioning file.
You have to use your distribution provisioning profile (.mobileprovision) and your iphone distribution profile (.p12).
I you only develop for yourself, you have to create a distribution provisioning profile on the Apple development portal under "Certificates, Identifiers & Profiles".
You need only create an adhoc profile with the devices you want to use.
When I try to run the app on my iPad 2, I get the following message:
"No provisioned iOS devices are available with a compatible iOS
version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination."
First, I checked my provisioning portal to make sure my device was properly provisioned and it shows a development certificate, a device id and an app ID. My profile shows that all of those were successfully generated and that the status is "Active".Since my device contains the most recent version of iOS, I can't figure out why the message is telling me the version isn't recent enough. Do I need a different version of Xcode to get around this problem?
thnx
In organizer, select provisioning profiles in the top left corner, click the refresh button in the bottom right corner. You should be prompted to enter some creds. You should see the profile created for your product in the list.
Once you complete that step, select your iPad in the list of devices and make sure that "use for development" has been selected.
(also, when you say "latest", you mean 5.1.1 right?)