Re: OBEXQuickPush Sample doesn't compile -(
Re: OBEXQuickPush Sample doesn't compile -(
- Subject: Re: OBEXQuickPush Sample doesn't compile -(
- From: Bubba Giles <email@hidden>
- Date: Wed, 03 Sep 2003 13:33:58 -0700
You can just remove the references to AppleArchiver.h at the top of the
file, and this code section, starting at line 162:
/*
if ( ItemAtPathNeedsArchiving( mCurrentFilePath ) )
{
NSString* newPath;
newPath = AppleArchiveCreateUniquelyFromPath(
kAppleArchiveOptionsNone, mCurrentFilePath );
if ( newPath == nil )
{
[self updateUI:kBadFileSpecifiedStatus errorCode:status
bytesSent:0 bytesTotal:0];
[self performSelector:@selector(completeTransfer:)
withObject:nil afterDelay:1];
goto exit;
}
if ( ![[NSFileManager defaultManager] fileExistsAtPath:newPath
isDirectory:&directory] )
{
[self updateUI:kBadFileSpecifiedStatus errorCode:status
bytesSent:0 bytesTotal:0];
[self performSelector:@selector(completeTransfer:)
withObject:nil afterDelay:1];
goto exit;
}
mCurrentFileIsArchive = TRUE;
mCurrentFilePath = newPath;
}
*/
Compile that, and it should work. Note that you will only be able to send
files with data forks. If there is a resource fork or if it is a directory,
the file will not get sent.
Jason
email@hidden
>
Dear listmembers,
>
>
The sampleproject 3OBEXQuickPush2 from Apple won9t compile, I get the
>
following error
>
OBEXPushWindowController.m:42: header file 'AppleArchiver/AppleArchiveLib.h'
>
not found
>
>
What should I do? Is there a newer Sample as the one from the
>
Dec200DevToolsCD?
>
>
>
Regards
>
Michael Slomski
>
>
-------------------------------------------------------------------
>
Computerkartographie M. Slomski
>
Kartographie Systemberatung & Betreuung
>
f|r Apple Macintosh
>
>
>
Schnorr-von-Carolsfeld-Str. 19
>
D-81927 M|nchen
>
>
Tel.: ++49 +89-929 40 57 oder ++49 +177-44 57 990
>
Fax.: ++49 +89-939 311 71
>
Email: email@hidden
>
_______________________________________________
>
bluetooth-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.