Search code examples
iosxcode5

Getting error of armv7s and armv7 while archiving for release


I am getting error when archiving (for release)

ld: entry point (_main) undefined. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ld: entry point (_main) undefined. for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any help will be appreciated.


Solution

  • Finally after a lot of tries I got the answer, the problem was related to private path, as there should be a public path for 3rd party library.