[AC-2198] iOS build fails with a simple module
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-10-14T23:25:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Michal Matyjek |
Assignee | Mauro Parra-Miranda |
Created | 2013-10-14T22:09:52.000+0000 |
Updated | 2016-03-08T07:41:11.000+0000 |
Description
Steps to Reproduce
Created a simple module. Basically one Proxy class. And added the module to the KitchenSink app.
I am using Xcode 5.0 and Titanium 3.1.3.GA
Actual Result
Build fails with 'The following build commands failed:
Ld build/Release-iphoneos/KitchenSink.app/KitchenSing normal armv7'
Expected Result
Build successful
Attachments
I tried adding armv6 architecture to the module Xcode project, but then the build.py failed with: === BUILD TARGET appconnect OF PROJECT appconnect WITH CONFIGURATION Release === Check dependencies No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s). ** BUILD FAILED ** So added i386 architecture to the Xcode project, too. Now the module was built. But the app build still fails.
Attaching the offending module.
Hmm something about the sample Proxy class that Titanium did not like. After I removed the implementation - it built fine. The offending code was trying to override TiNetworkHTTPClientProxy
Closing per previous comment.
Thanks, makes sense to close.