iOS Question ios_distribution.cer is not recognized as store certificate

Alexander Stolte

Expert
Licensed User
Longtime User
Hey, I'm desperate, for half a year I compile the project now regularly with the "ios_distribution.cer" certificate to make the app available on TestFlight. Last time was the day before yesterday, since then nothing has changed, the certificate expires next year.

Now I wanted to make an update and suddenly, despite the certificate, my app is compiled normally, without it being recognized as store ipa?
B4X:
#CertificateFile:ios_distribution.cer

B4X:
B4i Version: 7.20
Parsing code.    (0.32s)
Building folders structure.    (0.09s)
Running custom action.    (0.05s)
Compiling code.    (0.38s)
Compiling layouts code.    (0.01s)
Building Xcode project.    (0.23s)
Preparing project for builder.    (0.29s)
    Project size: 0.71 MB
Sending data to remote compiler.    (14.39s)
    Application compiled with non-store provision profile.
Completed successfully.
App will run on the simulator.
This is a simulator build. Do not submit it to the App Store.
 
Solution
App will run on the simulator. This is a simulator build. Do not submit it to the App Store.
The problem was that I used my appstore mobileprovision file and compiled it with the "Build Release App" and it still thought that it was not a "store provision file".

now i tried it again, nothing changed and now it seems to work again...
B4X:
B4i Version: 7.20
Parsing code.    (0.34s)
Building folders structure.    (0.27s)
Running custom action.    (0.06s)
Compiling code.    (0.49s)
Compiling layouts code.    (0.06s)
Building Xcode project.    (0.69s)
Preparing project for builder.    (0.70s)
    Project size: 0.71 MB
Sending data to remote compiler.    (32.67s)
    Application compiled with store provision profile.
You can...

Alexander Stolte

Expert
Licensed User
Longtime User
I have already tried the following things without success:
-Clean project
-Download the certificate again
-Removed the app from the local builder and compiled it again
-Restart B4I new
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
Maybe this could help:
 
Upvote 0

roumei

Active Member
Licensed User
In my projects, ios_distribution.cer is the same for development and the App Store. The difference is in the provision file:
B4X:
#CertificateFile: ios_distribution.cer
    
' Development
'#ProvisionFile: MaxItDevelopment.mobileprovision
    
' App Store
#ProvisionFile: MaxItAppStore.mobileprovision
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
About which certificates do you talk, if
B4X:
App will run on the simulator.
This is a simulator build. Do not submit it to the App Store.
Tools - Build Server . Build release app (for iPhone) and Build Simulator app are completely different.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
App will run on the simulator. This is a simulator build. Do not submit it to the App Store.
The problem was that I used my appstore mobileprovision file and compiled it with the "Build Release App" and it still thought that it was not a "store provision file".

now i tried it again, nothing changed and now it seems to work again...
B4X:
B4i Version: 7.20
Parsing code.    (0.34s)
Building folders structure.    (0.27s)
Running custom action.    (0.06s)
Compiling code.    (0.49s)
Compiling layouts code.    (0.06s)
Building Xcode project.    (0.69s)
Preparing project for builder.    (0.70s)
    Project size: 0.71 MB
Sending data to remote compiler.    (32.67s)
    Application compiled with store provision profile.
You can download the ipa file with Tools - Build Server - Download Last Build.

Completed successfully.
 
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…