iOS Question Push for production

fishwolf

Well-Known Member
Licensed User
Longtime User
i already have all certificate and files for develop enviroment and my app work fine.

i work now with b4i 1.80 and my host builder

now i need compile for production.

i have create the provisioning file and aps_production file with the same csr of develop.

but i have this error and creation of KeyStore return a error.

B4X:
Check dependencies
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“IA_Push_prod”) were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.4'
 
Last edited:

fishwolf

Well-Known Member
Licensed User
Longtime User
This error is not related to the aps file.

Your certificate and provision file do not match. Delete them and create new ones. Make sure to always use the same csr file.

my first version of app hasn't the push.
i had a csr for dev and a different csr for prod (i don't remember why)

second version dev with push, has the same csr of first version of dev, and wok fine

which csr file you suggest I use for creare push production certificate? (dev or prod)
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
done
now i have this error:
B4X:
Error: security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
When and where do you get this error?

when i compile with new push certificate

B4X:
Parsing code.  0.20
Compiling code.  1.25
Compiling layouts code.  0.31
Compiling debugger engine code.  3.42
Building Xcode project  0.22
Sending data to remote compiler.  Error
Error: security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
I have recovery and set the right password.
now i can compile with success without provisioning file for push,

but if i add provisiong file for push i get the same error

B4X:
#ProvisionFile: IA_Push_Prod.mobileprovision

Check dependencies
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“IA_Push_Prod”) were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.4'

i have create again provisioning file and certificate from the csr of first version without push.
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
i think that i must re-create again certificate and provisionion file from a new csr file.
correct?

2 questions:

1) with new certificare i can update the my app that i had insert with a different certificate into the Apple store?

2) i have notice that "Private Sign Key" tool permit to create a new csr file or set only the password on IDE (i don't see update on files key)
what is the scope of first 3 fields (Name, organization, country....)?
These fiields are lost/empty when i re-enter into tool.
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
i have delete old certification and create a new centification and provisiong file for production

now the compile finish with success (debug and release), but when i install the app on device with b4i-brdge i have this message

B4X:
unable to download the app
Finish or Retry button

about, traslate from my language

i cannot install production version, right?
https://www.b4x.com/android/forum/threads/unable-to-download-app.55438/
 
Upvote 0
Top