Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8126] iOS: Latest build can't add modules (compilation will fail)

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2012-03-20T15:39:55.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterMauro Parra-Miranda
AssigneeStephen Tramer
Created2012-03-20T15:18:51.000+0000
Updated2017-03-09T21:31:40.000+0000

Description

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.

Attachments

FileDateSize
build.log2012-03-20T15:31:23.000+0000990033

Comments

  1. Stephen Tramer 2012-03-20

    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.
  2. Mauro Parra-Miranda 2012-03-20

    Build log added.
  3. Jeff English 2012-03-20

    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.
  4. Mauro Parra-Miranda 2012-03-20

  5. Stephen Tramer 2012-03-20

    Confirmed that this is a dupe of TIMOB-8099.
  6. Lee Morris 2017-03-09

    Closing ticket as duplicate.

JSON Source