Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Can't build for iOS: no valid private certificates found for profile
Started by sieler2 Jan 31 2018 12:56 PM

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

sieler2

[GLOBAL: userInfoPane.html]
sieler2
  • Enthusiast

  • 99 posts
  • Corona SDK

Hi,
 
Earlier today, I was able to build for iOS, and was able to install (but only via the command line tool)
an app onto an older iPad.
 
I added a newer iPhone and a newer iPad mini to my device list in the profile at Apple's developer site,
downloading the profiles.
 
Now I can't build for iOS at all! :)
 
The profiles let me install the last version of the app I was able to build on all three devices, so wouldn't
that mean they're valid?
 
But when I do a "build" for iOS, I'm forced to choose a provisioning profile.  My 2 choices are:
   None
   Unusable profiles (no private certificate found)
 
If I hover on "Unusable profiles", I see a list of the last seven or so profile's I've used.
 
The Corona console says a lot, below.
 
The prior time's I've had this problem, some arcane combination of restarting Corona, restarting XCode, rebooting would do the trick.  Not this time :(
 
I've even deleted Corona and reinstalled it ... and deleted and re-gen'd and re-dowloaded all of
the profiles and certificates. 
 
thanks,
 
Stan
 
Jan 31 12:52:32.850 Warning: no valid private certificates found for profile "devel photolinx adhoc (com-allegro-PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [B0375C73FAF5EBA853C793E58B3558F1B7893517]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/5b224f53-1f86-4444-85d5-f8837b33ab80.mobileprovision
Jan 31 12:52:32.853 Warning: no valid private certificates found for profile "PhotoLinx (allegro application development)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [6F617B8C94CFAB82B7311C0AD3DF5AD1C5CBAF5D]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/76deaca9-0692-4319-a416-fd2d6f12fa93.mobileprovision
Jan 31 12:52:32.853 Warning: no valid private certificates found for profile "PhotoLinx (PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [CB694E779E895743CA3A5F970AE768A622CE5E02]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/7f09ae5f-b8c9-4d98-82a2-7e0d9ab7510f.mobileprovision
                    
                    Warning: no valid private certificates found for profile "PhotoLinx (PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [CB694E779E895743CA3A5F970AE768A622CE5E02]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/9c0e90f8-737c-4277-9882-68edc8b5996b.mobileprovision
Jan 31 12:52:32.853 Warning: no valid private certificates found for profile "PhotoLinx 190110 (PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [CB694E779E895743CA3A5F970AE768A622CE5E02]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/a6727945-d4fb-4ddf-9727-7dbec7a5333f.mobileprovision
Jan 31 12:52:32.862 Warning: no valid private certificates found for profile "devel photolinx adhoc (com-allegro-PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [B0375C73FAF5EBA853C793E58B3558F1B7893517]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/ce8d34fb-7054-42b1-bd89-a859deb7a2b0.mobileprovision
Jan 31 12:52:32.862 Warning: no valid private certificates found for profile "PhotoLinx App (PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [B0375C73FAF5EBA853C793E58B3558F1B7893517]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/ed56481b-e737-4fb2-9415-2f245ca79a03.mobileprovision
                    
                    Warning: no valid private certificates found for profile "PhotoLinx (PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [CB694E779E895743CA3A5F970AE768A622CE5E02]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/f73d4adb-76f9-4158-95c7-7a360bdcb021.mobileprovision
                    
                    Warning: no valid private certificates found for profile "devel photolinx adhoc (com-allegro-PhotoLinx)"
                    Public certificate: iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P) [B0375C73FAF5EBA853C793E58B3558F1B7893517]
                    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/fa5c9ee2-7a12-44cf-8c9a-c84aa39b565a.mobileprovision
Jan 31 12:52:33.285 WARNING: the provisioning profile last used to build this project was not found (PhotoLinx (PhotoLinx) [iPhone Distribution: Allegro Consultants, Inc. (HNZ7CKQK3P)])
Jan 31 12:52:33.285 
 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,471 posts
  • Enterprise

It sounds to me like your certificate expired and need to be re-created. You will need to go into Keychain Access and delete any expired keys and certificates, then regenerate a new set of keys and certificates at the Apple Developer portal. Once you are through that process, you will need to re-edit your profiles, selecting the new certificate and then download new copies of the profiles and put them in the proper place.  It looks like you are using Xcode to manage those profiles. I personally just download them to my downloads folder and then move them to ~/Library/MobileDevice/Provisioning Profiles/

 

Exit and restart Corona after downloading new profiles.

 

Rob



[TOPIC: post.html]
#3

henrik37

[GLOBAL: userInfoPane.html]
henrik37
  • Observer

  • 10 posts
  • Corona SDK

I have the same issue

 

Made all new certificates and profiles.

 

Have the latest build of corona and Xcode.

 

Still can't choose provisioning profile when building for IOS.

 

The folder you are moving to is that under some specific application? Is it mac or PC?




[topic_controls]
[/topic_controls]