iOS Question Q: upload app to apple store

khwarizmi

Active Member
Licensed User
Longtime User
Hi all

In this articles and this one I read that in order to upload my application to Apple I have to Create a distribution certificate and provision file. How can I Create them?
previously I found that I have a distribution certificate in my keys folder. but I didn't found provision file in the Apple website.
 
D

Deleted member 103

Guest
Hi all

In this articles and this one I read that in order to upload my application to Apple I have to Create a distribution certificate and provision file. How can I Create them?
previously I found that I have a distribution certificate in my keys folder. but I didn't found provision file in the Apple website.
but you have not read this yet, right? ;)
 
Upvote 0

khwarizmi

Active Member
Licensed User
Longtime User
thanks @Filippo
I found that all the files are already exists in the key folder since the first setting.
will I create a new distribution certificate and provision file or use the old ones??
however, in this topic I carried out step 1 to 4 but when I Compile my app in Release mode I get this error:

B4i Version: 5.00
Parsing code. (0.01s)
Compiling code. (0.05s)
Compiling layouts code. (0.00s)
Building Xcode project (0.28s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Tariq Omer (65N85KYRAW)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = English
PROVISIONING_PROFILE = 026ae4ce-8bac-470e-9481-e614fbfffe1e

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Tariq Omer (65N85KYRAW)" in the keychain. To sign with this signing certificate, install its private key in your keychain. If you don't have the private key, select a different signing certificate for CODE_SIGN_IDENTITY in the build settings editor. (in target 'B4iProject')

Build system information
warning: The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'B4iProject')


Error: ** BUILD FAILED **
 
Last edited:
Upvote 0

khwarizmi

Active Member
Licensed User
Longtime User
Sorry for the inconvenience, I know you are all busy:( but I still have error even in the regular build:

B4i Version: 5.00
Parsing code. (0.01s)
Compiling code. (0.04s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (1.13s)
Building Xcode project (0.17s)
Sending data to remote compiler. Error
Error: security: SecKeychainDelete: The specified keychain could not be found.
Out: Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Tariq Omer (65N85KYRAW)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = English
PROVISIONING_PROFILE = 026ae4ce-8bac-470e-9481-e614fbfffe1e
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Tariq Omer (65N85KYRAW)" in the keychain. To sign with this signing certificate, install its private key in your keychain. If you don't have the private key, select a different signing certificate for CODE_SIGN_IDENTITY in the build settings editor. (in target 'B4iProject')
Build system information
warning: The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'B4iProject')
Error: ** BUILD FAILED **
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
error: Missing private key for signing certificate.

Delete all the ceritificate/provision on developer.apple and start again the tutorial.

if it is your first app then also better start with a clean folder for your key/certificates following the tutorial.

also check:
● the path are correct to your key's folder (b4i tools->path configuration)
● in your project b4i App update the new certificates (only important if in your folder you have more that one certifiactes/mobileprovision)
 
Upvote 0

khwarizmi

Active Member
Licensed User
Longtime User
Thanks for help @f0raster0
this is my first application to upload to apple store.
then I will delete all the certificate/provision on developer.apple and start again the tutorial.

Do I need to create a new distribution certificate and new provision file for every application or can I use the original ones?
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
Last edited:
Upvote 0
Top