Problem Description
When you add a module into a program (let's say tibar), you won't be able to compile the app.
Actual result
[INFO] One moment, building ...
[INFO] Detected third-party module: ti.barcode/1.7
[INFO] Detected third-party module: ti.barcode/1.7
[INFO] Titanium SDK version: 2.0.0 (03/20/12 13:32 370428c)
[INFO] iPhone Device family: universal
[INFO] iPhone SDK version: 5.0
[INFO] iPhone simulated device: iphone
[INFO] Performing full rebuild. This will take a little bit. Hold tight...
[INFO] Performing clean build
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR]
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320133259/iphone/builder.py", line 1318, in main
execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320133259/iphone/builder.py", line 1224, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320133259/iphone/run.py", line 41, in run
sys.exit(rc)
SystemExit: 65
Expected Result
The system compiling the app properly.
Test Case
1. Add a new mobile Project
2. Add a module, like tibar (remember to add it to the tiapp.xml).
3. Add this code:
var Barcode = require('ti.barcode');
Barcode.allowRotation = true;
Barcode.displayedMessage = '';
Barcode.useLED = true;
4. Compile
Extra info
The app compiles just fine without modules.
Any bug report which includes a build failure must also include the build log contained within
build/iphone/build/build.log
or else we can't diagnose the problem correctly.Build log added.
Can you add the module.xcconfig file that is generated for the application? If it is empty then it probably is the same issue as TIMOB-8099.
Confirmed that this is a dupe of TIMOB-8099.
Closing ticket as duplicate.