can't build for iOS 10: "code object is not signed at all" in subcomponent _CoronaSplashScreen.png

Hi

I’m trying to build agains iOS10 in order to test on my device and I always get the following error:

ERROR: code signing failed: /Users/ste/Desktop/Stripes.app: replacing existing signature

/Users/ste/Desktop/Stripes.app: code object is not signed at all

In subcomponent: /Users/ste/Desktop/Stripes.app/_CoronaSplashScreen.png

 

I tried both with Corona versions 2016.2961 and 2016.2949.

 

 

 

what is this _CoronaSplashScreen.png file shown in the log? I don’t have this file in the project.

 

thank you!

 

 

p.s.

I get the same error also if I build to test on the xCode iOS simulator.

 

p.p.s.

this is my building.settings:

 

settings =

{

orientation =

{

– Supported values for orientation:

– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

default = “portrait”,

supported = { “portrait”, },

},

excludeFiles =

{

– Include only the necessary icon files on each platform

iphone = { “Icon-*dpi.png”, },

android = { “Icon.png”, “Icon-Small-*.png”, “Icon*@2x.png”, },

},

– iOS Section

iphone =

{

plist =

{

UIStatusBarHidden = true,

UIPrerenderedIcon = true, – set to false for “shine” overlay

–UIApplicationExitsOnSuspend = true, – uncomment to quit app on suspend

CFBundleIconFiles =

{

“Icon.png”,

“Icon@2x.png”,

“Icon-167.png”,

“Icon-60.png”,

“Icon-60@2x.png”,

“Icon-60@3x.png”,

“Icon-72.png”,

“Icon-72@2x.png”,

“Icon-76.png”,

“Icon-76@2x.png”,

“Icon-Small.png”,

“Icon-Small@2x.png”,

“Icon-Small@3x.png”,

“Icon-Small-40.png”,

“Icon-Small-40@2x.png”,

“Icon-Small-50.png”,

“Icon-Small-50@2x.png”,

},

– Required launch image files/definitions table

            UILaunchImages = {

                {  – iPhone 5 Portrait

                    [“UILaunchImageMinimumOSVersion”] = “7.0”,

                    [“UILaunchImageName”] = “Default-568h”,

                    [“UILaunchImageOrientation”] = “Portrait”,

                    [“UILaunchImageSize”] = “{320, 568}”

                },

}

},

},

}

 

 

What happens if you try and build the Hello World sample app?

Rob

Same problem for me. This is only happening for one of my projects.

Output:

/Users/user/Corona SDK Exports/MyApp.app: replacing existing signature

                    /Users/user/Corona SDK Exports/MyApp.app.app: code object is not signed at all

                    In subcomponent: /Users/user/Corona SDK Exports/MyApp.app/_CoronaSplashScreen.png

Sep 28 03:45:31.922 BUILD ERROR: ERROR: code signing failed: /Users/user/Corona SDK Exports/MyApp.app: replacing existing signature

                    /Users/user/Corona SDK Exports/MyApp.app: code object is not signed at all

                    In subcomponent: /Users/user/Corona SDK Exports/MyApp.app/_CoronaSplashScreen.png

Sep 28 03:45:31.971 iOS build failed (12) after 13 seconds

Sep 28 03:45:31.972 

Sep 28 03:45:32.290 ERROR: Build Failed: ERROR: code signing failed: /Users/user/Corona SDK Exports/MyApp.app: replacing existing signature

                    /Users/user/Corona SDK Exports/MyApp.app: code object is not signed at all

                    In subcomponent: /Users/user/Corona SDK Exports/MyApp.app/_CoronaSplashScreen.png

@j1kinkle, have you tried to build the Hello World sample app yet?

Hi Rob,

the Hello World sample works fine.

I replace my build.settings file with the one from the sample and it is still not working.

It happens both with Corona versions 2016.2961 and 2016.2949.

thank you!

Found this issue.

I had a folder called “resources” in my project folder. After renaming it to “res”, it works fine. I think Corona uses resources as one of their own folders, and my own directory was conflicting with it.

Yes, it works now, thank you!

Hi

I had the same issue - sure enough I too had a resources subfolder which I renamed to res.  Thanks for providing the fix - much appreciated!

Cheers

Matt

Ran into the same thing.  Thanks for posting the solution!

Tom

What happens if you try and build the Hello World sample app?

Rob

Same problem for me. This is only happening for one of my projects.

Output:

/Users/user/Corona SDK Exports/MyApp.app: replacing existing signature

                    /Users/user/Corona SDK Exports/MyApp.app.app: code object is not signed at all

                    In subcomponent: /Users/user/Corona SDK Exports/MyApp.app/_CoronaSplashScreen.png

Sep 28 03:45:31.922 BUILD ERROR: ERROR: code signing failed: /Users/user/Corona SDK Exports/MyApp.app: replacing existing signature

                    /Users/user/Corona SDK Exports/MyApp.app: code object is not signed at all

                    In subcomponent: /Users/user/Corona SDK Exports/MyApp.app/_CoronaSplashScreen.png

Sep 28 03:45:31.971 iOS build failed (12) after 13 seconds

Sep 28 03:45:31.972 

Sep 28 03:45:32.290 ERROR: Build Failed: ERROR: code signing failed: /Users/user/Corona SDK Exports/MyApp.app: replacing existing signature

                    /Users/user/Corona SDK Exports/MyApp.app: code object is not signed at all

                    In subcomponent: /Users/user/Corona SDK Exports/MyApp.app/_CoronaSplashScreen.png

@j1kinkle, have you tried to build the Hello World sample app yet?

Hi Rob,

the Hello World sample works fine.

I replace my build.settings file with the one from the sample and it is still not working.

It happens both with Corona versions 2016.2961 and 2016.2949.

thank you!

Found this issue.

I had a folder called “resources” in my project folder. After renaming it to “res”, it works fine. I think Corona uses resources as one of their own folders, and my own directory was conflicting with it.

Yes, it works now, thank you!

Hi

I had the same issue - sure enough I too had a resources subfolder which I renamed to res.  Thanks for providing the fix - much appreciated!

Cheers

Matt

Ran into the same thing.  Thanks for posting the solution!

Tom