iOS Question [Solved] Firebase Push Notification app issue

aeric

Expert
Licensed User
Longtime User
Using B4A 5.50, I am able to build my app in released mode with Local Mac Builder. When I try to upload the ipa to App Store Connect using Application Loader, it failed.
upload_2019-8-8_1-57-9.png

When I use Hosted Builder, I get the following error: (see attached full log txt)
B4i Version: 5.50
Parsing code. (0.02s)
Building folders structure. (0.02s)
Compiling code. (0.03s)
Compiling layouts code. (0.00s)
Building Xcode project (0.26s)
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: Aeric Poon (U7Y7N3Q2AA)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = Report
PROVISIONING_PROFILE = e1e117e7-dc48-4b1f-b929-0a80e7962102

note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/administrator/Documents/UploadedProjects/<user id>/build (in target: B4iProject)
cd /Users/administrator/Documents/UploadedProjects/<user id>
builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/build

MkDir /Users/administrator/Documents/UploadedProjects/<user id>/Payload/Report.app (in target: B4iProject)
cd /Users/administrator/Documents/UploadedProjects/<user id>
/bin/mkdir -p /Users/administrator/Documents/UploadedProjects/<user id>/Payload/Report.app

=======================
I HAVE TRUNCATED SOME TEXT
=======================


Entitlements:

{
"application-identifier" = "U7Y7N3Q2AA.my.computerise.sasa.report.dailysales";
"aps-environment" = production;
"beta-reports-active" = 1;
"com.apple.developer.team-identifier" = U7Y7N3Q2AA;
"get-task-allow" = 0;
}

=======================
I HAVE TRUNCATED SOME TEXT
=======================


Ld /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Report normal arm64 (in target: B4iProject)
cd /Users/administrator/Documents/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=8.0

ld: warning:
object file (../../Libs/libiFirebaseNotifications.a(iFirebaseNotifications.o)) was built for newer iOS version (9.3) than being linked (8.0)
ld: warning: object file (../../Libs/libiFirebaseAnalytics.a(iFirebaseAnalytics.o)) was built for newer iOS version (9.3) than being linked (8.0)
Undefined symbols for architecture arm64:

...

=======================
I HAVE TRUNCATED SOME TEXT
=======================

ld: symbol(s) not found for architecture arm64
clang: error
: linker command failed with exit code 1 (use -v to see invocation)


Ld /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Report normal armv7 (in target: B4iProject)
cd /Users/administrator/Documents/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=8.0

=======================
I HAVE TRUNCATED SOME TEXT
=======================

ld: warning: object file (../../Libs/libiFirebaseNotifications.a(iFirebaseNotifications.o)) was built for newer iOS version (9.3) than being linked (8.0)
ld: warning: object file (../../Libs/libiFirebaseAnalytics.a(iFirebaseAnalytics.o)) was built for newer iOS version (9.3) than being linked (8.0)
Undefined symbols for architecture armv7:

...

Error: ** BUILD FAILED **


The following build commands failed:
Ld /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Report normal arm64
(1 failure)
 

Attachments

  • Hosted Builder Error.txt
    78.5 KB · Views: 184

Pendrush

Well-Known Member
Licensed User
Longtime User
Read this:
https://developer.apple.com/news/?id=03202019a
You must update your B4i to latest version and if you want to use local Mac you need to update your OS and xCode to latest versions.

EDIT:
Also iOS 13 will be released in few weeks, this means you will have to use SDK 13 as mandatory to compile iOS app from 01 April 2020.
 
Upvote 0
Top