Here it is.
https://github.com/johnmci/Scratch.app.for.iOS
It allows to run Scratch project on your iPhone or iPad again, if you can compile it. And this means you can build a REAL Scratch for iOS, not viewer, with effort!
The story is here.
http://blog.champierre.com/archives/924
Thank you, jmm and jishiha!
Cheers,
Kazuhiro Abe
See also Index » Announcements » iPhone App
Last edited by abee (2011-08-15 03:32:50)
Offline
Ok, I have Xcode but I can't get the app to my iPod touch without jailbreaking it. I guess I'll just do that. The code looks like it works, though. Did you write it?
Offline
You can make Ad Hoc build with specific UDID of your iPod touch if you have an iOS developer license.
Most of the code was written by jmm. I did a part of Japanese translation.
Last edited by abee (2011-08-11 10:06:47)
Offline
I can't complile it. The zip file unzips to a file with an unknown extension. I'm running Xcode 3.0 on a Mac and StuffIt expanded doesn't recognize it
Edit: maybe I'll download them one by one
Arrghh, so much work!
Last edited by hello12345678910 (2011-08-13 10:56:02)
Offline
it works in the simulator, it had a few issues but i got em fixed.
Offline
What are issues? We found the following problems.
1. cannot open the project (download link was changed)
2. the resolution of iPhone 4 (and latest iPod touch, maybe) is not supported
First one was fixed. jishiha is checking the second now.
Offline
Yes! Freedom at last!
Offline
Please get us the ipa!
I will give you my firstborn child :DDDDDDD
Offline
Ipa, please?
Offline
Unfortunately, an IPA can only be used on different devices a certain amount of times before it stops working, unless your iOS is jailbroken. If you compile it yourself, it creates a new IPA, and you can use it for yourself and some other people some amount of time, and then noone else can use the compilation of it.
tl;dr:
You can compile it and create a new IPA, but an IPA that isn't on the itunes store can't be used by more than a certain amount of people. The exception is jailbroken ipods.
tl;tl;dr:
we can't give you an IPA (though you can compile it yourself)
Last edited by gbear605 (2011-08-17 14:21:54)
Offline
Hey, can someone make a zip of all the files for me to compile/look at?
Offline
gbear605 wrote:
Unfortunately, an IPA can only be used on different devices a certain amount of times before it stops working, unless your iOS is jailbroken. If you compile it yourself, it creates a new IPA, and you can use it for yourself and some other people some amount of time, and then noone else can use the compilation of it.
tl;dr:
You can compile it and create a new IPA, but an IPA that isn't on the itunes store can't be used by more than a certain amount of people. The exception is jailbroken ipods.
tl;tl;dr:
we can't give you an IPA (though you can compile it yourself)
Well, give the ipa for us jailbreak folks!
Offline
GirWaffles64 wrote:
gbear605 wrote:
Unfortunately, an IPA can only be used on different devices a certain amount of times before it stops working, unless your iOS is jailbroken. If you compile it yourself, it creates a new IPA, and you can use it for yourself and some other people some amount of time, and then noone else can use the compilation of it.
tl;dr:
You can compile it and create a new IPA, but an IPA that isn't on the itunes store can't be used by more than a certain amount of people. The exception is jailbroken ipods.
tl;tl;dr:
we can't give you an IPA (though you can compile it yourself)Well, give the ipa for us jailbreak folks!
I'll give you the ipa if you download all the files, put them on a file sharing website, then give me the url
Offline
gbear605 wrote:
Hey, can someone make a zip of all the files for me to compile/look at?
You can get it from the github page. Click the button named "Downloads" on the top-right. Then choose type of archive from tar.gz or zip.
Last edited by abee (2011-08-18 20:23:20)
Offline
abee wrote:
gbear605 wrote:
Hey, can someone make a zip of all the files for me to compile/look at?
You can get it from the github page. Click the button named "Downloads" on the top-right. Then choose type of archive from tar.gz or zip.
My problem, is github is messed up wiht my comp that I am using (not my normal one) so it can't access github at all.
edit: it is the https prefix.
Last edited by gbear605 (2011-08-18 20:26:46)
Offline
I got it, but when I tried to compile it, I got one warning:
#pragma mark -
#pragma mark Mail
- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)aError {
UIAlertView *mailResult = [[UIAlertView alloc] init];
NSString *ok = NSLocalizedString(@"Ok",nil);
switch(result) {
case MFMailComposeResultSaved: {
NSString *saved = NSLocalizedString(@"Saved",nil);
NSString *savedMsg = NSLocalizedString(@"SavedMsg",nil);
mailResult.title = saved;
mailResult.message = savedMsg;
int indexOfButton = [mailResult addButtonWithTitle: ok];
[mailResult dismissWithClickedButtonIndex:indexOfButton animated:YES];
[self.viewController dismissModalViewControllerAnimated:YES];
[mailResult show];
[mailResult release];
break;
}
case MFMailComposeResultFailed: {
NSString *failed = NSLocalizedString(@"Failed",nil);
NSString *failedMsg = NSLocalizedString(@"FailedMsg",nil);
mailResult.title = failed;
mailResult.message = failedMsg;
int indexOfButton = [mailResult addButtonWithTitle: ok];
[mailResult dismissWithClickedButtonIndex:indexOfButton animated:YES];
[self.viewController dismissModalViewControllerAnimated:YES];
[mailResult show];
[mailResult release];
break;
}
default:
[self.viewController dismissModalViewControllerAnimated:YES];
[mailResult release];
}
[self restartWeHope];
}
- (void) doEmail {
if (!([MFMailComposeViewController canSendMail]))
return;
#error you must alter the localization data to supply a valid email address
NSString *helpEmailAddress = NSLocalizedString(@"helpEmailAddress",nil);
NSString *helpSubject = NSLocalizedString(@"helpSubject",nil);
NSString *helpMessage = NSLocalizedString(@"helpMessage",nil);
MFMailComposeViewController *emailController = [[MFMailComposeViewController alloc] init];
emailController.mailComposeDelegate = self;
[emailController setToRecipients: [NSArray arrayWithObject: helpEmailAddress]];
[emailController setSubject: helpSubject];
[emailController setMessageBody: helpMessage isHTML: NO];
NSData *data = [self.brokenWalkBackString dataUsingEncoding: NSUTF8StringEncoding];
NSData *datazipped = [LFCGzipUtility gzipData: data];
[emailController addAttachmentData: datazipped mimeType: @"application/octet-stream" fileName: @"DiagnosticsInformationWB.bin"];
NSData *data2 = [self dumpConsoleLog];
NSData *datazipped2 = [LFCGzipUtility gzipData: data2];
[emailController addAttachmentData: datazipped2 mimeType: @"application/octet-stream" fileName: @"DiagnosticsInformationLog.bin"];
[self.viewController presentModalViewController: emailController animated:YES];
[emailController release];
}
Last edited by gbear605 (2011-08-18 21:27:50)
Offline
In the meantime, comment out the whole of doEmail.
- (void) doEmail {
/*
if (!([MFMailComposeViewController canSendMail]))
return;
:
snip
:
[self.viewController presentModalViewController: emailController animated:YES];
[emailController release];
*/
}
Last edited by abee (2011-08-19 02:34:46)
Offline
abee wrote:
In the meantime, comment out the whole of doEmail.
- (void) doEmail {
/*
if (!([MFMailComposeViewController canSendMail]))
return;
:
snip
:
[self.viewController presentModalViewController: emailController animated:YES];
[emailController release];
*/
}
kk
Last edited by gbear605 (2011-08-19 08:21:28)
Offline
Yay, i compiled it
. I'm posting this from inside the APP
btw, when I try to compile it to make it an app, it gives me:
Check dependencies [BEROR]Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
Once I fix all the bugs, I'll give it out for jailbreaked users.
Last edited by gbear605 (2011-08-19 08:39:45)
Offline
gbear605 wrote:
Yay, i compiled it
. I'm posting this from inside the APP
![]()
btw, when I try to compile it to make it an app, it gives me:Code:
Check dependencies [BEROR]Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychainOnce I fix all the bugs, I'll give it out for jailbreaked users.
Yes! Ipa! Thank you!
Offline
abee wrote:
That error means what it says. You need a developer license. I cannot tell you how to avoid it because it may be illegal. You may find out a solution with google. I won't try to stop you.
ah, I see. My grandads computer got xcode installed on it, but didn't have a developers liscense. I'll just wait until I get home (thursday)
Offline