I tried to run this Windows 8 app sample code for youtube
linked from this article
but it doesn't work because of youtube_TemporaryKey.pfx which is not correct: what I should do to get the correct one?
I didn't face any problem of youtube_TemporaryKey.pfx, working fine for me. Though you can create test certificate of you own.
Open Package.appxmanifest file.
Go to "Packaging" tab.
Click on "Choose Certificate" button.
You will see a combo box, select "Create test certificate".
Fill the form and new .PFX file will be added to project.
Related
I have created a new project in XCode and now I want to sign in with development mode.It asks me to login with developer account. But I don't have account, I have provisioning profiles and certificates. I have tried many ways but they din't work. I tried to off auto signing but i don't get it also.
Please check this screenshot.
How did you create provisioning profile and certificates if you don't have a developer account?
A developer account is needed, since the profiles and certificates would be "linked" to that specific account.
Unfortunately, Xcode 8 doesn't allow you to easily switch to manual code signing for new projects (which default to automatic code signing, and that requires an Apple ID for a valid developer account). If you want to switch the project to allow manual code signing (so you can use the code signing identity provided by your client), you must make some manual changes to your .cxodeproj file.
First, make sure you have closed the Xcode project. Then, find your xcode project (.xcodeproj) in Finder and right click on the icon, then select "Show Package Contents". Inside the Finder window, find the "project.pbxproj" file. Right click on that file and open the file in your text editor of choice (you can open this in Xcode). Find all occurences where you find the text "ProvisioningStyle = Automatic;" and replace it with "ProvisioningStyle = Manual;". Save the pbxproj file and then re-open the .xcodeproj in Xcode. You should now see options for specifying the code signing identity in your project settings.
You can find some more details about this, including ways to script this in this answer.
I've been researching this for a few days now and haven't been able to find a solution.
Backstory: I'm picking up a project that a previous worker left behind. I'm using a different Macbook to work on the project than was originally used, and I think that's an important part to my problem.
Problem: I've gotten the emulator to compile the program just fine, but when I try to install to a physical iPad, Xcode gives me a drop-down error that says
"Failed to code sign 'app-name'. No valid signing identities matching
the teamID 'id-value' were found. [Cancel] [Fix Issue] "
When I click [Fix Issue], I get this message:
"Could not generate key pair for CSR. [Cancel] [Done]".
When I Go to Xcode->Preferences->Accounts->ID->Signing Identities->iOS Development->Create, I get the same error: "Could not generate key pair for CSR. [OK]"
I found this StackOVerflow response, and copied and ran their script and found two errors in my .proj file. I hoped it would fix the problem but it did not.
Go to XCode->Preferences->Accounts
In the left bottom click on plus button and then "Add Apple ID", add your developer account credentials and click Sign In. Xcode will show all your teams, double click with which one you want to debug. In opened popup look at into Signing Identities tab->IOS Development, click create button under Action tab. Xcode will create new certificate for your mac. Add this team as a team for your project, then in your project's build settings set "Automatic" for Provisioning profile->Debug and "IOS Developer" for Code Signing Identity->Debug and you should be able to run app on device.
I have followed all of the instructions for configuring Push Notifications as described in: https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringPushNotifications/ConfiguringPushNotifications.html
When I come to the final section: Installing a Client SSL Signing Identity on the Server, the IOS Push Services certificate only appears in Certificates and not in "My Certificates".
I have tried copy/paste and import/export into "My Certificates" and cannot get it to appear there in order to export a .p12 file.
Everything looks fine in xcode and in my developer account so I am quite stumped... any help would be much appreciated!
This is probably because the certificate is getting added to System Keychain. Instead of double clicking and adding it, drag and drop it under 'Login' . You will be able to export it after that
I got this issue when I came back to use a Push Certificate (to create a .p12) that I had created a good while back and it would not show up.
I came to realise that -
I did not have the matching private key on my system that was originally used to create it. You can tell this as the arrow next to the certificate in keychain was not showing as it could not match it up with the required private key.
Recreating the certificate from scratch resolved this.
I fixed same issue by just dragging .cer file into keychain window when it showed list of my certificates. When I double clicked this file then keychain imported certificate into system certificates.
So you'll need to remove certificate from system, select "my certificates" in sidebar and drag .cer file into list of certificates
Since these answers didn't fully resolve the issue for me I'll add my experience to this discussion as well. In my case, the Intermediate Certificate had somehow been removed from my system.
To resolve this, open your Apple Developer Console and under All Certificates choose to create a new certificate. At the bottom of the next screen you will see the download link for the Intermediate Certificate. Once I installed that, I dragged the .cer files into Keychain and the new certificates appeared correctly under My Certificates. From there I was able to export password protected .p12 files.
I was able to resolve this by revoking my current license and generating a new one (there were some issues with the Apple developer site in Chrome so switched to Safari... not sure if that helped or not). Still not sure what caused the problem to begin with...
I'm about to get my first certificate as an Apple iOS developer. I go ahead and follow instructions, go to keychain, create the CSR, and upload it to the website. When I press "Upload" and select the CSR from the desktop, the generate button doesn't even turn clickable! It doesn't turn clickable even though I press "Upload" and select my CSR file many many times.
What did I do wrong? I followed the instructions to the letter, and my internet connection is great?
Any ideas on what might be happening to me?
Does anyone know, where is that button? I'm using latest xcode 4.2.
Here is my sharing dialog:
Just select the ipa option when you click on next it will ask you for the ipa file name. You'll find a check box there "Save for enterprise distribution" just select it and you are good to go. See below screenshot.
You want the ".ipa" option (which you have already selected, so that's good). Then you want to pick your Enterprise Distribution .mobileprovision from the Identity popup. (You also need to make sure you used that .mobileprovision in the project's Code Signing build settings.)
Once you've saved the .ipa you need to distribute it and the .mobileprovision to your enterprise users. You could email it, or put it in a shared folder and then they can take those files and drop them into iTunes, then sync their devices. Much nicer is distributing over the air using an HTTP server. Instructions here: http://jeffreysambells.com/posts/2010/06/22/ios-wireless-app-distribution/