[AC-5034] Third party framework throwing build error.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2017-07-03T21:52:49.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Alloy, Hyperloop, Titanium SDK & CLI |
Labels | framework, hyperloop, ios, thirdparty, titanium |
Reporter | paul@appwapp.com |
Assignee | Shak Hossain |
Created | 2017-06-16T21:10:44.000+0000 |
Updated | 2017-07-03T21:52:49.000+0000 |
Description
My version of Appcelerator Studio is actually: Appcelerator Studio, build: 4.8.1.201612050850
I have included a third party ios framework (dynamic) in my Titanium application, it is called KolorEyes. I have also included the ti.dynamiclib plugin to allow for dynamic libraries to be used in Titanium:
https://gist.github.com/hansemannn/5046fcc9a14cc3d09d0874f964b443aa.
Here is the error message I get when I try to run:
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/Products/Debug-iphonesimulator/kolor_test.app/kolor_test normal x86_64
[ERROR] : (1 failure)
All looks good in my setup, here is my appc.js file:
module.exports = {
hyperloop: {
ios: {
xcodebuild: {
flags: {
FRAMEWORK_SEARCH_PATHS: '../../src',
/*LD_RUNPATH_SEARCH_PATHS: '@executable_path',*/
LD_RUNPATH_SEARCH_PATHS: '$(inherited) "@executable_path/Frameworks" $(FRAMEWORK_SEARCH_PATHS)'
},
frameworks: [
'KolorEyes'
]
},
thirdparty: {
'KolorEyes': {
source: ['src'],
header: 'src',
resource: 'src'
}
}
}
}
};
The upcoming Hyperloop 2.2.0 will add out-of-the-box support for dynamic frameworks. Until then, maybe [~jvennemann] might have an idea on how to manually configure it.
[~paul@appwapp.com], can you please provide a full trace log? There should be a more detailed error description why the build failed in it.
[~paul@appwapp.com], Please provide a full trace log.