Pergunta

I am using mailcore2 in my ios app from fetching my gmail account emails on my device. I have changed the ios sdkversion from 6.1 to 6.0 in the mailcore2 scripts bcz I am trying to compile and run the app using iPhone simulator 6.0 which uses ios sdkversion 6.0. Doing so I am getting the following clang error.

clang: error: no such file or directory: '/Users/shujaat/Library/Developer/Xcode/DerivedData/MyTestApp-ditognlaoajwldfliplqecnxqbfj/Build/Products/Debug-iphonesimulator/MailCore/MailCore'

While trying to compile and run my app using iphone simulator 6.1 (uses ios sdk 6.1), with no changes in the ios sdk version in the shell scripts, I am getting the following error:

/bin/sh /Users/shujaat/Documents/WemoTech/Products/WantList/sourcecode/ThirdPartyLib/MailCore2/Externals/builds/workdir/20130930192723/src/libetpan/build-mac/update.sh
configuring

running prepare-cyrus-sasl.sh

prepare sources

patching file lib/client.c

building tools

generated makemd5i386 properly

building for iPhoneOS - armv7

CONFIGURE FAILED

Command /bin/sh failed with exit code 1

These issues are driving me crazy for the last couple of days. Need your help.

Foi útil?

Solução 2

These issues are fixed now. I want to explain what I did to get rid of them for others facing same issues: I made a separate project, and made mailcore2 as a part of it (didn't include the #import line in any of the project files at first). I compiled and run the project and copied the resultant mailcore 2 from it to my original project. It's compiling and running fine now.

Outras dicas

Go to your main project target->"Build phases"->"Target dependencies" add mailcore2 ios

You need to read Check Adding MailCore to Your iOS Project carefully.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top