UA-17470720-3

Jump to content


Photo
- - - - -

Linking problem with STV V5.1.3


  • Please log in to reply
3 replies to this topic

#1 notreallyme

notreallyme

    Experienced Member

  • STV 5.0 Pro
  • PipPipPipPip
  • 82 posts
Reputation: 8
Good

Posted 07 November 2015 - 05:47 AM

I just upgraded from STV V4 to STV V5.1.3 by replacing the frameworks SensibleTableView.framework STVCoreData.framework with the newer versions (deleted them first). After this i receive just for one file using STV (there are more places in the app where STV is used) a linker error:

 

undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_SCTableViewCell", referenced from:

      objc-class-ref in AppIAP.o

  "_OBJC_CLASS_$_SCTableViewController", referenced from:

      _OBJC_CLASS_$_AppIAP in AppIAP.o

  "_OBJC_CLASS_$_SCTableViewSection", referenced from:

      objc-class-ref in AppIAP.o

  "_OBJC_METACLASS_$_SCTableViewController", referenced from:

      _OBJC_METACLASS_$_AppIAP in AppIAP.o

 
The problem also appears building for device, just with architecture arm64 instead of x86_64 in the message.
 
Just looked into the file what might be special here:
 
@interface AppIAP : SCTableViewController <InAppPurchaseDelegate> {
 
Is this no longer supported? Prior to replacing the frameworks linking and running the application worked fine. How can i fix this problem?

Edited by notreallyme, 07 November 2015 - 06:02 AM.


#2 notreallyme

notreallyme

    Experienced Member

  • STV 5.0 Pro
  • PipPipPipPip
  • 82 posts
Reputation: 8
Good

Posted 07 November 2015 - 06:49 AM

I finally overcome the issue, partially. The reason for the link error was that the file mentioned above was inside the today extension of the app, which was not needed there. I wonder why this all worked with the previous version of STV. So i removed the file from the today extension and now have a new linking error. Any ideas?:

 

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_ALAssetsLibrary", referenced from:

      objc-class-ref in SensibleTableView(SCTableViewCell.o)

ld: symbol(s) not found for architecture x86_64



#3 notreallyme

notreallyme

    Experienced Member

  • STV 5.0 Pro
  • PipPipPipPip
  • 82 posts
Reputation: 8
Good

Posted 07 November 2015 - 07:14 AM

Ok, the final one was easy: I had to add the AssetsLibrary to my project to make it work. Maybe this hint should be added to the upgrade documentation of STV.



#4 Dave Guerin

Dave Guerin

    Forum Master

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 539 posts
  • LocationIreland
Reputation: 134
Popular

Posted 09 November 2015 - 07:10 AM

Hi notreallyme,

 

 

I've also seen the linker issue with the AssetsLibrary when upgrading old projects to new versions of STV, but I've not seen the other linker issues you experienced.

 

​Glad you got it working again.


Cheers,

Dave

www.dgapps.ie




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users