Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Problem with building project in Xcode 5

$
0
0

Hi,

I was able to create an application and build it in debug, release and ad-hoc in Xamarin Studio. I deployed it to simulator with several different SDKs and it works just fine. But when i try to build same project in Xcode 5 it returns an error like this;

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

I did some research on google for couple of days and people say that project is missing main header file. But my project doesn't produce that file and i don't know how to add one. All files are appdelegate and for screens included in project.

Project has a main.cs file and its build action is checked as "Compile".

I moved header files from compile sources to copy bundle resources in build phases, it solved some similar problems so i know where main.h file should be located.

I also tried some combinations for architectures in build settings but no luck with that too.

Can someone help me please?

Cheers.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>