Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23851] Cannot build ti.facebook iOS using "appc ti build"

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-09-07T22:11:44.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsiOS, Tooling
Labelsbuild.py, cli, module, ti.facebook
ReporterHans Knöchel
AssigneeChris Barber
Created2016-08-31T11:29:29.000+0000
Updated2017-03-21T18:40:07.000+0000

Description

A few months ago, we made great process with replacing our python scripts with node-commands. One of those effords was to replace the build.py in the module project with appc ti build commands. In detail, when we build and package a module, that should be done using appc ti build -p [ios/android] --build-only. While that works for all other modules I recently built, the ti.facebook module seems to have problems with that, throwing the following error: {quote} [ERROR] Unable to determine the compiled module's architecture (code 1): [ERROR] fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/hans/Documents/appcelerator_modules/ti.facebook/ios/build/libfacebook.a (No such file or directory) {quote} Full log: https://gist.github.com/hansemannn/686079630bd9575319e03b0e115ec5d3 It obviously searches for the generated static library in build/ instead of build/Release-iphoneos where it is. Also interesting: When I build the module with the python script first and rebuild it with our CLI, it also works. Since we can still use the old way for now to generate our ti.facebook releases, it would be worth a try to reproduce it. Thanks!

Comments

  1. Hans Knöchel 2016-08-31

    [~cbarber] Dedicated to you :-)
  2. Chris Barber 2016-08-31

    TiSDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8296 TiSDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8297
  3. Feon Sua Xin Miao 2016-09-07

    PR merged.
  4. Lee Morris 2017-03-21

    Closing ticket as fixed.

JSON Source