login about faq

I am evaluating chilkat's SCP library for Objective C. I am able to successfully run the application on iPhone. But when i try creating archive to create ipa file it fails .

I have added the .a file to Link Binary with library and also included include and cpp_include folder.

The error is : Undefined symbols for architecture armv7: "OBJC_CLASS$CkoScp", referenced from: objc-class-ref in ViewController.o "_OBJC_CLASS$CkoSsh", referenced from: objc-class-ref in ViewController.o "_OBJC_CLASS$CkoBaseProgress", referenced from: _OBJC_CLASS$Progress in Progress.o "_OBJC_METACLASS$CkoBaseProgress", referenced from: _OBJC_METACLASS$_Progress in Progress.o ld: symbol(s) not found for architecture armv7

Please let me know what is missing.

asked Apr 05 at 09:23

arpit0125's gravatar image

arpit0125
32


Chilkat includes the static libs for each possible architecture (see image below)

Make sure to include the armv7 in the universal lib that you are linking against. Note: There are static libs for both armv7 and armv7s.

iOS dir tree

link

answered Apr 05 at 09:38

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×94
×34

Asked: Apr 05 at 09:23

Seen: 269 times

Last updated: Apr 05 at 09:38

powered by OSQA