[TIMOB-24390] Hyperloop: Unable to use third party framework (kofax), which is not from Pods
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | None |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2017-02-14T16:15:54.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Hyperloop |
| Labels | n/a |
| Reporter | Shuo Liang |
| Assignee | Jan Vennemann |
| Created | 2017-02-09T08:33:18.000+0000 |
| Updated | 2017-02-14T16:15:54.000+0000 |
Description
One of customer facing problem:
They want to use a third party framework - kofax, which is not available in pods. So it has to been added by following doc about "Adding a third-party framework" from http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Hyperloop_Programming_Guide
But We tried many times still can't figure out a way to use, alway error.
Please help on this
Reproduce:
1. Create a new alloy project
2. Simply add this link to index.js
var mobileSDK = require('MobileSDK');
3. Create file appc.js in root folder.
module.exports = {
hyperloop : {
ios : {
xcodebuild : {
flags : {
FRAMEWORK_SEARCH_PATHS : '../../src'
},
frameworks : ['MobileSDK']
},
thirdparty : {
'MobileSDK' : {
source : ['src'],
header : 'src',
resource : 'src'
}
}
}
}
};
4. Add src folder with necessary .framework file inside it. (Attached the src folder from a dropbox link https://www.dropbox.com/s/9bclrfvqt7r5ofk/src.zip?dl=0)
5. Run the app.
Problem.
Always get error about - can't find module 'MobileSDK'
[~sliang], this is similar to a known bug in TIMOB-24242 and will be solved together with that issue. It is currently under review for the next release version of Hyperloop which is 2.0.1