iOS Question Compile Error - Build Failed

Status
Not open for further replies.

UnknownArt

Member
Licensed User
Longtime User
Hi All, Can you tell me what was wrong setup?
The following error occurs while I compiled.

========================
B4i Version: 4.81
Parsing code. (0.00s)
Compiling code. (0.04s)
Building designer app. (0.01s)
Building Xcode project (0.87s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Mike S. Lee (R---------)
CONFIGURATION_BUILD_DIR = /Users/administrator/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE = a55db2e1-a93a-4fe5-b691-18d1708bbeb2

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: "B4iProject" requires a provisioning profile. Select a provisioning profile for the "Release" build configuration in the project editor. (in target 'B4iProject')

Build system information
warning: The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'B4iProject')


Error: 2018-11-07 01:04:54.286 xcodebuild[1477:15997] DVTProvisioningProfileManager: Failed to load profile "/Users/administrator/Library/MobileDevice/Provisioning Profiles/a55db2e1-a93a-4fe5-b691-18d1708bbeb2" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/administrator/Library/MobileDevice/Provisioning Profiles/a55db2e1-a93a-4fe5-b691-18d1708bbeb2"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/administrator/Library/MobileDevice/Provisioning Profiles/a55db2e1-a93a-4fe5-b691-18d1708bbeb2".})
** BUILD FAILED **
 

Attachments

  • unnamed.png
    unnamed.png
    374.9 KB · Views: 424

UnknownArt

Member
Licensed User
Longtime User
An error occurred after using the hosted builder service. :


B4i Version: 4.81
Parsing code. (0.00s)
Compiling code. (0.07s)
Building designer app. (0.01s)
Building Xcode project (0.96s)
Sending data to remote compiler. Error
Error: security: SecKeychainDelete: The specified keychain could not be found.

Out: Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Mike S. Lee (R3FAA9W9XN)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE = a55db2e1-a93a-4fe5-b691-18d1708bbeb2

=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===

Check dependencies
Code Signing Error: Provisioning profile "default" doesn't include any certificate for which the matching private key is installed in the keychain.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'


Error: ** BUILD FAILED **
 
Upvote 0

Paul Garcia

Member
Licensed User
Longtime User
B4i Version: 4.81
Parsing code. (0.00s)
Compiling code. (0.02s)
Compiling layouts code. (0.00s)
Building Xcode project (0.16s)

icon-store-1024.png is missing from Files\Special. Using default icon.
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=B4i Example" CONFIGURATION_BUILD_DIR=/Users/administrator/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: LAB2DESIGN S.A. (8PK4WC29TQ)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=3544f9e7-d36f-4183-9aec-fe01326d37c8 -arch armv7 -arch arm64

Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: LAB2DESIGN S.A. (8PK4WC29TQ)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i Example
PROVISIONING_PROFILE = 3544f9e7-d36f-4183-9aec-fe01326d37c8

note: Using new build system
note: Using codesigning identity override: iPhone Distribution: LAB2DESIGN S.A. (8PK4WC29TQ)
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/administrator/Documents/UploadedProjects/<user id>/build (in target 'B4iProject' from project 'B4iProject')
cd /Users/administrator/Documents/UploadedProjects/<user id>
builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/build





Dear Erel I am having a similar problem, the point is that if I compile without adding the FirebaseAnalytics libraries
and FirebaseMessaging everything compiles fine for me but when adding these two libraries everything falls out and gives me the following error and I need this to capture the token with

Private Sub GetToken As String
Dim no As NativeObject
Dim token As NativeObject = no.Initialize("FIRInstanceID").RunMethod("instanceID", Null).RunMethod("token", Null)
If token.IsInitialized Then Return token.AsString Else Return ""
End Sub



I have followed all the steps and so everything has gone well for me, but when I add these libraries, everything falls apart, I have already deleted and created the certificates about 20 times
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
B4i Version: 4.81
Parsing code. (0.00s)
Compiling code. (0.02s)
Compiling layouts code. (0.00s)
Building Xcode project (0.16s)

icon-store-1024.png is missing from Files\Special. Using default icon.
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=B4i Example" CONFIGURATION_BUILD_DIR=/Users/administrator/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: LAB2DESIGN S.A. (8PK4WC29TQ)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=3544f9e7-d36f-4183-9aec-fe01326d37c8 -arch armv7 -arch arm64

Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: LAB2DESIGN S.A. (8PK4WC29TQ)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i Example
PROVISIONING_PROFILE = 3544f9e7-d36f-4183-9aec-fe01326d37c8

note: Using new build system
note: Using codesigning identity override: iPhone Distribution: LAB2DESIGN S.A. (8PK4WC29TQ)
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/administrator/Documents/UploadedProjects/<user id>/build (in target 'B4iProject' from project 'B4iProject')
cd /Users/administrator/Documents/UploadedProjects/<user id>
builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/build





Dear Erel I am having a similar problem, the point is that if I compile without adding the FirebaseAnalytics libraries
and FirebaseMessaging everything compiles fine for me but when adding these two libraries everything falls out and gives me the following error and I need this to capture the token with

Private Sub GetToken As String
Dim no As NativeObject
Dim token As NativeObject = no.Initialize("FIRInstanceID").RunMethod("instanceID", Null).RunMethod("token", Null)
If token.IsInitialized Then Return token.AsString Else Return ""
End Sub



I have followed all the steps and so everything has gone well for me, but when I add these libraries, everything falls apart, I have already deleted and created the certificates about 20 times

don't open an old thread, create a new one for your error
 
Upvote 0
Status
Not open for further replies.
Top