New Build Error

Any ideas? Suddenly started today.

ERROR: unzipping output.zip failed: [/var/folders/nn/qs76dgc93wjgjg9hjdgw1tch0000gn/T/CLtmpyn0fha/output.zip]   End-of-central-directory signature not found.  Either this file is not   a zipfile, or it constitutes one disk of a multi-part archive.  In the   latter case the central directory and zipfile comment will be found on   the last disk(s) of this archive. unzip:  cannot find zipfile directory in one of /var/folders/nn/qs76dgc93wjgjg9hjdgw1tch0000gn/T/CLtmpyn0fha/output.zip or         /var/folders/nn/qs76dgc93wjgjg9hjdgw1tch0000gn/T/CLtmpyn0fha/output.zip.zip, and cannot find /var/folders/nn/qs76dgc93wjgjg9hjdgw1tch0000gn/T/CLtmpyn0fha/output.zip.ZIP, period

Are you using the zip plugin?

Hey Rob,

Thank you, that put me on the right track. I put the ZIP plugin on the top of the plugins list and the build went through. Any idea why? I remember that trick working for permissions previously, specifically the GPS usage permissions.

That does sound strange. Can you post your build.settings (be sure to censor any personal config) before moving the location of the ZIP plugin?

settings = {    plugins =     {         ["CoronaProvider.native.popup.addressbook"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { iphone=true, ["iphone-sim"]=true }         },         ["plugin.notifications"] =         {             publisherId = "com.coronalabs",         },         ["CoronaProvider.native.popup.social"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { iphone=true, ["iphone-sim"]=true }         },         ["plugin.zip"] =         {             publisherId = "com.coronalabs"         },     },     orientation = {         default = "portrait",         supported = { "portrait" }     },          iphone = {         plist = {           UIBackgroundModes = {"location", "fetch", "remote-notification" },             UIApplicationExitsOnSuspend = false,             NSLocationUsageDescription = "Capsule uses your location to find the capsules around you.",             NSLocationWhenInUseUsageDescription = "Capsule uses your locationt o find capsules around you.",             NSLocationAlwaysUsageDescription = "Capsule uses your location to tell you when you stumbled onto a capsule.",             UIStatusBarHidden = false,             UIPrerenderedIcon = true,                      NSAppTransportSecurity =          {             NSExceptionDomains =             {                ["api.parse.com/"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSAllowsArbitraryLoads = true,                },                ["api.twilio.com"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSAllowsArbitraryLoads = true,                },                ["stream.watsonplatform.net"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },                ["watsonplatform.net"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },               ["removed"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },                 ["s3.amazonaws.com"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },             },          },             CFBundleIconFiles =             {                 "Icon.png",                  "Icon@2x.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-40@3x.png",                 "Icon-Small-50.png",                  "Icon-Small-50@2x.png",             },                      }     },     android =     {         usesPermissions =         {             "android.permission.INTERNET",             "android.permission.WRITE\_EXTERNAL\_STORAGE",             "android.permission.ACCESS\_NETWORK\_STATE",             "android.permission.ACCESS\_FINE\_LOCATION",             "android.permission.ACCESS\_COARSE\_LOCATION",             "android.permission.READ\_PHONE\_STATE",             "android.permission.CAMERA",              "android.permission.VIBRATE",          },         usesFeatures = { { name = "android.hardware.camera", required = true }, { name = "android.hardware.camera.front", required = false }, },     },      }

Are you using the zip plugin?

Hey Rob,

Thank you, that put me on the right track. I put the ZIP plugin on the top of the plugins list and the build went through. Any idea why? I remember that trick working for permissions previously, specifically the GPS usage permissions.

That does sound strange. Can you post your build.settings (be sure to censor any personal config) before moving the location of the ZIP plugin?

settings = {    plugins =     {         ["CoronaProvider.native.popup.addressbook"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { iphone=true, ["iphone-sim"]=true }         },         ["plugin.notifications"] =         {             publisherId = "com.coronalabs",         },         ["CoronaProvider.native.popup.social"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { iphone=true, ["iphone-sim"]=true }         },         ["plugin.zip"] =         {             publisherId = "com.coronalabs"         },     },     orientation = {         default = "portrait",         supported = { "portrait" }     },          iphone = {         plist = {           UIBackgroundModes = {"location", "fetch", "remote-notification" },             UIApplicationExitsOnSuspend = false,             NSLocationUsageDescription = "Capsule uses your location to find the capsules around you.",             NSLocationWhenInUseUsageDescription = "Capsule uses your locationt o find capsules around you.",             NSLocationAlwaysUsageDescription = "Capsule uses your location to tell you when you stumbled onto a capsule.",             UIStatusBarHidden = false,             UIPrerenderedIcon = true,                      NSAppTransportSecurity =          {             NSExceptionDomains =             {                ["api.parse.com/"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSAllowsArbitraryLoads = true,                },                ["api.twilio.com"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSAllowsArbitraryLoads = true,                },                ["stream.watsonplatform.net"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },                ["watsonplatform.net"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },               ["removed"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },                 ["s3.amazonaws.com"] =                {                   NSIncludesSubdomains = true,                   NSThirdPartyExceptionAllowsInsecureHTTPLoads = true,                   NSTemporaryExceptionMinimumTLSVersion = "1.0",                   NSTemporaryExceptionRequiresForwardSecrecy = false,                   NSAllowsArbitraryLoads = true,                },             },          },             CFBundleIconFiles =             {                 "Icon.png",                  "Icon@2x.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-40@3x.png",                 "Icon-Small-50.png",                  "Icon-Small-50@2x.png",             },                      }     },     android =     {         usesPermissions =         {             "android.permission.INTERNET",             "android.permission.WRITE\_EXTERNAL\_STORAGE",             "android.permission.ACCESS\_NETWORK\_STATE",             "android.permission.ACCESS\_FINE\_LOCATION",             "android.permission.ACCESS\_COARSE\_LOCATION",             "android.permission.READ\_PHONE\_STATE",             "android.permission.CAMERA",              "android.permission.VIBRATE",          },         usesFeatures = { { name = "android.hardware.camera", required = true }, { name = "android.hardware.camera.front", required = false }, },     },      }