Hi, Guys
I am attempting to update and old App not modified since 2018 (and would of last been compiled with B4i current in 2018).
When I attempt to compile the original code using the Hosted Build, it fails - see report at end of post.
It appears to be complaining about provisioning and bundle ID's not matching.
The package name Build Configurations->Package was already set to "com.hangar51.arenaremote" (which, according to the forum, appears to be the common reason for the error).
I have not seen this problem before, could someone please give me a pointer on what to look for.
Regards
Dave
------ Error report -----
B4i Version: 7.50
Parsing code. (0.04s)
Building folders structure. (0.70s)
Compiling code. (0.40s)
Compiling layouts code. (0.03s)
Compiling debugger engine code. (0.01s)
Building Xcode project. (0.38s)
Preparing project for builder. (0.15s)
Project size: 0.70 MB
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=Arena Remote" CONFIGURATION_BUILD_DIR=/Users/erel/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Momentum Ltd (WNLQ68N9D9)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=56b82077-f25d-4f12-b5b5-37c20018daed -arch arm64
Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Momentum Ltd (WNLQ68N9D9)
CONFIGURATION_BUILD_DIR = /Users/erel/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = Arena Remote
PROVISIONING_PROFILE = 56b82077-f25d-4f12-b5b5-37c20018daed
note: Using new build system
note: Using codesigning identity override: iPhone Distribution: Momentum Ltd (WNLQ68N9D9)
note: Planning build
note: Constructing build description
error: Provisioning profile "provision" has app ID "b4i.*", which does not match the bundle ID "com.hangar51.arenaremote". (in target 'B4iProject' from project 'B4iProject')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'B4iProject' from project 'B4iProject')
Error: ** BUILD FAILED **
------ Error Report END ----
I am attempting to update and old App not modified since 2018 (and would of last been compiled with B4i current in 2018).
When I attempt to compile the original code using the Hosted Build, it fails - see report at end of post.
It appears to be complaining about provisioning and bundle ID's not matching.
The package name Build Configurations->Package was already set to "com.hangar51.arenaremote" (which, according to the forum, appears to be the common reason for the error).
I have not seen this problem before, could someone please give me a pointer on what to look for.
Regards
Dave
------ Error report -----
B4i Version: 7.50
Parsing code. (0.04s)
Building folders structure. (0.70s)
Compiling code. (0.40s)
Compiling layouts code. (0.03s)
Compiling debugger engine code. (0.01s)
Building Xcode project. (0.38s)
Preparing project for builder. (0.15s)
Project size: 0.70 MB
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=Arena Remote" CONFIGURATION_BUILD_DIR=/Users/erel/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Momentum Ltd (WNLQ68N9D9)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=56b82077-f25d-4f12-b5b5-37c20018daed -arch arm64
Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Momentum Ltd (WNLQ68N9D9)
CONFIGURATION_BUILD_DIR = /Users/erel/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = Arena Remote
PROVISIONING_PROFILE = 56b82077-f25d-4f12-b5b5-37c20018daed
note: Using new build system
note: Using codesigning identity override: iPhone Distribution: Momentum Ltd (WNLQ68N9D9)
note: Planning build
note: Constructing build description
error: Provisioning profile "provision" has app ID "b4i.*", which does not match the bundle ID "com.hangar51.arenaremote". (in target 'B4iProject' from project 'B4iProject')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'B4iProject' from project 'B4iProject')
Error: ** BUILD FAILED **
------ Error Report END ----