rmartin4

Linker errors after update to 1.8 final

Discussion created by rmartin4 on May 11, 2011
Latest reply on May 12, 2011 by rmartin4
Since updating to 1.8 final I have been getting the following linker errors when running my app in the iOS Simulator:

ld: warning: directory not found for option '-L/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/gcc/arm-apple-darwin10/4.0.1'
Undefined symbols for architecture i386:
  "_CTFontDescriptorCreateWithAttributes", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTFontCreateWithFontDescriptor", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTLineCreateWithAttributedString", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTLineGetTypographicBounds", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTFontGetDescent", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTFontGetAscent", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTFontGetXHeight", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTFontGetLeading", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_CTLineDraw", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_kCTFontFamilyNameAttribute", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_kCTFontSymbolicTrait", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_kCTFontTraitsAttribute", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_kCTForegroundColorAttributeName", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_kCTStrokeWidthAttributeName", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_kCTStrokeColorAttributeName", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
  "_kCTFontAttributeName", referenced from:
      -[AGSTextSymbol drawGraphic:atX:y:resolution:inContext:] in libArcGIS.a(AGSTextSymbol.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status


Indeed, the gcc directory at the top does not exist -- instead I have version 4.2.1. Does anyone have any thoughts on this? Thank you in advance.

Outcomes