Xcode 4.3 - error: no identities were available - xcode4.3

Please, help me.
I would like to put an App in the IOS App Store but always receive this error message (Xcode4.3)
"No identities are available for signing"
Connect to IOS Center, Xcode can obtain identities from the IOS Dev Center...
What do I make wrong??

When you have your project open in Xcode there's a section called Code Signing. Click the first drop-down menu and you should see a list of identities, you should see at least one iPhone Developer and iPhone Distribution identity. If you don't an iPhone Distribution identity, or it is under the "identities without Provisioning profiles" subheading, you can resolve this in iOS Dev Center.
Go to iOS Dev Center > iOS Provisioning Portal > Provisioning > Distribution. You could have an expired profile, if so just modify and re-save it. If there is no profile then click New Profile. Then you should see the new iPhone Distribution identity in Xcode which you can now choose.

For me, it was the bundle identifiers that conflicted. Make sure the bundle identifier specified in Xcode > Targets > Info > Bundle Identifier matches the one you registers as App Id in IOS Dev Center > Provisioning Portal > App Ids. Hint can be found in Xcode > Targets > Build Settings > Code Signing, you just need to make the bundle identifiers match.

I was running into a problem where everything appeared to be fine (none of the certificates were expired), but Xcode was giving me that error message. However, once I downloaded and installed the .mobileprovision file it worked correctly. For some reason the Xcode automatic download wasn't working correctly.

i got the same error, when the scheme for archiving was set to "release" instead to "distribution".
Click "Manage Schemes" in XCode then "Edit..." to verify your settings.

I just renewed my iOS Developer membership. And this problem drove me crazy as I wanted to submit my app.
to Developer portal
iOS provisioning profiles
Select (your) Distribution Profile
Edit --> select the correct App ID
Generate and download it

Related

Xcode error when running on connected device: "he executable was signed with invalid entitlements"

Issue Description
I'm working on an app based on ReactNative 0.40, I am using Fastlane for beta deployments and I'm using Match to manage my signing profiles. Most things work as expected, however:
Issue:
When I try to run my app on a physical device directly from Xcode 8, it gives me this error:
This is what I've tried:
[x] Follow Apple's Entitlements Troubleshooting Guide
[x] made sure that the entitlements selected in XCode's "Capabilities" screen match the ones selected in the app id on the developer panel.
[x] Re-ran match. i.e. fastlane match development fastlane match adhoc fastlane match appstore
[x] Ran fastlane match decrypt and then security cms -D -i /path/to/***.mobileprovision. Although I'm not entirely sure what I'm looking for that is missing/extra/invalid.
Questions:
What should these settings be for both the project and the target?
Which signing identity should be used for running the app on a device from xcode during development?
What else can I try to troubleshoot this?
... and, finally fixed this. Just in case some other poor soul out there is spinning their wheels, here's what was broken in my case.
The App ID on the dev portal has 3 options for data protection:
However, Xcode doesn't:
The setting has to match anyway, so I hadn't noticed that the entitlements file was set to NSFileProtectionComplete as opposed to NSFileProtectionCompleteUntilFirstUserAuthentication
Making that change, along with switching to Automatic Signing (which in hindsight might have had no effect), fixed the issue. I may switch back to match-managed development profiles and see what happens.
I got this error due to trying to build with a wrong Scheme.
I used Release config by mistake instead of debug config
So double check whether correct Scheme / Build config is selected

Codesign failed on xamarin test recorder iOS (physical device)

I would like to record a test from a iOS device using the xamarin test recorder on a mac(el capitan OSX). I select the device and the .ipa (already signed by developers with an enterprise cert.) but i receive the following error: Codesigning failed. No codesigning identity capable of signing the application found.
I have on the machine a free apple developer account and i am able to deploy a blank project from xcode without any issue. Do i need a different account in order to re-sign the .ipa with test recorder or it should be also possible with the free account?
Thanks in advance.
The free provisioning profile is tied to a specific bundle identifier, the one you created in Xcode to generate the free provisioning profile. A provisioning profile with an explicit app bundle identifier can not be used with an app that has a different bundle ID, and with the free provisioning process, you can not create wildcard app ids for your provisioning profile. What you might try is going through that free provisioning procedure again but using the exact bundle id for the IPA you want to run in test recorder. See the guide on creating the free provisioning profile:
You should already have done steps 1-4, so start with step 5:
Plug in the iOS device you wish to deploy to and create a new blank single-view iOS project in Xcode.
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:
In the Signing section, select Automatically Manage Signing and select your team from the drop down list:
The previous step will automatically generate a provisioning profile for you. You can view this, by clicking on the information icon, next to provisioning profile:
To test in Xcode, deploy the blank application to your device by clicking the run button.
Return to your IDE, with the same device plugged in, and right-click on your Xamarin.iOS project name to open the Project Options dialog. Browse to the iOS Bundle Signing section and explicitly set your signing identity and provisioning profile:
And this note in Limitations section is relevant:
Provisioning Profiles created in this way will expire after one week, Signing Identities after one year. Furthermore, provisioning profiles will only be created with explicit App IDs and so you will need to follow the instructions above for every app that you wish to install.

App Validation on Xcode 6 GM release

When I try to validate my build using xcode 6 GM release I am getting this error.
Error : itunes store operation failed no eligible software found. Make sure this software is owned by your developer organization.
Can anybody here suggest some solution?
Probably you're using a different AppleID for iTunes Connect than for Developer Portal. You can use such a workaround:
Export archive in Organizer (Save for iOS App Store Deployment) and then use Application Loader (Xcode > Open Developer Tools > Application Loader) to upload it to iTunes Connect. It allows you to input credentials
Try using application loader. I had the same issue with Xcode and using the loader worked for me.
I had this same issue and it resolved by making sure it logged in with the correct account.
When the modal dialog asks to select a "Development Team to use for provisioning"
Choose "View Accounts..." make sure the correct account shows in the "Apple IDs" list.
If the Apple ID is not there, use the plus sign to add a new Apple ID account.
Close the Accounts screen.
On the "Development Team to use for provisioning" use the drop down to select the account you just added, select Choose and then Validate and it will work.
I had this problem too and as some commenters point out, the reason was the different Apple ID used on itunesconnect vs. xCode.
I was able to solve it on xCode adding my itunesconnect Apple ID on xCode preferences and making sure it is selected during validation. The right team was not enough for me, it has to be the right team on right account.
I'd recommend ensuring that the account in question has been invited as both the apple developer and iTunesConnect account. This should resolve the problem. You may have to go into Preference in Xcode and re-add the account.
That happened to me with many projects , so just try to re choose your provisioning profile and code signing identity in the build settings for your project
Try using Xcode6. Xcode6.1 GM seed's iOS SDK version is now beta 8.1. You can't submit a beta binary to iTunes Store.

Worklight 6.1 - App Center Mobile Client error

I'm currently trying to build the mobile client for IOS. There are 2 issue currently lingering:
The mobile client will be used for user to download the app from our test server. When i build, i run the Build Setting and Deploy Target script and tick the checkbox to deploy for another server. However i'm not sure the context path need to be put as what, the current default is /IBMAppCenter
When i try run the app center in the XCode simulator, the app center keep running with a loading icon. I check the log and found that it says:
ERROR: Plugin 'com.ibm.mobile.InstallerPlugin' not found, or is not a CDVPlugin.
Check your plugin mapping in config.xml
I check my native folder (ipad\native\CordovaLib) and true enough, the CDVPlugin was not in the plugin folder, but when i look into the Classes folder, the header (.h) and implementation (.m) files are there. How should i configure to make it work?
Any help is appreciated. Thanks.
About question 1:
The deploy target is irrelevant. It is only relevant for "normal" Worklight applications that are managed by a Worklight Console (so you must specify on which server your Worklight Console runs). But the Application Center client is not managed by any Worklight Console. All what you do is to build the environment, create the IPA and upload it to the Application Center server. Therefore, please only use the "Build all environments" menu item and ignore anything with deploy target!
See here: http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.appadmin.doc%2Fappcenter%2Ft_ac_proj_imp_build.html
About question 2:
The Application Center mobile client for iOS should be in the iphone environment, not in the ipad environment. The code in the iphone environment folder should work for ipad as well but you cannot generate an ipad environment for the Application Center client, as well as you cannot delete the iphone environment and regenerated it via File > New > Environment, because when you do that, the libAppCenterInstallerLib.a gets deleted. You must take the project as it was in your original installation.
Please check IBMAppCenter/apps/AppCenter/iphone/native/appCenterLib. This should contain subdirectories (for Release, Debug ...) which contain libAppCenterInstallerLib.a. The error message that you see means that it cannot find this library; probably because you deleted the iphone environment or because you attempted to create an ipad environment.

iPad (4.2.1 is overriding Base SDK to 4.3)

I am trying to run my App on the device but when i was selecting the device it showed me this message "iPad (4.2.1 is overriding Base SDK to 4.3)". Then i setted my Base SDK to 3.2 as there are only two options available (3.2 and 4.3) and also setted my deployment target to 4.2. But when i build this application it showed me error:
Code Sign error: Provisioning profile (String) can't be found
thanks in advance
Something is wrong with your installed provisioning profile. It doesn't have anything to do with your SDK settings.
Either you don't have a correct profile installed, or it's expired, or the device you're trying to use isn't associated with it.
You should read through this and make sure you've followed the steps.