build.settings file wont work

settings =  
{  
 orientation =  
 {  
 default = "landscapeRight"  
 },  
  
 iphone =  
 {  
 plist =  
 {  
 UIApplicationExitsOnSuspend = true,  
 UIStatusBarHidden = true,  
 UIAppFonts =   
 {  
 "pleasantlyplump.ttf"  
 },  
 },  
 },  
}  

Can someone help me find the problem with this code?? [import]uid: 30185 topic_id: 6936 reply_id: 306936[/import]

What’s not working? Is it the font? [import]uid: 11809 topic_id: 6936 reply_id: 24286[/import]

I think everything… In the simulator I can see traces of it not working because the status bar is not hidden. And when I build it for device the screen becomes completely black [import]uid: 30185 topic_id: 6936 reply_id: 24297[/import]

Try this:
settings =
{
orientation =
{
default =“landscapeRight”,
},

iphone =
{
plist =
{
UIApplicationExitsOnSuspend = true,
UIStatusBarHidden = true,
UIAppFonts = “pleasantlyplump.ttf”

},
},

} [import]uid: 11809 topic_id: 6936 reply_id: 24300[/import]

Nope… Still the same… [import]uid: 30185 topic_id: 6936 reply_id: 24308[/import]

Oops, sorry, I made a mistake in the code, try this:(forgot to {} enclose the font

settings =
{
orientation =
{
default =“landscapeRight”,
},

iphone =
{
plist =
{
UIApplicationExitsOnSuspend = true,
UIStatusBarHidden = true,
UIAppFonts =
{
“pleasantlyplump.ttf”
},
},
},

}

Also, some fonts won’t work on the device. I had that before. Try the Harrowprint.ttf font to make sure your build works first then replace the font you want to use if Harrowprint.ttf works. [import]uid: 11809 topic_id: 6936 reply_id: 24313[/import]

Could it be because I changed all the .lua files to open with TextWrangler? Maybe they lost their “lua” thing and the builder can’t build them properly?
[import]uid: 30185 topic_id: 6936 reply_id: 24309[/import]

wat!!! i tried rebooting my iPhone before testing your suggestion but now I can’t even sync the app to the phone? What can cause this? I’ll try with your code in the build.settings and see if it’ll sync

Edit: no success… [import]uid: 30185 topic_id: 6936 reply_id: 24314[/import]

The app is visible in iTunes and it’s supposed to appear on my screen but it refuses to install [import]uid: 30185 topic_id: 6936 reply_id: 24321[/import]

Kk this issue has nothing to do with the build.settings it seems… Last thing I did outside of build.settings was make all .lua files open automatically with TextWrangler… Can this really cause this big issues? I can’t switch it back to normal… [import]uid: 30185 topic_id: 6936 reply_id: 24323[/import]

Not sure, I use Project Manager and TextMate. [import]uid: 11809 topic_id: 6936 reply_id: 24325[/import]

When I rightclick the main.lua and go View Info, in Type: it says “Textwrangler text document”… Can this be the issue? It’s not recognized as lua and simply a text document and maybe that’s why I can’t install it on the device / Run it in the X-Code simulator? [import]uid: 30185 topic_id: 6936 reply_id: 24329[/import]

That shouldn’t matter what program is associated with for lua. Try making a new project with basic everything and see if you can build to the device. [import]uid: 11809 topic_id: 6936 reply_id: 24331[/import]

Edit: YES ok. Fixed the X-Code simulator issue. I forgot to delete the file from the simulator before building a new version of it. Seems to cause issues not deleting it…

Last problem left! The device-building… Am stuck here though… [import]uid: 30185 topic_id: 6936 reply_id: 24332[/import]

I can sync random games from the app store to my iPhone but nothing that’s built with Corona [import]uid: 30185 topic_id: 6936 reply_id: 24335[/import]

Check your Apple certificates. [import]uid: 11809 topic_id: 6936 reply_id: 24336[/import]

They’re ok [import]uid: 30185 topic_id: 6936 reply_id: 24339[/import]

I just remembered something… Maybe it has to do with multitasking since that was the last thing I was trying to fix before this happened. I remember I added that code with the applicationResume etc, and the app started going full black when I launched it on the device. Then I rebooted to try fix it and now I can’t build anymore. Maybe the app is running in the background and wont allow me to install a new version of it? Or something like that

Edit: Though I can’t find it in the multitask dock [import]uid: 30185 topic_id: 6936 reply_id: 24343[/import]

Corona doesn’t support Multitasking yet. Try to delete your build file and re enter it. [import]uid: 11809 topic_id: 6936 reply_id: 24344[/import]

Tried deleting build.settings and syncing, no luck, then re-created it, no luck :/… Gahh! [import]uid: 30185 topic_id: 6936 reply_id: 24346[/import]