Build ?

Now I’m able to build my application, but when it’s built, it gives me the following error message:

warning: iPad: Icon.png: icon dimensions (57 x 57) don’t meet the size requirements. The icon file must be 72x72 pixels, in .png format (-19014)
failed to extract requirements data: 1
/Users/Marco/Desktop/JumpBall.app: invalid signature (code or signature have been modified)
failed to extract entitlements: 1
AssertMacros: entitlements_requested, At least need an application-identifier entitlements file: codesign_wrapper.c, line: 879

  • (null)

warning: Unable to extract codesigning entitlements from your application. Please make sure JumpBall is a valid Mach executable that’s properly codesigned. (-19050)
/Users/Marco/Desktop/JumpBall.app/JumpBall: invalid signature (code or signature have been modified)

  • (null)

What do i have to do? I’ve tried to test it on my device, but at the end of the sync the game isn’t downloaded. [import]uid: 27760 topic_id: 30570 reply_id: 330570[/import]

Not sure what the second stuff is, but if you told Corona to build a universal build, it’s going to look for both a 57x57 Icon.png and a 72x72 Icon.png… How can you have both? You have to put information in your build.settings file to cover it. Put the following in the plist={} section of your build.settings

 CFBundleIconFile = "Icon.png",  
 CFBundleIconFiles = {  
 "Icon.png",  
 "Icon@2x.png",  
 "Icon-72.png",  
 "Icon-72@2x.png",  
 "Icon-small-50.png",  
 "Icon-small.png",  
 "Icon-small@2x.png"  
 },  

Icon.png = 57x57 – Non-retina phones
Icon@2x.png = 114x114 – Retina Phones
Icon-72.png = 72x72 – Non-retina iPads
Icon-72@2x.png = 144x144 – Retina iPads
Icon-small-50.png = 50x50 – Search for the iPad
Icon-small.png = 29x29 – Search for iPhones
Icon-small@2x.png = 58x58 – Search for Retina iPhones

These filenames are case sensitive. I’m wondering if we shouldn’t also provide an Icon-small-50@2x.png at 100x100 for Retina iPads? I’ve never seen that listed before.

Also if you plan to support Android, you just need to drop these files in the same folder with your mail.lua (same location as the above icons)

Icon-ldpi.png = 36x36
Icon-mdpi.png = 48x48
Icon-hdpi.png = 64x64
Icon-xhdpi.png = 96x96

Though I think Corona SDK isn’t using the xhdpi icon yet.

You technically don’t need to include the small icons or even the 72@2x one. At a minimum you need Icon.png and Icon-72.png, but you should provide the other resolutions specially the @2x versions. It makes a visual difference.

[import]uid: 19626 topic_id: 30570 reply_id: 122484[/import]

Ok I’ve now checked the Icon issue (i’ve made only for iPhone), and now the error message is this:
failed to extract requirements data: 1
/Users/Marco/Desktop/JumpBall.app: invalid signature (code or signature have been modified)
failed to extract entitlements: 1
AssertMacros: entitlements_requested, At least need an application-identifier entitlements file: codesign_wrapper.c, line: 879

  • (null)

warning: Unable to extract codesigning entitlements from your application. Please make sure JumpBall is a valid Mach executable that’s properly codesigned. (-19050)
/Users/Marco/Desktop/JumpBall.app/JumpBall: invalid signature (code or signature have been modified)

  • (null)

What’s the meaning of this ? What are entitlements? Why do i need an application-identifier entitlements file? How can I make sure that my game is a valid Mach ( what’s a mach?) executable that’s properly codesigned?

Thanks in advance [import]uid: 27760 topic_id: 30570 reply_id: 122486[/import]

Hi there, I have a problem to generate the build of my game for IOS. I have to send my game and I need the .API of my game, but I don’t know how can I get it in Corona?

When I do the build for IOS in Corona, It give me only an .App file, but not the .API that is what I need it.
My question is, How can I get the .API of my game in Corona?

Please, I need the response as soon as possible.

Thanks. [import]uid: 142138 topic_id: 30570 reply_id: 122495[/import]

I guess you are refering to a *.ipa file.

  1. Place your *.app file in a directory called “Payload”.

  2. Compress the folder

  3. Rename the *.zip file to *.ipa

Your ready to go!

Joakim [import]uid: 81188 topic_id: 30570 reply_id: 122499[/import]

I highly suspect this is a provisioning profile problem. I got a similar problem when I tried to use a debug profile on my iPad3 and I had not updated that provisioning profile to know about my device.

From the Apple Provisioning Portal, you need to make sure your device is registered.
Then you create an App ID
Then you create a provisioning profile. This last step marries your device to your certificate and to your appID. Then you download this profile and put it in the right place, restart Corona and build against that provisioning profile.

What’s the meaning of this ? What are entitlements? Why do i need an application-identifier entitlements file? How can I make sure that my game is a valid Mach ( what’s a mach?) executable that’s properly codesigned?

I’m not quite sure what entitlements are but I think they are a list of what devices are entitled to run your app.

Your application has an AppID that include a bundle ID. This is something like com.yourcompany.yourgame, such as in my case: com.omnigeekmedia.supertrooper. Since the provisioning profile identifies your application through the App/Bundle ID and the devices (I’m assuming this is the entitlements).

A valid “Mach” executable just means a valid (no errors, not trying to run a Windows executable program on it. Mach is the name of the Unix Kernel that the iOS operating system is based upon. See: http://en.wikipedia.org/wiki/Mach_(kernel)

You might get that error if the app bundle was corrupted. The second part of that statement “that’s properly codesigned” all ties back to the provisioning profile since it ties to your certificates for signing your app to make sure it’s yours.

Please someone correct me if I’m wrong. [import]uid: 19626 topic_id: 30570 reply_id: 122506[/import]

Joakim

I did all that you said, but doesn’t work. When I put my *.ipa file in Itunes, it show me a message that say: “The application can’t add into Itunes because is not valid” . Really, I don’t know what happened.

[import]uid: 142138 topic_id: 30570 reply_id: 122572[/import]

Use xcode instead of iTunes when you install the app.

Joakim [import]uid: 81188 topic_id: 30570 reply_id: 122574[/import]

I’ve tried to make a new provisioning profile, but it doesn’t work ( now it doesn’t show even in the code signing identity list). I’ve also tried to install the game with xcode, but it says “invalid signature”.
I’m trying to install my app since two days, but it’s impossible. Maybe someone could help me through Skype, if that’s a good idea. [import]uid: 27760 topic_id: 30570 reply_id: 122586[/import]

Not sure what the second stuff is, but if you told Corona to build a universal build, it’s going to look for both a 57x57 Icon.png and a 72x72 Icon.png… How can you have both? You have to put information in your build.settings file to cover it. Put the following in the plist={} section of your build.settings

 CFBundleIconFile = "Icon.png",  
 CFBundleIconFiles = {  
 "Icon.png",  
 "Icon@2x.png",  
 "Icon-72.png",  
 "Icon-72@2x.png",  
 "Icon-small-50.png",  
 "Icon-small.png",  
 "Icon-small@2x.png"  
 },  

Icon.png = 57x57 – Non-retina phones
Icon@2x.png = 114x114 – Retina Phones
Icon-72.png = 72x72 – Non-retina iPads
Icon-72@2x.png = 144x144 – Retina iPads
Icon-small-50.png = 50x50 – Search for the iPad
Icon-small.png = 29x29 – Search for iPhones
Icon-small@2x.png = 58x58 – Search for Retina iPhones

These filenames are case sensitive. I’m wondering if we shouldn’t also provide an Icon-small-50@2x.png at 100x100 for Retina iPads? I’ve never seen that listed before.

Also if you plan to support Android, you just need to drop these files in the same folder with your mail.lua (same location as the above icons)

Icon-ldpi.png = 36x36
Icon-mdpi.png = 48x48
Icon-hdpi.png = 64x64
Icon-xhdpi.png = 96x96

Though I think Corona SDK isn’t using the xhdpi icon yet.

You technically don’t need to include the small icons or even the 72@2x one. At a minimum you need Icon.png and Icon-72.png, but you should provide the other resolutions specially the @2x versions. It makes a visual difference.

[import]uid: 19626 topic_id: 30570 reply_id: 122484[/import]

Ok I’ve now checked the Icon issue (i’ve made only for iPhone), and now the error message is this:
failed to extract requirements data: 1
/Users/Marco/Desktop/JumpBall.app: invalid signature (code or signature have been modified)
failed to extract entitlements: 1
AssertMacros: entitlements_requested, At least need an application-identifier entitlements file: codesign_wrapper.c, line: 879

  • (null)

warning: Unable to extract codesigning entitlements from your application. Please make sure JumpBall is a valid Mach executable that’s properly codesigned. (-19050)
/Users/Marco/Desktop/JumpBall.app/JumpBall: invalid signature (code or signature have been modified)

  • (null)

What’s the meaning of this ? What are entitlements? Why do i need an application-identifier entitlements file? How can I make sure that my game is a valid Mach ( what’s a mach?) executable that’s properly codesigned?

Thanks in advance [import]uid: 27760 topic_id: 30570 reply_id: 122486[/import]

Hi there, I have a problem to generate the build of my game for IOS. I have to send my game and I need the .API of my game, but I don’t know how can I get it in Corona?

When I do the build for IOS in Corona, It give me only an .App file, but not the .API that is what I need it.
My question is, How can I get the .API of my game in Corona?

Please, I need the response as soon as possible.

Thanks. [import]uid: 142138 topic_id: 30570 reply_id: 122495[/import]

I guess you are refering to a *.ipa file.

  1. Place your *.app file in a directory called “Payload”.

  2. Compress the folder

  3. Rename the *.zip file to *.ipa

Your ready to go!

Joakim [import]uid: 81188 topic_id: 30570 reply_id: 122499[/import]

I highly suspect this is a provisioning profile problem. I got a similar problem when I tried to use a debug profile on my iPad3 and I had not updated that provisioning profile to know about my device.

From the Apple Provisioning Portal, you need to make sure your device is registered.
Then you create an App ID
Then you create a provisioning profile. This last step marries your device to your certificate and to your appID. Then you download this profile and put it in the right place, restart Corona and build against that provisioning profile.

What’s the meaning of this ? What are entitlements? Why do i need an application-identifier entitlements file? How can I make sure that my game is a valid Mach ( what’s a mach?) executable that’s properly codesigned?

I’m not quite sure what entitlements are but I think they are a list of what devices are entitled to run your app.

Your application has an AppID that include a bundle ID. This is something like com.yourcompany.yourgame, such as in my case: com.omnigeekmedia.supertrooper. Since the provisioning profile identifies your application through the App/Bundle ID and the devices (I’m assuming this is the entitlements).

A valid “Mach” executable just means a valid (no errors, not trying to run a Windows executable program on it. Mach is the name of the Unix Kernel that the iOS operating system is based upon. See: http://en.wikipedia.org/wiki/Mach_(kernel)

You might get that error if the app bundle was corrupted. The second part of that statement “that’s properly codesigned” all ties back to the provisioning profile since it ties to your certificates for signing your app to make sure it’s yours.

Please someone correct me if I’m wrong. [import]uid: 19626 topic_id: 30570 reply_id: 122506[/import]

Joakim

I did all that you said, but doesn’t work. When I put my *.ipa file in Itunes, it show me a message that say: “The application can’t add into Itunes because is not valid” . Really, I don’t know what happened.

[import]uid: 142138 topic_id: 30570 reply_id: 122572[/import]

Use xcode instead of iTunes when you install the app.

Joakim [import]uid: 81188 topic_id: 30570 reply_id: 122574[/import]

I’ve tried to make a new provisioning profile, but it doesn’t work ( now it doesn’t show even in the code signing identity list). I’ve also tried to install the game with xcode, but it says “invalid signature”.
I’m trying to install my app since two days, but it’s impossible. Maybe someone could help me through Skype, if that’s a good idea. [import]uid: 27760 topic_id: 30570 reply_id: 122586[/import]