I have an ios app that I transferred from my Apple developer account to my client’s account (of which I am a team member).
Using the client’s expo account I am trying to build the latest release of the app. Using “expo fetch:ios:certs”, I retrieved the .p8, .p12, .mobileprovision, and .key files along with the related passwords.
However, when running “expo build:ios --clear-credentials” and choosing to provide my own certificates, I ran into an issue where the .mobileprovision file was linked to the wrong developer account.
So I created a certificate and profile on the client’s Apple developer account and ensured that the provisioning profile had certificate attached. I then downloaded it and ran “expo build:ios --clear-credentials” again. I used the same .p8 and .p12 files that the app originally used but uploaded the new .mobileprovision file.
The build still fails with error: “validateProvisioningProfile: provisioning profile is not associated with uploaded distribution certificate”
Any insight would be greatly appreciated.
Related
I uploaded this ipa file on the website https://www.diawi.com/
I tried to install on the phone but it respond "Ongame could not be installed at this time."
I tried to sign again but still failed.
Please guide me to edit this ipa file so I can install it on my iphone.
Link file: http://ongame.tk/file/Ongame240.ipa
image http://ongame.tk/file/err.jpg
I have used this website https://www.diawi.com/ to share ipa file.
To share your app ipa file via this website you have to follow these steps:
First add devices(iPhone where you will try to install your app) UDID to your Apple developer account.
Then add these devices into your app Development Provisioning Profiles.
Now generate and download these profiles.
Use these profiles to create Development ipa file.
Upload this ipa to https://www.diawi.com/ and share the genearted link with those people whose device UDID you have added in Provisioning profile.
Note: Person who is trying to install may have to trust your provisioning profile in his/her device.
You can also checkout Diawi knowledge base Can't install an app on a device? Things to check
I hope this will solve your problem.
You are not allowed to make any changes with the ipa file, you have to rebuild and create a separate ipa with the updated provisioning profile.
I have hired an iphone developer overseas to develop and iphone app for me. The dev sent me the IPA. I tried installing it using iFunBox and even using IPA installer and it keeps failing. I even tried iTunes and it kept failing. I tried it on both jailbroken and none-jailbroken devices
The developer is telling me that he can see it on it has to go on the developer account and he is requesting the dev account credential
My questions are:
1- Why do you think the IPA is not getting installed properly (I was able to install different apps IPA so I know my installers work!).
2- Is giving the dev account credential the norm? I come from android development and for us, you give a signed APK with the user keystore and your are done!
Please assist
Thank you
Simply do the steps :
create a (.csr) certification signing request file from ur mac (keychain access) and create developer's certificate from member's portal apple.
2.add your device uuid .
3.Create Provisioning Profile adding that device .
4.download that provisioning profile and send the cert and provisioning to the dev , and tell him to double tap both .
[OR]
-- Use teamViewer and sign in to ur developer's XCODE with ur app id ...
-- Go to Xcode preferences and select account and refresh .
-- select the provisioning profile and cert from build settings and build the project with that provisionings ..
Use that ipa to install and it wont deny ..
make comment if you're having problem ...
A third-party-company has sent us an xcarchive file so that we can export their application as an IPA for our client. They've done this because we control our client's provisioning profiles and certificates. They don't have our certificates and keys and so cannot build a distribution version of the app.
I opened the xcarchive in Organizer and attempted to export an ad-hoc IPA using the client's Enterprise distribution provisioning profile. However, when I attempt to install the app on my iPad, the installation fails.
I've verified that I'm using the correct provisioning profile, and I checked to make sure that I have the correct certificate for the profile as well as the private key. I've never signed an app with this provisioning profile before, but I've used the certificate and key for other profiles.
From what I understand, re-signing an archive should be possible. I'm not sure why this isn't working, though. Does the third-party company need to do anything specific when they export the xcarchive file - do they need to build with a specific certificate or provisioning profile?
Any insight on this would be helpful. Thanks!
I was able to re-sign an ipa following the instructions found at this link: http://sholtz9421.wordpress.com/2012/06/08/digitally-resigning-ipa/. However, I used Xcode to edit the plist, not emacs.
Toolkit/Forge 2.1.0. Packaging with App store provisioning profile. forge package ios --profile DISTRIBUTION
config.json contains:
"DISTRIBUTION": {
"provisioning_profile": "/Users/marty/divination/Breath_of_the_Horse_Store.mobileprovision",
"developer_certificate_path": "/Users/marty/divination/ios_distribution.cer"
}
Fails with:
ERROR ITMS-9000: "Invalid Code Signing. The executable 'Payload/device-ios.app/Forge' must be signed with the certificate that is contained in the provisioning profile." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
I notice sometimes forge retains old config.json info. We did changed to different apple account to generate new provisioning profile and certificates. Is there a forge clean?
The problem resided in switching to provisioning profile and certificate from a different Apple developer account. The new certificate was not originated on my machine and thus no key was available.
The real solution is to be setup part of the team for that apple account, but for a shorter term fix, I generated a new CSR from my machine that was used to create the certificate on the other Apple account.
I am signing a dylib in my application with an Enterprise certificate and noticed that on some devices I get the following error:
0xe8008015: A valid provisioning profile for this executable was not found.
The strange thing is on the devices where this works I never manually installed a provisioning profile. I think when I used XCode it got automated installed somehow.
Manually installing the 'Distribution in house' profile associated with the cert on these devices fixed the problem, but I'm trying to understand how to deploy my software without requiring this extra step.
What is the standard way of pushing out the enterprise provisioning profile?
Does the mentioned Enterprise certificate appear under Settings ➞ Profiles on the iOS devices that experience the problem?
Is said Enterprise certificate available as a valid (signable) certificate on the Xcode installation where you package the final .ipa?
Do you use the same certificate for signing the dylibs and the app?
The standard way of pushing an Enterprise certificate to devices is to include it when packaging/archiving an app. Xcode should do this automatically - at least for the certificate used to sign the app itself.
You can extract an .ipa (rename to .zip) and look for a file called "embedded.mobileprovision" in the .app package.