Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode5 Link Testflight SDK library

i want to use libTestFlight.a library in my project, i already import it in "Link Binaries With Libraries", also in build phases, i tried to add "Search Path" and "Header Path", i also tried to change the ARCH to Standard architectures (armv7, armv7s), but still no luck, it always give this error:

Undefined symbols for architecture armv7:
  "_deflate", referenced from:
      __tf_remote_log_compress_data in libTestFlight.a(tf_remote_log_io.o)
  "_deflateInit_", referenced from:
      __tf_remote_log_compress_data in libTestFlight.a(tf_remote_log_io.o)
  "_deflateEnd", referenced from:
      __tf_remote_log_compress_data in libTestFlight.a(tf_remote_log_io.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
like image 247
DeckyFx Avatar asked Jan 16 '14 04:01

DeckyFx


People also ask

How do I get a TestFlight link?

Simply go to your app's TestFlight page, click an existing group, and click Enable Public Link. You can then copy the link and share it on social media, messaging platforms, email campaigns, and more.

How do I deploy to TestFlight in Xcode?

Open your project in Xcode. In the target editor, under Signing & Capabilities, make sure you have a Bundle Identifier and that your Team and Signing Certificate are set. If you're not using an app of your own, you will have to change the bundle ID to something unique. Now, build and archive the app.

How do I add beta testers to TestFlight?

To add Internal testers: Navigate back to your app in My Apps, select the TestFlight tab and click Internal Testing on the left-hand side; Now click the (+) sign next to the header Internal Testers; Check the box next to any eligible users who have not already been invited and click Add.

How do I share my iOS build for testing?

You can useTestFlight to distribute iOS, tvOS, and watchOS beta builds to testers and collect feedback. If you want to distribute your app to registered devices, to beta testers using TestFlight, or through the App Store, you need to join the Apple Developer Program.


1 Answers

Add the libz.dylib as the Link Binary With Libraries.

Build Phases > Link Binary With Libraries > push the + button > search the libz.dylib and select it > push the Add button.

like image 116
oden Avatar answered Dec 13 '22 14:12

oden