[TIMOB-23851] Cannot build ti.facebook iOS using "appc ti build"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-09-07T22:11:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0 |
Components | iOS, Tooling |
Labels | build.py, cli, module, ti.facebook |
Reporter | Hans Knöchel |
Assignee | Chris Barber |
Created | 2016-08-31T11:29:29.000+0000 |
Updated | 2017-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!
[~cbarber] Dedicated to you :-)
TiSDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8296 TiSDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8297
PR merged.
Closing ticket as fixed.