Get free account role instead of user account role Xcode 8.2 - ios

I'm having a trouble getting this account role free because in some tutorials the role they have are FREE and not USER . I'm trying to test my app on my real device but I couldn't build it . So can someone please help me out.

You don't need to have "FREE", what you have is fine.
Usually to sideload (install on the device) the easiest way is to enable the "automatically manage signing" in the Project File (Project Navigator command+1), the top element.
On the left you'll find your target, there you must put a bundle identifier (usually a reverse url like com.myorganization.myapp).
Enable the automatic signing and you should be able to install on your phone.

Related

How do I run an app on a device without an Apple developer account

I've found several sites with information on how this can be done, but none that seems to apply to Xcode 10.1 or iOS 12.1. The ones I've tried don't seem to work.
I've tried this:
Create an empty swift project 'single view app'
Set the Signing Team to my Personal Team (Apple ID)
Set the active scheme to my connected (USB) iPhone 7 plus
Press the Play button
What I get is a 'Failed with exit code 1' and a horrendous log message.
My device turns up with a red frame in the active scheme dropdown list. What does that mean?
I'm running a MacBook Air with High Sierra.
Any help is appreciated.
You need to only have a free account then add it to
Xcode->Preferences->Accounts
after that select it in automatic signing process , then you'll get a trust message upon first run to fix go to
Settings->General->Device Managament -> Your profile name -> Trust
then re run
You just need to have apple developer account, which is free. If you don't have that create a using this link:- https://developer.apple.com
Go to Xcode -> Preferences -> Accounts, login with your developer account, and download profiles.
Select your project, Go to general tab, select automatically manage signing and Team as your personal team.
Run your project, After successful build. you will get an error in Xcode stating your app is not from trustworthy source.
Now in your device, Go to Settings, search for "Device Managament", select Your profile name and Trust.
Run your app again.

Unable to set Signing certificate in XCode. Executable contains an invalid signature

I want to run my cordova iOS Application on my iOS Device for testing.
Following are my build settings:
Clicking Enable Development Signing sets the Team to None.
My build is successful. On installing, XCode shows the following error:
Does it require a developer account to run the Cordova iOS build on a device for testing? The Cordova Android version is already on Play Store.
How to set a Signing Certificate without a developer account? How to fix the invalid signature error. I haven't set any signature yet.
I am completely new to iOS.
Yes, you must have a developer account to get a signing certificate. The signing certificate pairs with your provisioning profile, which also requires a developer account to create. You need both to run on a physical device. Your device must also be registered with your account and included in your provisioning profile device list to be allowed to run the app, outside of the App Store environment.
Xcode handles much of this for you automatically, if you have a developer account set up under Xcode Preferences > Accounts > Apple IDs. On the right-hand side of that screen you have a list of "Teams" along with buttons that say "Download Manual Profiles" and "Manage Certificates..." Is anything listed in there?
Your screenshot shows a Team with your name, which should mean that you have a developer account already?
You also have a button in your screenshot that says "Enable Development Signing." Have you tried running that? Does it not take care of things automatically for you? "Automatically manage signing" enabled should be helping you get through these issues with simple clicks of those buttons.
Otherwise, you will need to go to the Developer portal and register a signing certificate manually. That's a process that many have written blogs and manuals about already. I don't think it is necessary to re-write what has been said by many others already. Here's a YouTube video that does a nice job of explaining things: https://youtu.be/OwXIJchrDdA

How to generate new ipa file in xcode 8.2.1?

When I make build file that time showing one error. So please help me how to solve this error after make new build file.
I created developer certificate. I used this Automatic select mode on Xcode. I select Generic iOS Device in Build scheme. I try to many time but I show same error.
I attached My screenshot so please check it and give me response.
It appears that the bundle id com.2048light is used in another developer account. You need to change the bundle id in your project to something unique across all iOS applications and try again. A common mechanism to solve this issue is to put a company identifier in your bundle id.
For example:
com.mycompany.2048light
where you replace mycompany with your name or the name of the company you are building the app for.
This error can happen if the computer you are building on does NOT have that certificate and is trying to generate one with a different account (Auto-Provisioning).
For example, you might be using your own personal developers account with bundleID: com.2048light.
Then on your company's build machine, you might be using the company account and the same bundleID. You can't do that.
You can either do one of the following:
Use the company account to run it on your own personal device.
You create a new bundleID for the company and build using that.
You copy your personal certificates to the company computer and build with that.
I would suggest doing #1. My company adds our personal devices to their list and makes us a member so we don't have to keep changing the project settings. If you can't do that, then do option #2.

Unable to add device in Apple Developer Program

I am unable to add a new device in the Certificates, Identifiers, and Profiles section of the Apple Developer portal.
I have two developer accounts, one personal account and one account for a company. The account for the company, I am set as a 'member' for the team. This is the account that I am unable to add a new device for. (I am also not able to download the Distribution certificate, which I believe is a related issue that I need resolved too).
I have researched the other similar questions on SO, but neither of them applied to my scenario.
Here is a picture showing the + button disabled (greyed out)
From Apple documentation:
Team members can’t register devices and create development
provisioning profiles using their developer account.
Ask from someone who has Team admin or Team agent privileges to add you.
I figured it out. Team Members are unable to add a new device via the Developer Portal. However, they are allowed to add a new device to the provisioning file via XCode. I was working with Xamarin and didn't know that I needed to go back to XCode in order to add a new device to the provisioning file.
If you're working in Xamarin and experience this problem, you need to create a 'dummy app' in XCode with the same info as your Xamarin app. Then select your team and it should generate the correct provisioning file for you. After that, build and run your app on your device, then a pop up window should display telling you that the device is not in the provisioning file, then asks if you would like to add it. A simple click of 'Yes' will automatically add the device to the provisioning file which is then reflected on the Developer Account.
Hope that helps someone else! I spent many hours trying to figure this out.

Xcode add app to iPhone for testing

I have an app build with Meteor like this meteor build <path> --server <address:port>. What is the next step to add it to my iPhone for testing?
When I open the myApp.xproject file it saying in Identity section no matching provisioning profiles found I did try 'Fix issue' btn, which guided me to make an account etc. But this did not fix it. Is it possible because I haven't paid yet for for my account? I just would like to see how it would work on my iPhone for now.
Yes, you need a developer account to run on an actual device. Pay for the account and you will get development profiles and distribution profiles so you can run on your phone and submit to The App Store. Good luck!
There's a weird way that used to work. It's like a debugging mode but the most recommended way is to do it getting the developer account as Douglas said.
These are the steps:
Go to Xcode > Preferences and where says Accounts add your apple id. It will ask you for a team name, type your name for example.
Now go back to Xcode and click on the blue file at the top of the navigator with your project name. Then General.
The system will ask you about fixing an issue, do it and after a while it will finish.
Then choose a version available on your device and your iPhone in the device selection.
It worked with some of my classmates, I can't verify it 100% because I have the developer account. Hope it helps.

Resources