In xcode organizer it shows my profile is valid, however corona build for ios shows [certificate not installed]
I have tried remove all older provisioning files, create new ones.
Any ideas? Many thanks in advance.
In xcode organizer it shows my profile is valid, however corona build for ios shows [certificate not installed]
I have tried remove all older provisioning files, create new ones.
Any ideas? Many thanks in advance.
Hello @ysy_0311,
Apple made a breaking change in the past few days, so we had to release an update to Corona to fix the certificate issue. You will need to download the latest build (#2393a) and then re-install your certificates. This should fix the problem.
https://developer.coronalabs.com/downloads/corona-sdk
Thanks,
Brent
thank you so much Brent!
Hey Brent,
I have installed the latest build, the previous problem was solved. However when I try to install the develop app on Iphone through Itunes, the app stops installing and turns grey. When I was trying to install the app using xcode it shows no code signature was found.
I have tried to reinstall the certificate and provisioning files. However, the app still won’t install.
Any ideas? Thanks in advance.
Are you trying to install it via iTunes or the Xcode Organizer? What type of certificate did you use to build it? Development, Distribution, Ad-Hoc?
Hi Brent,
I tried via iTunes first, and the app would stop installing after sync and turn dark. Then I tried via Xcode Organizer and it gives me the error message. I used development certificate…Similar things happened before and i fixed it by switching from distribution certificate to development, but it did not work this time.
There are two warnings in the Console in Xcode Organizer
LaunchServices: please include the kCFBundleIdentifierKey in the options dictionary when installing an app
LaunchServices:installing app for existing placeholder(nll)
thank you
Have you cleared all previous certificates/keys from your Keychain, upgraded to the latest Xcode, re-created the certs and prov. profiles, restarted Corona, and tried again? This kind of “nuke” is never pleasant, but sometimes it’s the only thing that works.
Brent
Hi Brent,
I tried again today after download latest Xcode, reinstall Corona.
I have created new Cert. and Prov. profiles.
I deleted the older Cert. within the keychain access, and removed prov. profiles from Mobile Device folder in mac.
However, this is the error codes Xcode shows. Still, no code signature found.
Aug 17 03:44:19 shiyis-iPhone mobile_installation_proxy[103] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
Aug 17 03:44:19 shiyis-iPhone mobile_installation_proxy[103] <Warning>: LaunchServices: installing app for existing placeholder (null)
Aug 17 03:44:19 shiyis-iPhone installd[63] <Notice>: 0x315000 handle_install_for_ls: Install of “/var/mobile/Media/PublicStaging/123.app” requested by mobile_installation_proxy
Aug 17 03:44:19 shiyis-iPhone installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Installing app www.hotmail.ysy.HFCUC
Aug 17 03:44:19 shiyis-iPhone installd[63] <Error>: 0x315000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.vyfyl2/123.app/123: 0xe800801c
Aug 17 03:44:19 shiyis-iPhone installd[63] <Error>: 0x315000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.vyfyl2/123.app
Aug 17 03:44:19 shiyis-iPhone mobile_installation_proxy[103] <Error>: 0x241000 MobileInstallationInstallForLaunchServices: failed with -1
Aug 17 03:44:19 shiyis-iPhone mobile_installation_proxy[103] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Aug 17 03:44:19 shiyis-iPhone mobile_installation_proxy[103] <Error>: 0x241000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 “The operation couldn’t be completed. (LaunchServicesError error 0.)” UserInfo=0x15e780e0 {Error=ApplicationVerificationFailed, ErrorDetail=-402620388}
Aug 17 03:44:19 shiyis-iPhone installd[63] <Error>: 0x315000 install_application: Could not preflight application install
Aug 17 03:44:20 shiyis-iPhone installd[63] <Error>: 0x315000 handle_install_for_ls: API failed
Hi @ysy_0311,
Another thing to try:
Go into Xcode > Preferences.
Select the Accounts tab and select yours in the left pane.
In the right pane, click View Details…
Make sure everything looks valid in that window, then in the lower left, click the tiny little “refresh” button.
Restart Xcode and Corona Simulator, and see if anything has changed.
Brent
Hi Brent,
Thank you for you reply.
I went through your steps. When I clicked on the refresh button, Xcode shows Certificate Not Found message, and ask me if I want to request a certificate signing request. I clicked on request and 3 IOS team Prov. profiles were added to xcode.
So I cleared all the prov. profiles and the certificates again, repeated the above steps, and created new prov. profiles and certificates.
However, still the problem exists.
Aug 17 21:44:12 shiyis-iPhone mobile_installation_proxy[103] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
Aug 17 21:44:12 shiyis-iPhone mobile_installation_proxy[103] <Warning>: LaunchServices: installing app for existing placeholder (null)
Aug 17 21:44:12 shiyis-iPhone installd[63] <Notice>: 0x315000 handle_install_for_ls: Install of “/var/mobile/Media/PublicStaging/123.app” requested by mobile_installation_proxy
Aug 17 21:44:12 shiyis-iPhone installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Installing app myApp
Aug 17 21:44:12 shiyis-iPhone installd[63] <Error>: 0x315000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.TeHqCC/123.app/123: 0xe800801c
Aug 17 21:44:12 shiyis-iPhone installd[63] <Error>: 0x315000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.TeHqCC/123.app
Aug 17 21:44:12 shiyis-iPhone mobile_installation_proxy[103] <Error>: 0x241000 MobileInstallationInstallForLaunchServices: failed with -1
Aug 17 21:44:12 shiyis-iPhone mobile_installation_proxy[103] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Aug 17 21:44:12 shiyis-iPhone installd[63] <Error>: 0x315000 install_application: Could not preflight application install
Aug 17 21:44:12 shiyis-iPhone mobile_installation_proxy[103] <Error>: 0x241000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 “The operation couldn’t be completed. (LaunchServicesError error 0.)” UserInfo=0x15e7b000 {Error=ApplicationVerificationFailed, ErrorDetail=-402620388}
Aug 17 21:44:12 shiyis-iPhone installd[63] <Error>: 0x315000 handle_install_for_ls: API failed
Please Help T.T
Can you post your build.settings and a screen shot of your Corona SDK build screen?
Thanks
Rob
Hi Rob,
I didn’t figure out how to attach a photo.
But here is my build.setting and terminal results.
2014-08-19 19:59:38.721 Corona Simulator[751:507] en
2014-08-19 20:02:38.597 Corona Simulator[751:507]
Copyright © 2009-2014 C o r o n a L a b s I n c .
2014-08-19 20:02:38.597 Corona Simulator[751:507] Version: 3.0.0
2014-08-19 20:02:38.597 Corona Simulator[751:507] Build: 2014.2393
2014-08-19 20:02:38.607 Corona Simulator[751:507] Platform: iPhone / x86_64 / 10.9 / NVIDIA GeForce GT 650M OpenGL Engine / 2.1 NVIDIA-8.26.26 310.40.45f01 / 2014.2393
2014-08-19 20:02:38.876 Corona Simulator[751:507] The file sandbox for this project is located at the following folder:
(/Users/yingshiyi/Library/Application Support/Corona Simulator/123-AC2255FBB2384F0C28D0CDEB3586FB3A)
2014-08-19 20:02:38.963 Corona Simulator[751:507] WARNING: The ‘ads’ provider (admob) is not available on the simulator
2014-08-19 20:02:38.963 Corona Simulator[751:507] WARNING: The ‘ads’ library is not available on this platform.
2014-08-19 20:02:40.354 Corona Simulator[751:507]
Copyright © 2009-2014 C o r o n a L a b s I n c .
2014-08-19 20:02:40.354 Corona Simulator[751:507] Version: 3.0.0
2014-08-19 20:02:40.354 Corona Simulator[751:507] Build: 2014.2393
2014-08-19 20:02:40.361 Corona Simulator[751:507] Platform: iPhone / x86_64 / 10.9 / NVIDIA GeForce GT 650M OpenGL Engine / 2.1 NVIDIA-8.26.26 310.40.45f01 / 2014.2393
2014-08-19 20:02:40.394 Corona Simulator[751:507] The file sandbox for this project is located at the following folder:
(/Users/yingshiyi/Library/Application Support/Corona Simulator/123-AC2255FBB2384F0C28D0CDEB3586FB3A)
2014-08-19 20:02:40.396 Corona Simulator[751:507] WARNING: The ‘ads’ provider (admob) is not available on the simulator
2014-08-19 20:02:40.396 Corona Simulator[751:507] WARNING: The ‘ads’ library is not available on this platform.
Using additional build settings from: /Users/yingshiyi/Documents/My codes corona/123/build.settings
WARNING: Your SDK may be out of date b/c the following SDK directory could not be found: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
WARNING: Your SDK may be out of date b/c the following SDK directory could not be found: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
Created XCENT: /var/folders/y3/jl_x7vp53cl938r5jbhywy600000gn/T/1408492991/entitlements.xcent
Creating Info.plist…
adding extra plist setting UIApplicationExitsOnSuspend: false
adding extra plist setting CFBundleDisplayName: HFCUC
adding extra plist setting UIPrerenderedIcon: true
adding extra plist setting UIStatusBarHidden: true
adding extra plist setting CFBundleIconFiles: [“Icon.png”,“Icon@2x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-72.png”,“Icon-72@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”]
adding extra plist setting CFBundleIconFile: Icon.png
adding extra plist setting MinimumOSVersion: 6.0
adding extra plist setting CFBundleName: HFCUC
adding extra plist setting CFBundleIdentifier: HFCUC
Copying /Users/yingshiyi/Documents/My codes corona/123/Default-568h@2x.png to /Users/yingshiyi/Desktop/123.app/Default-568h@2x.png
Copying /Users/yingshiyi/Documents/My codes corona/123/highscores.txt to /Users/yingshiyi/Desktop/123.app/highscores.txt
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-60.png to /Users/yingshiyi/Desktop/123.app/Icon-60.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-60@2x.png to /Users/yingshiyi/Desktop/123.app/Icon-60@2x.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-72.png to /Users/yingshiyi/Desktop/123.app/Icon-72.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-72@2x.png to /Users/yingshiyi/Desktop/123.app/Icon-72@2x.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-76.png to /Users/yingshiyi/Desktop/123.app/Icon-76.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-76@2x.png to /Users/yingshiyi/Desktop/123.app/Icon-76@2x.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-hdpi.png to /Users/yingshiyi/Desktop/123.app/Icon-hdpi.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-ldpi.png to /Users/yingshiyi/Desktop/123.app/Icon-ldpi.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-mdpi.png to /Users/yingshiyi/Desktop/123.app/Icon-mdpi.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-Small-40.png to /Users/yingshiyi/Desktop/123.app/Icon-Small-40.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-Small-40@2x.png to /Users/yingshiyi/Desktop/123.app/Icon-Small-40@2x.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-Small-50.png to /Users/yingshiyi/Desktop/123.app/Icon-Small-50.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-Small-50@2x.png to /Users/yingshiyi/Desktop/123.app/Icon-Small-50@2x.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-Small.png to /Users/yingshiyi/Desktop/123.app/Icon-Small.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-Small@2x.png to /Users/yingshiyi/Desktop/123.app/Icon-Small@2x.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-xhdpi.png to /Users/yingshiyi/Desktop/123.app/Icon-xhdpi.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon-xxhdpi.png to /Users/yingshiyi/Desktop/123.app/Icon-xxhdpi.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon.png to /Users/yingshiyi/Desktop/123.app/Icon.png
Copying /Users/yingshiyi/Documents/My codes corona/123/Icon@2x.png to /Users/yingshiyi/Desktop/123.app/Icon@2x.png
Signing application with ‘iPhone Developer: shiyi ying (VBZBW49XE4)’…
iPhone Developer: shiyi ying (VBZBW49XE4): ambiguous (matches “iPhone Developer: shiyi ying (VBZBW49XE4)” and “iPhone Developer: shiyi ying (VBZBW49XE4)” in /Users/yingshiyi/Library/Keychains/login.keychain)
– Supported values for orientation:CFBundleExecutable
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight
settings = {
plugins =
{
[“CoronaProvider.ads.admob”] =
{
publisherId = “com.coronalabs”
},
},
orientation = {
default = “portrait”,
supported = { “portrait”, }
},
iphone =
{
plist =
{
UIPrerenderedIcon = true,
UIStatusBarHidden = true,
CFBundleDisplayName = “HFCUC”,
CFBundleName = “HFCUC”,
UIApplicationExitsOnSuspend = false,
CFBundleIdentifier = “HFCUC”,
CFBundleIconFile = “Icon.png”,
MinimumOSVersion = “6.0”,
CFBundleIconFiles =
{
“Icon.png”,
“Icon@2x.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
“Icon-72.png”,
“Icon-72@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
},
},
},
– Android permissions
androidPermissions = {
“android.permission.INTERNET”,
“android.permission.ACCESS_NETWORK_STATE”,
},
}
Upload it to some photo sharing service or your website and use the little icons above that looks like a poloroid photo
Also what happens when you remove these lines:
CFBundleDisplayName = “HFCUC”,
CFBundleName = “HFCUC”,
CFBundleIdentifier = “HFCUC”,
Rob
Brent:
These steps absolutely need to get folded into the docs somewhere. Today I struggled with getting Corona to see updated and freshly installed provisioning profiles (which I had manually downloaded and installed from the Apple website) until I followed these exact steps. Awesome info. Thanks.
Terry
Good idea Terry, I’ll add this to the iOS build guide soon.
Brent
Hi Rob
Hope these links works.
Hi Rob
I have to same results when I build without these lines.
This last line seems to be a problem:
iPhone Developer: shiyi ying (VBZBW49XE4): ambiguous (matches “iPhone Developer: shiyi ying (VBZBW49XE4)” and “iPhone Developer: shiyi ying (VBZBW49XE4)” in /Users/yingshiyi/Library/Keychains/login.keychain)
You may need to clean out your keychain. There may be duplicate entries in there causing your problems.
Rob
Hi Brent,
I also have this problem (Certificated not installed), and i’ve re-installed certificates and profiles several times, and everything seems to be ok but still “certificated not installed” in the build screen.
I could try to update Corona to #2393a but before it i wanted to build some apps which are in previous version (1202) and i built them for android and published at google play. It would be a lot of code changing to update them to 2393.
My question is, is there any other way solve this issue? maybe with a lower version of Xcode?
Thanks in advance.