Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't build project after adding testflight sdk

Can't build project after adding testflight sdk

 Undefined symbols for architecture i386:
  "_TFLog", referenced from:
      -[IBIZAAppDelegate application:didFinishLaunchingWithOptions:] in IBIZAAppDelegate.o
      -[IBIZAAppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] in IBIZAAppDelegate.o
      -[IBIZAAppDelegate application:didReceiveRemoteNotification:] in IBIZAAppDelegate.o
      -[IBIZAAppDelegate application:didFailToRegisterForRemoteNotificationsWithError:] in IBIZAAppDelegate.o
      -[IBIZAAppDelegate registerSuccess:] in IBIZAAppDelegate.o
      -[IBIZAAppDelegate registerFail:] in IBIZAAppDelegate.o
      -[MainViewController viewDidLoad] in MainViewController.o
      ...
  "_OBJC_CLASS_$_TestFlight", referenced from:
      objc-class-ref in IBIZAAppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm working with Xcode 4.2. Same project is normally building on the other computer with Xcode 4.3. SDK is added to all needed targets, also tried all solution, related to this subject.

like image 306
user801255 Avatar asked Feb 09 '12 17:02

user801255


1 Answers

I had a similar problem updating from TestFlight 0.8.1 to 0.8.3. I reread the instructions in the README.txt file. I believe you now have to add libz.dylib (Step 3 in "How do I integrate the SDK into my project"). After that I was able to run my app on the simulator and on my development iPad.

like image 193
Gerard Avatar answered Oct 08 '22 14:10

Gerard