[TIMOB-1835] _OBJC_CLASS_$_SBJSON". referenced from: Objc-class-ref-to-SBJSON in libtiverify.a (TiVerify.o) Symbol(s) not found
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | defect, developer, ios, iphone, library, symbols, titanium |
Reporter | Greg |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:03:33.000+0000 |
Updated | 2011-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
- 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!
- Damien Elmes 2011-04-15
I found I had to replace libtiverify.a in the build/lib directory for things to work again.
- Wil Chung 2011-04-15
@Damien,
Where did you find the replacement libtiverify.a?
- Damien Elmes 2011-04-15
In the mobilesdk. Use spotlight if you can't find it.
- 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
- 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.