iOS Question Cannot create a csr file and need a mobile provisioning file.

Tom2525

Member
Licensed User
Longtime User
I'm a registered developer but cannot create a csr file or mobile provisioning file. Followed the tutorials, or at least I think I did, but cannot even get started. I'm running parallels on a MacBook Air.


Screenshot 2026-02-27 at 1.50.27 PM.png
 

Attachments

  • Screenshot 2026-02-27 at 1.50.47 PM.png
    Screenshot 2026-02-27 at 1.50.47 PM.png
    130.1 KB · Views: 49
  • Screenshot 2026-02-27 at 1.51.16 PM.png
    Screenshot 2026-02-27 at 1.51.16 PM.png
    357.5 KB · Views: 51
  • Screenshot 2026-02-27 at 1.56.12 PM.png
    Screenshot 2026-02-27 at 1.56.12 PM.png
    55.6 KB · Views: 42

hatzisn

Expert
Licensed User
Longtime User
what is the name of your mobileprovision file?
 
Upvote 0

Tom2525

Member
Licensed User
Longtime User
It won't let me create one without creating a CSR first.
 

Attachments

  • Screenshot 2026-02-27 at 2.16.12 PM.png
    Screenshot 2026-02-27 at 2.16.12 PM.png
    75.9 KB · Views: 38
Upvote 0

Tom2525

Member
Licensed User
Longtime User
I think I created a correct CSR and provisioning profile. I get a connect failure now. What can I check to make sure my phone is communicating with B4i?
 

Attachments

  • Screenshot 2026-02-27 at 4.58.25 PM.png
    Screenshot 2026-02-27 at 4.58.25 PM.png
    68.4 KB · Views: 39
Upvote 0

Tom2525

Member
Licensed User
Longtime User
Ok, maybe there's one issue I won't be able to overcome right now. Is it possible to use your phone as a hotspot and build the bridge app? In other words, it's just my phone and my laptop, nothing else.
 
Upvote 0

Tom2525

Member
Licensed User
Longtime User
If needed I will send you a temporary id for the hosted builder. It is easier to start with it, and once things work, switch to the local builder.
Yes, please send a temporary ID. I'll subscribe to the entire year for $26, however, I don't see anywhere to purchase it.
 
Last edited:
Upvote 0

Tom2525

Member
Licensed User
Longtime User
Thanks. I've done something wrong during the process. Can you help me identify where I went wrong?

Build description path: /Users/ereluziel/Documents/UploadedProjects/<user id>/build/XCBuildData/203b50f77f25b30620a9632d7ca5e526.xcbuilddata
/Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: (47NE5SEGKP)" 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' from project 'B4iProject')
/Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: error: Provisioning profile "PTC.Help" has app ID "com.PTC.*", which does not match the bundle ID "PTC.Help.bridge". (in target 'B4iProject' from project 'B4iProject')

Error: ** BUILD FAILED **
 
Upvote 0

Tom2525

Member
Licensed User
Longtime User
The failure mentions PTC.Help.bridge but I don't know where that is coming from.

B4X:
B4i Version: 10.00
Parsing code.    (0.01s)
Building folders structure.    (0.04s)
Compiling code.    (0.01s)
Building designer app.    (0.01s)
Building Xcode project.    (0.22s)
Preparing project for builder.    (0.14s)
    Project size: 0.24 MB
Sending data to remote compiler.    Error
Error: security: SecKeychainDelete: The specified keychain could not be found.

Out: Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=B4i-Bridge CONFIGURATION_BUILD_DIR=/Users/ereluziel/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: (47NE5SEGKP)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=8d7ba5cf-96f6-47b6-a8cb-9208bb4be808 -arch arm64

Build settings from command line:
    ARCHS = arm64
    CODE_SIGN_IDENTITY = iPhone Distribution: (47NE5SEGKP)
    CONFIGURATION_BUILD_DIR = /Users/ereluziel/Documents/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = B4i-Bridge
    PROVISIONING_PROFILE = 8d7ba5cf-96f6-47b6-a8cb-9208bb4be808

note: Using codesigning identity override: iPhone Distribution: (47NE5SEGKP)
ComputePackagePrebuildTargetDependencyGraph

Prepare packages

CreateBuildRequest

SendProjectDescription

CreateBuildOperation

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'B4iProject' in project 'B4iProject' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -x objective-c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 /Users/ereluziel/Documents/UploadedProjects/<user id>/Images.xcassets

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

Build description signature: 5dba46f49d4f0f46f904104fed303018
Build description path: /Users/ereluziel/Documents/UploadedProjects/<user id>/build/XCBuildData/5dba46f49d4f0f46f904104fed303018.xcbuilddata
/Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: (47NE5SEGKP)" 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' from project 'B4iProject')
/Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: error: Provisioning profile "COM.PTC.HELP" has app ID "com.ptc.*", which does not match the bundle ID "PTC.Help.bridge". (in target 'B4iProject' from project 'B4iProject')

Error: ** BUILD FAILED **
 
Upvote 0

Tom2525

Member
Licensed User
Longtime User
Tried for a number of hours to figure it out but nothing worked. Fired up Grok and it solved the problem on the first try! :eek:
 
Upvote 0
Top