Create provisioning profile for apple built in flutter - ios

Im trying to deploy an IOS app developed on flutter but im with this error and I can't find any solution that solve this problem. Can someone help me?
The error that appears on flutter is this, when I try to build:
"Error (Xcode): No profiles for 'com.example.cfca' were found: Xcode couldn't find any iOS App
Development provisioning profiles matching 'com.example.cfca'. Automatic signing is disabled and
unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to
xcodebuild.
It appears that there was a problem signing your application prior to installation on the device.
Verify that the Bundle Identifier in your project is your signing id in Xcode
open ios/Runner.xcworkspace
Also try selecting 'Product > Build' to fix the problem.
Encountered error while building for device."
enter image description here

The solution is adding a device on "Certificates, Identifiers & Profiles". This is only for those that didn't test the app on real device, throw XCode. In my case, since I don't have an IPhone, I asked someone with IPhone to send me the Device ID (UDID) from that phone and added on Apple Development portal. This is the solution that I recommend for those that don't want to by an IPhone.

Related

How do we run carouselview from MAC on IOS device?

I have downloaded a Xamarin solution zip from
https://github.com/alexrainman/CarouselView
I tried running this solution on my MAC PC and deploying it to my Ipad. I encountered this error saying "could not find any available provisioining profiles for iOS" .
In order to resolve this I followed this link
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/free-provisioning
to create a free provisioning profile.
I have checked the settings of the iOS Bundle Signing settings of the solution i wish to run (carousel view) but although I do see that my profile is available for selecting and although I selected my profile, I still encountered the same error saying that they could not find any available provisioning profiles for IOS.
Anyone able to help me out with this?
You're on the right track. A provisioning profile can only be used for a specific bundle identifier.
The one in the Xamarin.Forms CarouselView demo is set to com.slbdev.demo.ios. Which (probably) differs from the one set in your provisioning profile.
In order to fix this open the Info.plist file and set the Bundle Identifier field to the one you used while generating your provisioning profile.
See bullet 5 in the post you linked:
Under the General > Identity section, make sure that the Bundle
Identifier matches exactly the Bundle Identifier of your Xamarin.iOS
app and ensure the deployment target matches or is lower than your
connected iOS device. This step is extremely important, as Xcode will
only create a provisioning profile with an explicit App ID:

Project is not working on IPhone where as it's working fine on Simulater

I am working on xamarin IOS and my project is working fine on IOS simulator but when i run on IPhone 6. it's giving some issue.
"No valid iOS code signing keys found in keychain. You need to request a codesigning certificate from https://developer.apple.com. RSystemApp.iOS"
Please tell me what will i do to solve this issue. if anyone have any idea to solve this issue or have any link to solve the issue please suggest me so that i can run my app on Iphone also
thanks
When we have to run the iOS app on a device, we have to code sign the build. For that a valid provisioning profile and certificate is required.
Provisioning profile and developer certificate should be there on developer.apple.com, If not ten you have to create those there. Download those from there. Make sure you have added the device UDID while creating the provisioning profile.
Install provisioning and cert in your iPhone configuration utility and key chain.
Your bundle identifier should match with your AppID. You can confirm this by checking the provisioning profile in iPhone Configuration utility.
In Build Setting of your project, select these provisioning and certificate in code signing section.
If everything will be in this way, Your app will run on Device.
Login to your Apple developer account and verify that you have everything in place to deploy an app on to an actual device:
Do you have your certificates created and installed?
Did you create your App ID?
Have you registered your device(s)?
Do you have a Provisioning Profile?
Are all these marked as correct on your build Mac? Best way is to check that with XCode before doing it with Xamarin Studio or Visual Studio.
Create a little test app in XCode if necessary and deploy it to your app.
Is that works, import the profile and certs into Xamarin/Visual Studio and it should work.

Unable to fix code signing issue: Xcode7.3

I am trying to run my application on different devices for testing purposes. It successfully allows me to run the app on iPhone4S, iPhone6 & iPhone6S. I tried to run it on my iPhone 5 however I am getting the following error:
"Failed to code sign. None of the valid provisioning profiles include the devices "DEVICE NAME". Xcode can attempt to fix this"
When I click "Fix Issue" I get the following:
"Unable to fix code signing issue" "Xcode failed to resolve this issue. Check your code signing setting; ensure you have matching signing certificates and provisioning profiles installed and try again".
I have tried following various answers such as None of the valid provisioning profiles include the devices however I am using a free account and as a result i don't have access to the devices portal on developer.apple.com.
How can I fix this error without adding a device on the develop portal? Its odd that I only have this issue on this device.
Any help would be appreciated
P.s. I am using Xcode 7.3
UPDATE:
My apple ID looks like the below:
Go to PRODUCT click Profile! It will resolve your issue or just go for build for profiling.
firstly you have to Make sure you have a valid apple developer account then you have access to developer.apple.com and generate profiles for your app.
for more please check i hope it will solve your issues :
Xcode 7 error: "Missing iOS Distribution signing identity for ..."
If you are using Developer account, make sure that the device on which you are trying to install the build is registered in your Developer account and Provisioning profile. Otherwise Xcode won't let you install the build in there.
There is no limit on the number of devices that we can test our app using a free developer account. I tested my app on 5 devices, and all are working. But the only catch is that the provisioning profiles expire in 7 days, so the app does not not work after 7 days unless we re-launch it from XCode. The code signing issue could be due to some other issue. But I still dont understand why someone from the apple team told you that the limit is 3 devices.
More info on that - Is there a limit on the number of devices on which we can launch our app using the free apple developer account?

Unable to test on iPhoneSimulator with Xamarin Studio

I'm currently developping an app on Xamarin Studio with Xamarin.Forms the app works fine in android but on ios i can't even build my app ...
At first i had the "no valid ios code signing keys found in keychain" error so i did add my Apple Id on XCode has I saw on a forum and I did follow the tutorial on how to add a developer certificate i did refresh my provisioning profiles on xcode and added them all (iOS Development, iOS Distribution, Developer ID Application, etc) .
Now I have another error still on build that say "Error executing task DetectSigningIdentity: Directory '/Users/.../Library/MobileDevice/Provisioning Profiles' not found."
I don't understand since i'm just trying to execute it on the iPhoneSimulator in Debug mode and i should have the certificate iOS Developer ....
Any idea on how to solve this ?
Create a new solution in XCode with the same bundle identifer as your xamarin project. After creating a new solution you get a new page where you can click on fix issue.
Connect your apple device and click on fix issue it will maybe solve your problem
You are actually very close. Now that you have created your provisioning profiles, all you have to do is download them (or at least one) and execute them. That will automatically place the profile at the path that is reported on your error. After that you'll be good to go.

Appcode will not run an App that has no developer certificate

I have an app I am writing for iOS that will run just fine in Xcode but AppCode by Jetbrains says :
Error:Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
So what I've been doing was keeping Xcode running so that I can hit the "play" button to deploy/compile my app while doing my actual work in AppCode.
Any ideas what could cause this?
madhurtanwani's link above helped, but I had to scroll to find the solution.
Here is the section that explains the issue and how to solve it:
It looks like in AppCode you are building for a device and in Xcode for a simulator. Simulator does not perform code signing, so you don't get an error there.
If all you want to do is to run the app in a simulator, then in the toolbar change the selection from "iOS Device" to a desired simulator. To be able to sign the app you need to make sure that you have correct provisioning profile and certificate installed and check your codesign build settings.
I had a similar issue and this link on their support site helped me: https://devnet.jetbrains.com/message/5509981#5509981
The crux is that on Xcode I was building for a simulator and in AppCode it was building for an actual device (which requires signing)
I had slightly different problem, and were using real device in both Xcode and AppCode.
I've changed team in one of my projects, and while Xcode were working completely fine, AppCode gave me error: No signing certificates found
The only thing that worked for me is changing Code Signing Identity from Apple Development to iOS Developer in Build Settings in Xcode:

Resources