Error while building the IOS Native app
Question

Hello,

I'm having this error when generating native app for IOS (for Android is OK):

...

remote: Compressing objects:  95% (19/20)            
remote: Compressing objects: 100% (20/20)            
remote: Compressing objects: 100% (20/20), done.        
remote: Total 27 (delta 16), reused 9 (delta 5), pack-reused 0        
From https://github.com/CocoaPods/Specs     
e3432ec1c9a..93b94ec45e2  master     -> origin/master
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/mabs04/Library/Developer/Xcode/DerivedData/CEP-dfzvzbwwxxlllverzmybgjzwrlzg/Build/Intermediates.noindex/ArchiveIntermediates/CEP/IntermediateBuildFilesPath/CEP.build/Release-iphoneos/CEP.build/Objects-normal/arm64/CEP normal arm64
(1 failure)
/tmp/build/source/platforms/ios/build/sharedpch,-UseModernBuildSystem=0

[2019-02-19T15:07:47.220Z] [ERROR] Build failed with the following error: An unexpected error has occurred while generating your application. Please try again. If the problem persists, contact OutSystems Support.
[2019-02-19T15:07:47.220Z] [INFO] Zipping application source...
[2019-02-19T15:08:01.371Z] [INFO] Application was not successfully generated!
[2019-02-19T15:08:01.391Z] [INFO] Execution time: 196215ms

Anyone has an idea what could be the reason?

Thanks.

CEPiOSBuildLog.txt

Miguel Oliveira wrote:

Hello,

I'm having this error when generating native app for IOS (for Android is OK):

...

remote: Compressing objects:  95% (19/20)            
remote: Compressing objects: 100% (20/20)            
remote: Compressing objects: 100% (20/20), done.        
remote: Total 27 (delta 16), reused 9 (delta 5), pack-reused 0        
From https://github.com/CocoaPods/Specs     
e3432ec1c9a..93b94ec45e2  master     -> origin/master
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/mabs04/Library/Developer/Xcode/DerivedData/CEP-dfzvzbwwxxlllverzmybgjzwrlzg/Build/Intermediates.noindex/ArchiveIntermediates/CEP/IntermediateBuildFilesPath/CEP.build/Release-iphoneos/CEP.build/Objects-normal/arm64/CEP normal arm64
(1 failure)
/tmp/build/source/platforms/ios/build/sharedpch,-UseModernBuildSystem=0

[2019-02-19T15:07:47.220Z] [ERROR] Build failed with the following error: An unexpected error has occurred while generating your application. Please try again. If the problem persists, contact OutSystems Support.
[2019-02-19T15:07:47.220Z] [INFO] Zipping application source...
[2019-02-19T15:08:01.371Z] [INFO] Application was not successfully generated!
[2019-02-19T15:08:01.391Z] [INFO] Execution time: 196215ms

Anyone has an idea what could be the reason?

Thanks.

Hello Miguel,


Is it possible this app is not yet made compatible with mabs 4.0 ? 

https://success.outsystems.com/Support/Release_Notes/Mobile_Apps_Build_Service

https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Use_Custom_Splash_Screens#for-ios


That could explain the reason why it succesfully generates for android and not for IOS.


If your platform is up to date you can manually instruct MABS to use the older version. 

https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Generate_and_Distribute_Your_Mobile_App


Michael de Ruijter wrote:

Miguel Oliveira wrote:


From https://github.com/CocoaPods/Specs     
e3432ec1c9a..93b94ec45e2  master     -> origin/master
** ARCHIVE FAILED **

Is it possible this app is not yet made compatible with mabs 4.0 ? 

I think this is because Console Log plugin is not compatible with new build service (at least in older P10 versions), or there are some conflicting version numbers. As Michael said, choosing MABS version is possible, but only from Platform Server 10.0.1005.0 and onwards.

I created another thread to component support for this: https://www.outsystems.com/forums/discussion/45672/console-log-plugin-cocoapods-specs-archive-fail/

Quick workaround to get builds to succeed, is to remove this plugin (and of course, lose some of the debug features).

For mobile applications, javascript console.log can be hijacked in such manner that the log history can be preserved. Only problem with user-space javascript solution is that the load order matters and if not done correctly, there are probably some cases during page transitions where this approach would "skip a beat" (= not log everything). Native side approach for this thing is good because this Console Logs plugin seems to extend platform's native logging functionality, therefore reliably capturing all log entries.

br,

-Mikko(N)

Hi all,

OutSystems recently updated the MABS. The problem with higher IOS versions is fixed now. Maybe your problem is also fixed.

Regards,

Kees Kleybeuker

Support Engineer LINKIT

Hi,

I installed Touch.ID.Plugin-3.3.0_O11 version. in Andriod phones face recognition is not working, touch id is working but , getting below error for face id login only.

Have error below  while i generate the iOS app. Anybody please help 


what can be done ?

Hi Miguel Oliveira,

Good day!

I am facing the same issue  "Undefined symbols for architecture arm64" while generating the iOS build after integrating a third-party plugin.

Please find the below log details,

[2021-09-20T10:51:39.754Z] [VERBOSE] [Build] ld: warning: ignoring file source/platforms/ios/Pods/AccuraKYC-MRZ-Hybrid-Sim/AccuraKYC.framework/AccuraKYC, building for iOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F )

[2021-09-20T10:51:40.082Z] [VERBOSE] [Build] Undefined symbols for architecture arm64:

[2021-09-20T10:51:40.084Z] [VERBOSE] [Build] "_OBJC_CLASS_$_Liveness", referenced from:

[2021-09-20T10:51:40.085Z] [VERBOSE] [Build] objc-class-ref in LVController.o

[2021-09-20T10:51:40.086Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_MOTION", referenced from:

[2021-09-20T10:51:40.087Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.090Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_BRING_DOCUMENT_IN_FRAME", referenced from:

[2021-09-20T10:51:40.090Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.093Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_PROCESSING", referenced from:

[2021-09-20T10:51:40.094Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.096Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_BLUR_DOCUMENT", referenced from:

[2021-09-20T10:51:40.096Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.099Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_FACE_BLUR", referenced from:

[2021-09-20T10:51:40.100Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.102Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_GLARE_DOCUMENT", referenced from:

[2021-09-20T10:51:40.103Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.106Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_HOLOGRAM", referenced from:

[2021-09-20T10:51:40.106Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.109Z] [VERBOSE] [Build] "_OBJC_CLASS_$_AccuraCameraWrapper", referenced from:

[2021-09-20T10:51:40.110Z] [VERBOSE] [Build] objc-class-ref in ACCURAService.o

[2021-09-20T10:51:40.110Z] [VERBOSE] [Build] objc-class-ref in ViewController.o

[2021-09-20T10:51:40.112Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_PHOTO_COPY_DOCUMENT", referenced from:

[2021-09-20T10:51:40.113Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.116Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_ID_MRZ", referenced from:

[2021-09-20T10:51:40.117Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.119Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_DARK_DOCUMENT", referenced from:

[2021-09-20T10:51:40.120Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.123Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_FACE", referenced from:

[2021-09-20T10:51:40.124Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.129Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_DOCUMENT_IN_FRAME", referenced from:

[2021-09-20T10:51:40.129Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.131Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_MRZ", referenced from:

[2021-09-20T10:51:40.132Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.135Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_PASSPORT_MRZ", referenced from:

[2021-09-20T10:51:40.137Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.139Z] [VERBOSE] [Build] "_OBJC_CLASS_$_EngineWrapper", referenced from:

[2021-09-20T10:51:40.140Z] [VERBOSE] [Build] objc-class-ref in ACCURAService.o

[2021-09-20T10:51:40.140Z] [VERBOSE] [Build] objc-class-ref in ViewController.o

[2021-09-20T10:51:40.140Z] [VERBOSE] [Build] objc-class-ref in FMController.o

[2021-09-20T10:51:40.141Z] [VERBOSE] [Build] objc-class-ref in LVController.o

[2021-09-20T10:51:40.143Z] [VERBOSE] [Build] "_OBJC_CLASS_$_Facematch", referenced from:

[2021-09-20T10:51:40.144Z] [VERBOSE] [Build] objc-class-ref in FMController.o

[2021-09-20T10:51:40.146Z] [VERBOSE] [Build] "_ACCURA_ERROR_CODE_VISA_MRZ", referenced from:

[2021-09-20T10:51:40.147Z] [VERBOSE] [Build] Islamic_Mobile_App.ViewController.reco_msg(Swift.String?) -> () in ViewController.o

[2021-09-20T10:51:40.159Z] [VERBOSE] [Build] ld: symbol(s) not found for architecture arm64

I tried all the ways to resolve it but still can't able to fix this.

It will be help full if your problem has found a solution.


Thanks in advance.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.