Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5034] Third party framework throwing build error.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2017-07-03T21:52:49.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAlloy, Hyperloop, Titanium SDK & CLI
Labelsframework, hyperloop, ios, thirdparty, titanium
Reporterpaul@appwapp.com
AssigneeShak Hossain
Created2017-06-16T21:10:44.000+0000
Updated2017-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' } } } } };

Comments

  1. Hans Knöchel 2017-06-17

    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.
  2. Jan Vennemann 2017-06-19

    [~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.
  3. Sharif AbuDarda 2017-06-26

    [~paul@appwapp.com], Please provide a full trace log.

JSON Source