librelist archives

« back to archive

Problem running Mac test app

Problem running Mac test app

From:
Randy Schultz
Date:
2012-12-28 @ 05:02
Followed directions to get MailCore and add it to my Mac project.  Added
Getting Started code to applicationDidFinishLaunching: with the goal of
sending test email to my Google Apps account.  Project successfully builds
but then pauses with the following error message...

Thread 1 : 0 dyld_fatal_error

All Output :

*dyld: Library not loaded:
/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork*

*  Referenced from:

/Users/rschultz/Library/Developer/Xcode/DerivedData/SMTPtest-hiuokagpvpphnjboxvqmwzskggkj/Build/Products/Debug/MailCore.framework/Versions/A/MailCore
*

*  Reason: image not found*

*(lldb) *

Development Environment :
OSX 10.7.5
Xcode 4.5.2

Am new to MailCore and Xcode so would appreciate any help you can offer!

-- 
Randy Schultz

Re: [mailcore] Problem running Mac test app

From:
Jonathan
Date:
2012-12-28 @ 05:53
Usually that occurs when the framework isn't added to the "Copy Files" 
build phase into the framework folder. Go into the project settings, 
select the target, and click on "Build Phases".

If it doesn't already exist, add a "Copy Files" build phase that looks 
something like the following:

  

--
Cheers,
Jonathan Willing

On Friday, December 28, 2012 at 12:02 AM, Randy Schultz wrote:
> Followed directions to get MailCore and add it to my Mac project.  Added
Getting Started code to applicationDidFinishLaunching: with the goal of 
sending test email to my Google Apps account.  Project successfully builds
but then pauses with the following error message... 
> 
> Thread 1 : 0 dyld_fatal_error
> 
> All Output :
> dyld: Library not loaded: 
/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
>   Referenced from: 
/Users/rschultz/Library/Developer/Xcode/DerivedData/SMTPtest-hiuokagpvpphnjboxvqmwzskggkj/Build/Products/Debug/MailCore.framework/Versions/A/MailCore
>   Reason: image not found
> (lldb) 
> 
> Development Environment :
> OSX 10.7.5
> Xcode 4.5.2
> 
> Am new to MailCore and Xcode so would appreciate any help you can offer!
>  
> -- 
> Randy Schultz

Re: [mailcore] Problem running Mac test app

From:
Randy Schultz
Date:
2012-12-28 @ 13:48
could not decode message

Re: [mailcore] Problem running Mac test app

From:
Davide Gullo
Date:
2012-12-31 @ 16:01
could not decode message

Re: [mailcore] Problem running Mac test app

From:
Randy Schultz
Date:
2013-01-03 @ 04:26
could not decode message

Re: [mailcore] Problem running Mac test app

From:
Davide Gullo
Date:
2013-01-03 @ 14:21
could not decode message