[TIMOB-26897] iOS Module: Adding Third-Party iOS Framework causes build error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Done |
Resolution Date | 2019-10-13T04:34:33.000+0000 |
Affected Version/s | Release 7.5.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Rakhi Mitro |
Assignee | Vijay Singh |
Created | 2019-03-13T11:48:06.000+0000 |
Updated | 2019-10-13T04:34:33.000+0000 |
Description
The customer has an issue regarding to add third-Party iOS Framework which causes build error. The module is packaged successfully on SDK 7.5.1.GA.
*Sample Test module*: https://www.dropbox.com/s/fz79its9l8w1kt6/iosTestModule1.zip?dl=0
*Steps to reproduce:*
1. Download and unzip the attached iosTestModule file.
2. Open titanium.xcconfig file,update Titanium SDK path in titanium.xcconfig file.
TITANIUM_SDK_VERSION = 7.5.1.GA
//
// THESE SHOULD BE OK GENERALLY AS-IS
//
TITANIUM_SDK = /............./Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA
TITANIUM_BASE_SDK = "$(TITANIUM_SDK)/iphone/include"
TITANIUM_BASE_SDK2 = "$(TITANIUM_SDK)/iphone/include/TiCore"
TITANIUM_BASE_SDK3 = "$(TITANIUM_SDK)/iphone/include/JavaScriptCore"
HEADER_SEARCH_PATHS= $(TITANIUM_BASE_SDK) $(TITANIUM_BASE_SDK2) $(TITANIUM_BASE_SDK3)
3. Now package the module and bind to a sample Appc project.
4. Try to run the sample project and observe the error.
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld /Users/sharifabudarda/Documents/Appcelerator_Studio_Workspace/AC6068/build/iphone/build/Intermediates/AC6068.build/Debug-iphoneos/AC6068.build/Objects-normal/armv7/AC6068 normal armv7
[ERROR] : (1 failure
Attachments
File | Date | Size |
---|---|---|
iOS Device Trace.txt | 2019-03-14T17:33:37.000+0000 | 1927611 |
KofaxMobileSDKDevelopersGuide_EN.pdf | 2019-03-25T14:31:16.000+0000 | 1307071 |
log.txt | 2019-03-20T08:32:46.000+0000 | 4579853 |
tracelog.txt | 2019-03-14T15:57:58.000+0000 | 1615290 |
[~fhaque] 1. I am not able to get module from shared link. Please share the module again. 2. Is error happening for running the module for device and simulator both?
We have some update from the customer about their module. They are planning to integrate Kofax iOS mobile SDK with our Appcelerator mobile app. Kofax offers data capture module for mobile apps to capture images, process and extract data correctly (from physical documents/papers) with device camera. To call kofax native iOS APIs from JavaScript, they are creating a custom module for iOS (integrating Kofax Mobile SDK). Please find below some useful links. https://www.kofax.com/Products/Mobile-Capture/Mobile-SDK/Features https://knowledge.kofax.com/Mobile_Capture https://www.kofax.com/-/media/Files/Datasheets/EN/ps_kofax-mobile-sdk_en.pdf
Real issue:
Probably linking thee
AudioToolbox
framework correctly will fix this. This is no Titanium bug.[~vijaysingh],Here is the response from the customer: