Benches iPhone

5

[iPhone dev] Real device testing errors

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi,

I'm currently trying to test my iPhone application on a real device but I have multiple errors like that:

Code:

Undefined symbols:

"_OBJC_CLASS_$_UITableView", referenced from:

__objc_classrefs__DATA@0 in CustomSearchController.o

__objc_classrefs__DATA@0 in HistoryController.o

__objc_classrefs__DATA@0 in SavedSearchesController.o

__objc_classrefs__DATA@0 in FiltersController.o

__objc_classrefs__DATA@0 in LoadSearch.o

"_OBJC_CLASS_$_NSMutableDictionary", referenced from:

__objc_classrefs__DATA@0 in SBJsonParser.o

__objc_classrefs__DATA@0 in audioController.o

"_NSHomeDirectory", referenced from:

-[audioController record] in audioController.o

"_OBJC_CLASS_$_AVAudioPlayer", referenced from:

__objc_classrefs__DATA@0 in audioController.o

"___objc_personality_v0", referenced from:

___objc_personality_v0$non_lazy_ptr in SearchSingleton.o

the project works fine with the simulator but when I try to compile for real device I have 50 errors.

Do I have to include specific frameworks for the real device testing?

Message was edited by: rodney_viper

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    K T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Welcome to the forums rodney_viper...

    I'm guessing you have a mismatch between (version specific) frameworks, sim vs. device.

    Remove all older version framework references and re-add them with newer versions, as an example, and/or check your OS versions across the sim & device, etc.

  2. 0

    rodney_viper

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    thank for the reply.

    I removed all the frameworks, cleaned the project and added the new ones located in Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib rary/Frameworks

    I still have 50 errors when compiling but works with the simulator...

    but the iPhone is not connected when I compile

  3. 0

    K T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    What process are you using to add frameworks....try drag/drop from the Finder if you haven't already.

  4. 0

    rodney_viper

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I was doing a right click on frameworks folder / add existing framework

    I tried the drag and drop and now it's compile fine, I'm just waiting for an iPhone to test now, it should works

    thank you KT

  5. 0

    rodney_viper

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Ok it works fine

    thanks