Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1835] _OBJC_CLASS_$_SBJSON". referenced from: Objc-class-ref-to-SBJSON in libtiverify.a (TiVerify.o) Symbol(s) not found

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:18.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsdefect, developer, ios, iphone, library, symbols, titanium
ReporterGreg
AssigneeStephen Tramer
Created2011-04-15T03:03:33.000+0000
Updated2011-04-17T01:57:18.000+0000

Description

On Developer 1.2.1, OSX SDK 1.4.1 with Apple Xcode 3.2.4, iOS SDK 4.1 compilation stops without warning and the application never loads. Running Xcode and compiling manually I see a build failed error

_OBJC_CLASS_$_SBJSON". referenced from: Objc-class-ref-to-SBJSON in libtiverify.a (TiVerify.o) 
Symbol(s) not found

libtiverify.a looks to have last been modified by Stephen Tramer on 2010-09-10. reversing out those changes resolves the issue.

Comments

  1. Stephen Tramer 2011-04-15

    You'll need to take a couple extra steps to use the new Titanium Mobile with your project:

    • Copy the source from /Library/Application Support/Titanium/mobilesdk/osx//iphone/Classes to the build/iphone/Classes directory of your project
    • Clean and rebuild

    This is because we had to internally change some of the symbols to avoid conflicts.

    This is fixed, but assigning this to Ralf/needs-more-info to see if there's going to be some way in a TiDev that can be released simultaneously with 1.5.0 to update old projects - in fact, this is a feature that's been missing from TiDev for some time!

  2. Damien Elmes 2011-04-15

    I found I had to replace libtiverify.a in the build/lib directory for things to work again.

  3. Wil Chung 2011-04-15

    @Damien,

    Where did you find the replacement libtiverify.a?

  4. Damien Elmes 2011-04-15

    In the mobilesdk. Use spotlight if you can't find it.

  5. Stephen Tramer 2011-04-15

    You are able to get the latest libtiverify.a from nightly builds, or our github repository for Titanium Mobile: http://github.com/appcelerator/titanium_mobile">http://github.com/appcelerator/titanium_mobile

  6. Stephen Tramer 2011-04-15

    Marking resolved. Users can manually remove their 'build' directory and use the latest TiDev to reinstall req'd libraries. In fact, this is how all of Titanium gets updated.

JSON Source