tag:blogger.com,1999:blog-3697740652085247598.post1827447347034432844..comments2022-03-03T13:31:16.243-08:00Comments on Codea Tutorials: Tutorial 12 - Submitting to the App Store Part 1David Suchhttp://www.blogger.com/profile/10502842288604398442noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-3697740652085247598.post-476688805619257232020-11-11T08:12:54.801-08:002020-11-11T08:12:54.801-08:00This comment has been removed by a blog administrator.Anonymoushttps://www.blogger.com/profile/12434475955166023058noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-42822402602726606472013-04-14T00:53:27.367-07:002013-04-14T00:53:27.367-07:00You will be glad to hear that the 68 warnings are ...You will be glad to hear that the 68 warnings are fixed in the new Xcode export version. <br /><br />You should be able to see the Space Art sprites on your iPad using something like iExplorer. You can then use the procedure outlined below for custom sprites and copy them across into the appropriate folder.<br /><br />My understanding is that v1.5.2 has been submitted to Apple for approval so it shouldn't be more than a week away (assuming no problems).<br /><br />-- Accessing Custom Sprite Packs:<br /><br />If you use custom sprites in your project then you need to copy across your Dropbox.spritepack folder (using iExplorer it is in Apps -> Codea -> Documents - see Figure 3b) and place it in the SpritePacks folder in the project created by running the script. In our example, the destination folder is Minesweeper -> SpritePacks. You will see the other standard sprite packs in the same location. David Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-25264186454355466732013-04-13T19:41:34.030-07:002013-04-13T19:41:34.030-07:00Hi,
Thanks for the tutorial. I just tried it out ...Hi,<br /><br />Thanks for the tutorial. I just tried it out with a edited version of Bit Invader. Aside from the usual 68 warnings, it went almost perfectly... almost. The only problem was the sprites: they didn't show at all!<br /><br />Later I figured out the issue. The sprite pack I used (Space Art) wasn't anywhere to be found on the project folder. I guess it wasn't included in the runtime.<br /><br />So, is there any way I can download or get the Space Art sprite pack? I'll probably use custom sprites for my main project, but I want to know just in case.<br /><br />Again, thanks for the tutorial. While v1.5.2 gets approved, this will be quite helpful.laytonbloggerhttps://www.blogger.com/profile/05395542484064093999noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-71358335109668875392013-04-02T15:20:14.567-07:002013-04-02T15:20:14.567-07:00Hi Dekzwabber,
My pleasure - thanks for the feedb...Hi Dekzwabber,<br /><br />My pleasure - thanks for the feedback. The next version of Codea (currently in Beta) has an export to Xcode feature which makes this process much simpler.<br /><br />Yes you can call Objective C code from Lua and vice versa. Have a look at: http://codeatuts.blogspot.com.au/2012/10/tutorial-21-integrating-game-center.html<br /><br />This example includes a way to play audio.<br /><br />Cheers,<br /><br />DDavid Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-10416671450924329182013-04-02T07:36:40.347-07:002013-04-02T07:36:40.347-07:00Hi,
Thanks for explaining how to get a Codea proje...Hi,<br />Thanks for explaining how to get a Codea project into Xcode! This is incredibly helpful.<br /><br />My next question is, can you call Objective-C code from within your LUA classes? (and the other way round) In what files would you put your functions and how would you call them? <br /><br />(for example, It would be nice to call an Obj-C function that plays audio, from within a LUA class).Dekzwabberhttp://twolivesleft.com/Codea/Talk/profile/dekzwabbernoreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-34889867352351277612013-01-10T01:32:04.586-08:002013-01-10T01:32:04.586-08:00It wouldn't be the first time...It wouldn't be the first time...David Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-84146985824121319612013-01-09T13:12:32.424-08:002013-01-09T13:12:32.424-08:00Hi David,
you probably wrong. Apple want from me...Hi David,<br /><br /> you probably wrong. Apple want from me 3 different URLs :<br /><br /> Support URL <br /> Marketing URL (Optional)<br /> Privacy Policy URL (Optional)<br /><br />As you can see only 2 are optional...<br />Anonymoushttps://www.blogger.com/profile/07779652529748302282noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-34629886742479201982013-01-08T00:05:07.737-08:002013-01-08T00:05:07.737-08:00Hi Andrej,
This is a common problem. If you are s...Hi Andrej,<br /><br />This is a common problem. If you are seeing the Dungeon Roller app then the runtime hasn't copied your classes onto the simulated device.<br /><br />The runtime checks the version number of your code and only updates the Lua files if this is a larger number. If dungeon roller has the same version number as your code, which is quite possible, then it wont update.<br /><br />I suggest that you go into the CodifyAppDelegate.m file, find the - (BOOL) migrateProjectAtPath:(NSString)path toPath:(NSString)destPath method and comment out the following code as shown below. This will make the runtime reload your Lua code regardless of the version number. It makes debugging much less tedious.<br /><br />// NSString* oldVersion = [self versionForProjectAtPath:destPath];<br />// NSString* newVersion = [self versionForProjectAtPath:path];<br /><br />// if ([oldVersion isEqualToString:newVersion]) <br /><br />// {<br />// return YES;<br />// }David Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-74867853441445651542013-01-07T17:04:40.610-08:002013-01-07T17:04:40.610-08:00trying in iPad 5.0 simulator
In 5.1 and ...trying in iPad 5.0 simulator<br /><br /> In 5.1 and 6.0 there are only black screen. Anonymoushttps://www.blogger.com/profile/07779652529748302282noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-62053337652178567782013-01-07T16:52:07.047-08:002013-01-07T16:52:07.047-08:00Hello, me again.
I want ask what I am doing wrong...Hello, me again.<br /><br />I want ask what I am doing wrong: When I done all from tutorial and want run my app it just run codea default app Dungeon Roller. I delete old Project.codea and copy my, rename and I am able to see my classes there but it still run Dungeon Roller. ThanksAnonymoushttps://www.blogger.com/profile/07779652529748302282noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-24270512038945521722013-01-05T16:07:20.082-08:002013-01-05T16:07:20.082-08:00Hi Andrej,
The support URL is optional, so no you...Hi Andrej,<br /><br />The support URL is optional, so no you don't have to have a website.<br /><br />Cheers,<br /><br />DavidDavid Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-6165750203156379182013-01-05T14:56:50.184-08:002013-01-05T14:56:50.184-08:00Hello David,
does apple really need support url? ...Hello David,<br /><br />does apple really need support url? They are not in apps description so I dont know if i have to create my website or not. ThanksAnonymoushttps://www.blogger.com/profile/07779652529748302282noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-450773644456393422012-11-20T10:15:52.824-08:002012-11-20T10:15:52.824-08:00Thank you. I'll let you know how it goes. I ...Thank you. I'll let you know how it goes. I haven't upgraded yet as I use livecode and I am afraid of upgrade issues. I would like to use codea instead of livecode for multiple reasons. (mainly, codea is cheaper and I don't need to pay a yearly upgrade cost to keep it current, though I will gladly donate more money to codea's cause if it works for me). I am just getting into codea more fully. I was waiting for the ability to compile to an app for the app store which makes codea 1000% more useful to me.Neo42https://www.blogger.com/profile/17775212646852541641noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-75006386320808878712012-11-14T11:22:25.115-08:002012-11-14T11:22:25.115-08:00Hi Neo42,
As long as you have a fairly recent ver...Hi Neo42,<br /><br />As long as you have a fairly recent version of Xcode you shouldn't have any issues. I'm not sure what dependencies the runtime has on iOS versions which is the real issue but anything that handles greater than iOS 4 should be ok.<br /><br />I'm using version 4.4.1 of Xcode at the moment. I haven't bothered upgrading because I'm developing for the first generation iPad which doesn't support iOS 6. <br /><br />The latest version is 4.5.2 which is what you will get if you download it today. The only problem you may have is with deprecated methods (i.e. methods which have been replaced with some newer version). Let me know if this is the case, it is usually fairly easy to replace these or you can just ignore the warning.<br /><br />Cheers,<br /><br />DDavid Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-1991006832549242272012-11-14T10:51:50.101-08:002012-11-14T10:51:50.101-08:00What version of xcode can we use? Can I use the l...What version of xcode can we use? Can I use the latest? Today is 11/14/12. So whatever version of xcode I can download today is probably the one that supports ios 6.Neo42https://www.blogger.com/profile/17775212646852541641noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-64687912520262851212012-09-05T01:44:39.128-07:002012-09-05T01:44:39.128-07:00Hi Bot,
Thanks for the comment - I hadn't not...Hi Bot,<br /><br />Thanks for the comment - I hadn't noticed the change. That is good news for developers.<br /><br />Cheers,<br /><br />DDavid Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-72785903269379653882012-09-04T19:04:06.236-07:002012-09-04T19:04:06.236-07:00As of iOS 5 (IIRC), it no longer asks users to rat...As of iOS 5 (IIRC), it no longer asks users to rate apps when they are deleted.<br /><br />BotAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-42910097307621033232012-08-17T00:56:10.632-07:002012-08-17T00:56:10.632-07:00Good to hear - Happy coding!
David.Good to hear - Happy coding!<br /><br />David.David Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-87999618739025240582012-08-16T13:41:27.531-07:002012-08-16T13:41:27.531-07:00Hi,
Thanks for you answer, now all seem to be ok,...Hi,<br /><br />Thanks for you answer, now all seem to be ok, may be an erro when I copied files. The Error was on identifiant bundle in Xcode (I dont know why). I just restart you tutorial at begin :)<br /><br />Thanks for this tutorial, now I can use Codea for App in xcode.<br /><br />DidierAnonymoushttps://www.blogger.com/profile/07756352599212068732noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-38673843044033348252012-08-16T12:58:26.915-07:002012-08-16T12:58:26.915-07:00Hi Didier,
Thanks for the comment. There is no ne...Hi Didier,<br /><br />Thanks for the comment. There is no need to worry about the 67 warning's, those are normal.<br /><br />The error is a problem. Do you get this error just in the simulator or when you run it on the iPad (via Xcode) or both?<br /><br />Have you set a version number in Codea using something like saveProjectInfo("Version", version) ?<br /><br />If so you need to either delete this or in the CodifyAppDelegate class go to the - (NSString) versionForProjectAtPath:(NSString)path method and change the line:<br /><br />NSString* version = [infoPlist objectForKey:@"Version"];<br /><br />To:<br /><br />NSString* version = [[infoPlist objectForKey:@"Version"] description];<br /><br />Best regards,<br /><br />DDavid Suchhttps://www.blogger.com/profile/10502842288604398442noreply@blogger.comtag:blogger.com,1999:blog-3697740652085247598.post-9246193663610005922012-08-16T06:41:25.081-07:002012-08-16T06:41:25.081-07:00Hello,
I try to do your tutorial but that is not ...Hello,<br /><br />I try to do your tutorial but that is not ok.<br />(sorry my english is not very good<br /><br />I have 67 warning and one error<br />firt warning like :<br />body.mm : no previous prototype for function CheckRigidbody'<br />......<br />contact.mm : no previous prototype for function CheckContact<br />......<br /><br />error like :<br />Uncategorized command builtin-productPackagingUtility failed with exit code 1<br /><br />Do you think to know why ?<br /><br />thanks<br /><br />Didier<br /><br /><br />Anonymoushttps://www.blogger.com/profile/07756352599212068732noreply@blogger.com