Dear all,
I’m trying to build/compile my app program using Corona SDK (3184 or 3189), however, it comes out with following error message:
Build Failed ERROR: code signing failed: /Users/ALPHA/Documents/abhidhamma.app: replacing existing signature /Users/ALPHA/Documents/abhidhamma.app: unknown error -1=ffffffffffffffff
And the console of Corona SDK gives the message:
Dec 28 09:42:57.824 Using additional build settings from: build.settings Building: Copying app resources Excluding specified files from build: excluding: Icon.png excluding: Icon-\*dpi.png Building: Unpacking build from server Building: Compiling Xcode assets catalog Building: Packaging app Dec 28 09:42:57.923 Code signing identity: "iPhone Developer: ---- (----)" "iPhone Developer: ---- (----)" (260A88AA1F138F03F111519704DD20E7E220E1DB) Dec 28 09:42:58.381 Codesign embedded frameworks in folder (/Users/ALPHA/Documents/abhidhamma.app/Frameworks): Dec 28 09:42:58.769 Created XCENT: /var/folders/t1/psgwl3k55nn9yy8fkqdmkjb80000gn/T/CLtmpcJn43k/entitlements.xcent Creating Info.plist... adding extra plist setting UILaunchStoryboardName: LaunchScreen adding extra plist setting CFBundleLocalizations: ["en","zh-Hant"] adding extra plist setting UIApplicationExitsOnSuspend: true adding extra plist setting CFBundleVersion: 1.0 adding extra plist setting CFBundleIconFile: Icon-App-57x57@1x.png adding extra plist setting UIStatusBarHidden: false adding extra plist setting CFBundleIconFiles: ["Icon-App-57x57@1x.png","Icon-App-57x57@2x.png","Icon-App-72x72@1x.png","Icon-App-72x72@2x.png","Icon-App-29x29@1x.png","Icon-App-29x29@2x.png","Icon-Small-50x50@1x.png","Icon-Small-50x50@2x.png","Icon-App-40x40@1x.png","Icon-App-40x40@2x.png","Icon-App-60x60@1x.png","Icon-App-60x60@2x.png","Icon-App-76x76@1x.png","Icon-App-76x76@2x.png"] adding extra plist setting CFBundleShortVersionString: 1.0 Application version information: Version: 1.0 [CFBundleShortVersionString] (set in build.settings) Build: 1.0 [CFBundleVersion] (set in build.settings) Building: Signing application with "iPhone Developer: ---- (----)" "iPhone Developer: ---- (----)" Dec 28 09:42:58.769 ERROR: build command failed: DEVELOPER\_BASE="/Applications/Xcode.app/Contents/Developer" Dec 28 09:42:58.769 export PATH="$DEVELOPER\_BASE/Platforms/iPhoneOS.platform/Developer/usr/bin:$DEVELOPER\_BASE/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" export CODESIGN\_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign\_allocate" /usr/bin/xattr -cr "/Users/ALPHA/Documents/abhidhamma.app" && "/usr/bin/codesign" --verbose -f -s "260A88AA1F138F03F111519704DD20E7E220E1DB" --entitlements "/var/folders/t1/psgwl3k55nn9yy8fkqdmkjb80000gn/T/CLtmpcJn43k/entitlements.xcent" "/Users/ALPHA/Documents/abhidhamma.app" Dec 28 09:42:58.769 ERROR: with exit code 1 and output: Dec 28 09:42:58.770 Dec 28 09:42:58.777 /Users/ALPHA/Documents/abhidhamma.app: replacing existing signature /Users/ALPHA/Documents/abhidhamma.app: unknown error -1=ffffffffffffffff Dec 28 09:42:58.777 BUILD ERROR: ERROR: code signing failed: /Users/ALPHA/Documents/abhidhamma.app: replacing existing signature /Users/ALPHA/Documents/abhidhamma.app: unknown error -1=ffffffffffffffff Dec 28 09:42:58.777 Dec 28 09:42:58.840 iOS build failed (12) after 16 seconds Dec 28 09:42:59.193 ERROR: Build Failed: ERROR: code signing failed: /Users/ALPHA/Documents/abhidhamma.app: replacing existing signature /Users/ALPHA/Documents/abhidhamma.app: unknown error -1=ffffffffffffffff Dec 28 09:42:59.193
I have checked the certificates: (they are all valid!)
-
Apple iPhone Certification Authority (appear after compiling error)
-
Apple iPhone OS Provisioning Profile Signing (appear after compiling error)
-
Apple Root Certificate Authority (appear after compiling error)
-
Apple World Wide Developer Relations Certification Authority
-
iPhone Developer: ----
-
iPhone Distribution: ----
Furthermore, mi have checked the keys, and it is open access to any application.
In addition, i have checked my Provisional Profiles, and i founded that there have only two files (from myapp_Dev.mobileprovision and myapp_AppStore.mobileprovision files).
However, although the error message comes out, it still gives me an output file (15.3MB). However, i cannot installed it into my iPhone (error message: an error occured) when i want to test it.
Could anyone pls give me some suggestions that how to deal with this question? Thank you!