provisioning profile does not appear in project.pbxproj - provisioning-profile

I downloaded the sample code of LocateMe program from the developer site of Apple ( http://developer.apple.com/library/ios/#samplecode/LocateMe/Introduction/Intro.html ). After configuring properties, I tried to build and got the code sign error.
The answer accessed through the following link have been solving this problem for another source codes I downloaded since now. Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile
This time I couldn't find "PROVISIONING_PROFILE" to change its value.
I would appreciate any help very much.

Related

The package "apppxbundle" is taking a long time to process. Unable to push update to windows store [UWP] [ Xamarin.Forms]

I've been at this for past 2 days and I'm getting weird errors from the store.
I'm trying to upload an update to my application "CoManga" via the store and it's not working out.
I'm working on Xamarin.Forms (UWP) and before making the appxbundle, I made sure and "associated my app with CoManga" from my developer account. All the information over there matches and should work fine without any issues.
Then I made a release of my UWP app, got the bundle and I tried to upload it to UWP.
It said that the Publisher info is different, so it couldn't upload. This is weird because I tried signing the bundle with my developer account itself.
Now, I tried building and signing the app bundle from app center. I got the appxbundle and that I tried to upload. But, since today it's giving me weird error :
The package comic_dl.UWP_2.1.15.0_ARM_x86_x64.appxbundle is taking a
long time to process. If this isn’t completed soon, try refreshing the
page, or remove the package and then upload it again. If you continue
to see this issue, contact support.
This package I tried to build from my system manually : https://drive.google.com/open?id=1VVvF6IB70R2DKNUgBJcqw-HryL1LIwgo
This is what I got from App center : https://drive.google.com/open?id=1o0sGKU2AKVgrcTelIoRFz7QCe8Do0WJ3
This is the Store ID : 9N81F8B5WW93
Can someone guide me what I might be doing wrong/missing something.
Thanks
EDIT Update : So, I followed the suggestion and contacted Microsoft's Team for help on this issue. After 3 months of multiple contacts, I was able to get someone to reply back and follow the case. Even they tried things on their end and I tried by deleting all the certificate files I had in my current project and tried to manually build the manifest file and then it worked. I'm not entirely sure what worked out in the end. But, you can try these things if you run into this issue.
1.) Clean your project.
2.) Delete .vs directory.
3.) Look for any certificate files in your project. Back them up somewhere else and then delete them from the project (Don't exclude from project, just delete them entirely). Clean and rebuild your solution.
4.) Check if the application is already installed on your system (When you debug, VS will install your UWP app on your machine to run it). If it's installed, uninstall it completely.
5.) Make a backup of your manifest file and try to create a new manifest file.
These are the links I received from Microsoft Help:
PFN and package publisher name must match values here: https://partner.microsoft.com/en-us/dashboard/products/{YourAppID}/identity
Update manually: https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/how-to-create-a-package-manifest-manually
Update in VS: https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/generate-package-manifest
If these values were pulled from test certificate, partner needs to update their test cert: https://learn.microsoft.com/en-us/windows/msix/package/create-certificate-package-signing
I think this problem is not caused by anything code related, but rather it is a problem on the Store side. I would suggest contacting the Store support, they should be able to investigate if there is something wrong with your app package or the problem is on their side.
For support go to the official website, click the Contact Us tab and fill out the form accordingly.
The team should be able to advise even for the first error with different publisher info. If your app was always associated with the same account, there is no reason it should give you such an error message.
I had this issue gazillion of times. It is so frustrating. That error message isn't useful at all.
Anyway - I think it is something in Package.appxmanifest, something in Identity tag.
Retrieving some necessary info from store helped me.
Click right on your project -> Publish -> Associate App with the Store. This will update Package Display Name,Package Name,Publisher ID,Publisher Display Name and Version with correct values (within Package.appxmanifes).
Also be careful with version number. The last from numbers must be zero. 1.1.1.0 is fine, while 1.1.1.1 is not.

Microsoft FACE API for android- Error in Sample app

I am using the Cognitive-Face-Android sample app found in github (https://github.com/Microsoft/Cognitive-Face-Android).
My subscription key is working after getting help from #huxuan. However, when I try to run in the android emulator to do a "Detection" or "Add a group" in the Identification, both get an error.
The picture is in jpeg format and size is 54KB which complies with the limits specified in the FACE API documentation.
Can anyone tell me what is the fix to this?
I just downloaded the sample app and run it on an emulator, and used a JPG image downloaded from the web, and stored both in the Downloads folder and the SD card, and it works alright.
Regarding the issue you mentioned in the GitHub thread about Access denied. Invalid subsription key, make sure that on file
app\src\main\java\com\microsoft\projectoxford\face\samples\helper\SampleApp.java
you change this line
sFaceServiceClient = new FaceServiceRestClient(getString(R.string.subscription_key));
to this:
sFaceServiceClient = new FaceServiceRestClient("https://eastus2.api.cognitive.microsoft.com/face/v1.0",getString(R.string.subscription_key));
(or whatever region your API key is valid for).

How and where to insert Google Translate API key in OmegaT 3.1.3 (Mac OSX 10.9)?

I use OmegaT 3.1.3, on Mac OSX 10.9
I activated my billing info, Google Translate service, and created a new key.
I inserted my API Key in the file Info.plist, file located under Applications/OmegaT.app right click Show package contents /Contents/
I added before the followings lines:
<key>apple.awt.graphics.UseQuartz</key>
<string>true</string>
<key>google.api.key</key>
<string>**my api key**</string>
I reloaded OmegaT but it keeps showing this message:
Google Api key not available. See OmegaT manual for instructions.
<Google Translate v2>
Unfortunately arguments in Info.plist are not respected anymore with the way that OmegaT is bundled on OS X. You have to set your key in the actual launch script: OmegaT.app/Contents/MacOS/OmegaT.sh
Uncomment this line and replace the key value with that of your key:
#GOOGLE_API_KEY="-Dgoogle.api.key=0123456789A0123456789B0123456789C0123456789D"
After MANY HOURS of poring over old OmegaT versions and instructions of how to insert the Google API key I found that the simple insertion in the Info list worked finally!
I switched to Sierra and things got awry right away after years of working smoothly with the original OT. Probably an update somewhere messed it up.
Make sure you are running the correct Java for your system.
Follow the precise instructions of the utube video that says to insert in the info list and not in the OT.sh file (which I could not find anywhere). Do not follow the code that OT tells you cause it does not work...I tried and tried cutting and pasting it to no avail.
CATguruEn gives a very clear way of how and where:
link below
watch his video and then insert this:
<key>google.api.key</key>
<string>XXXXXXXXXXXX</string>
where XXXXXX is your API Key (assuming you've set it all up, activated and paid for it)
HOPE THIS HELPS SOMEBODY AND YOU DONT HAVE TO WASTE TONS OF TIME LIKE I DID...

How to solve? "An unexpected error occurred. Please try again."?

I go to organizer. I press
Devices
Then I go to editor and Refresh from developer portal.
I got this error:
An unexpected error occurred. Please try again. If the problem persists, please contact Apple Developer Program Support.
So I deleted all certificate or anything xcode related from my keychain. I deleted all certificate from apple developer center. Same problem.
Then I do it again.
First xcode says that there is no certificate. Want to make one. Sure.
Certificate is indeed created.
Then I got that message An unexpected error occurred. Please try again. If the problem persists, please contact Apple Developer Program Support.
It seems that I need to have some code signing identity. But how to make that and where is it? It's not available in itunes connect or apple developer program support.
I thought my certificate is my identity.
There is a similar question already. It says to delete both in Apple developer center and in xcode. I did that. It doesn't work.
Sometimes I got a message whether I want to sign with Looks like some key is wrong. But what?
When I tried to run a program I got:
(null): Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
When I go to organizer and submit my application to create that distribution certificate I got No identities available for signing.
So I download identities. Then I got an error occurred while attempting to download. Please try again.
There is also an option saying
Import developer profile. I guess I have to recreate this so called developer profile. What is it? And how?
According to this, after I create my first certificate I will be asked if I want to create a developer profile.
That never happens. I just got "An unexpected error occured" again.
Using xcode 5, I solved this by refreshing my provisioning profiles in preferences - accounts.
Hope this works for you.

Packaging Operation Failed in Xcode 4

When I use Xcode 4 to create an app IPA fie, I go to Product --> Archive to get an Xcode Archive. I recently read the SO post here detailing on how to distribute an app in the AppStore. I followed the instructions in this post and my errors still persist.
First, I begin with validation. When I click Validate I login, elect the correct code signing ID and then get the following error:
I get the same error message when I attempt to distribute to the AppStore.
Any ideas as to why I cannot share and/or distribute my app?
EDIT
Previously, I was having trouble validating and distributing and as a result I would receive this error:
I fixed this problem by finishing my CCATs / Encryption Registration in iTunes Connect.
I got the same error and found this solution (Xcode 4.4).
In Build Settings/Code Signing I had "Don't Code Sign" in my first Archive attempt.
I then put a valid Distribution Certificate (in the Release identity) and, after Archiving, validation of package went flawless.
Thanks to Apple that at every release does something (undocumented) different from the previous version.
Cheers.
Couple months late, but in case someone else encounters this problem and finds this question (as I did) and none of the other suggestions work for you. After reading the other answers, there seem to be multiple causes for this error.
In my case, it was because my project's scheme had its Archive build configuration set to Release, instead of Distribution. After changing this to Distribution, I was able to submit the app without issues.
Hope this helps someone else.
I had similar situation and standard solutions like removing files with prefix _. and certificate experimenting did not lead into success.
Build distribution of English version worked, but localised to Croatian did not. So I used heavy weapon. I installed Croatian keyboard layout. And guess what? Since that moment all worked out!
So maybe there was something else in the place, but I would suggest you at least to check if this matches your situation.
Possible error with your certificate/provisioning profiles. Here is a short summary of my certificate quest with Xcode 4.3:
Make certain (in developer.apple.com) that you have created a distribution certificate
Make certain your application id in Xcode matches perfectly the one in developer.apple.com
Create your app in itunesconnect.apple.com
Load the distribution certificate in your keyChain create a distribution provisioning profile for your app (make certain you add all devices when creating the provisioning profile)
Drag the provisioning profile in Xcode organizer, LIBRARY section, Provisioning Profiles.
Make your archive.
In Xcode organizer, validate your app, then distribute it for ad-hoc.
Eventually (if you are patient) Xcode will offer to save the IPA somewhere. Save it, place the IPA in a place where your testers can download it.
After download, the tester can drag the IPA in iTunes (LIBRARY), and eventually sync up the device (if and only if their device UDID was checked when you created/modified the provisioning profile).
more or less. Best of luck.
ps. there is a free app in AppStore , Get UDID. Ask your testers to use that and email you the devices specifics, will save you tons of frustrations with the 40'ish characters long device ID.
It happnes to me when I've try distribute app from Xcode DEVELOPER PREVIEW.
From actual version of XCode - everything works fine.
I was also seeing this inexplicable error, and tried all of the suggestions here with no success. I finally went and deleted my local certificates and provisioning profiles and downloaded them again from Apple's provisioning website. After making sure the code signing options were set correctly in my build settings, I cleaned the project and archived again and this time the error disappeared when I ran the validation step.
Check if the code signing entries are correct (containing the distribution profile) for both the project and the target. It is possible to archive the project even if only the project settings are correct.
To me the answer came after trying to validate my app after unsuccessfully submitting it to the MacAppStore. I thought that by validating it, I should get a more detailed error message, instead ot this "Packaging operation error". And here it comes:
And that was because I had to revoke my certificates (as for why I had to revoke them, don't ask, I don't know, it happens in one every 2 submissions...). And I had recreated only the Mac Submission certificate. Actually, you also need the Installer one. It waqs late, I thought do I really need this?... Hence I finally made twice the little dance in Keychain.app -> Request Certificate from a Certificate Authority... etc, uploading to itunesconnect, and downloading them back. After that, it worked.

Resources