iOS Question Submitting app

Stefano Di Chiano

Active Member
Licensed User
Hi,
I'm trying to submit my app as explained here. When I set all the parameters of the command and press enter, I receive this error:
Error: code -21017 (Unable to validate your application. Could not determine the package's bundle id. The package is missing an Info.plist or the CFBundlePackageType is not 'APPL' or 'FMWK'.).
I'm only getting this error message after I updated B4i to v6.50.
I could make the upload before, but I had my app rejected.
Now I updated B4i and can't even make it past that step.
 

Biswajit

Active Member
Licensed User
Longtime User
The best and simplest way (as per my experience) is to use xcode to upload your application.
  1. Build your app in release mode from B4i
  2. Open UploadedProjects folder inside the local mac builder.
  3. You will find a folder (usually your hosted builder ID)
  4. Open that. And then open the B4iProject.xcodeproj file
  5. Wait until the indexing process finish
  6. It will open Builder Settings. Change architecture to Standard Architecture
  7. Then click on Signing & Capabilities tab from the top
  8. Untick Automatic manage signing if it's checked.
  9. Then choose the (store) provisioning profile from the dropdown
  10. Then choose Generic iOS device from the device list. ( Beside the play/run button at the top left corner)
  11. Then click on the Product > Archive from the top navigation.
  12. After its done, it will open the Archive window.
  13. Select your build and click on Validate App from the right side.
  14. Choose provisioning profile and follow the instructions.
  15. After successful validation, click on Distribute App (blue button)
  16. Choose App Store Connect > Upoad > Provisioning profile
  17. Then follow the instructions.
  18. Wait until it shows a green tick mark.
  19. That's it.
After point 9 if you see Signing Certificate below the provisioning profile is blank, Just tick the automatic manage signing on, enable it, then untick it again. (Its a bug)
Then choose the provisioning profile again.
 
Last edited:
Upvote 0

Stefano Di Chiano

Active Member
Licensed User
I tried again and I was able to upload my build, even though it got rejected again. Could your method solve this kind of issue as well? Does it matter which way I submit my app with the fact that it get rejected?
 
Upvote 0

Biswajit

Active Member
Licensed User
Longtime User
I tried again and I was able to upload my build, even though it got rejected again. Could your method solve this kind of issue as well? Does it matter which way I submit my app with the fact that it get rejected?
While archiving and validating the app, xcode will prompt you if you missed something. Clean your project from B4i then rebuild again as in release mode from B4i and check.
 
Upvote 0

Stefano Di Chiano

Active Member
Licensed User
Just a couple of questions, to be sure I'm not misunderstanding:

Build your app in release mode from B4i
I do this on my Windows PC. I then put my .ipa file on a USB key and pass it on my mac, right?

Open UploadedProjects folder inside the local mac builder.
Where exactly is this folder? In Xcode?

You will find a folder (usually your hosted builder ID)
I'm not using hosted builder, I didn't buy it since I have a mac PC. Is that a problem?
 
Upvote 0

Biswajit

Active Member
Licensed User
Longtime User
I do this on my Windows PC. I then put my .ipa file on a USB key and pass it on my mac, right?
NO. After building the app, open the local build server folder on your mac.
Where exactly is this folder? In Xcode?
Inside the local build server folder on your mac.
I'm not using hosted builder, I didn't buy it since I have a mac PC. Is that a problem?
No. It does not matter. There will be a folder inside the uploadedprojects folder.
 
Upvote 0
Top