Error in building for IOS Debug

43 views
Skip to first unread message

Eyal Muchtar

unread,
Oct 22, 2013, 9:54:21 AM10/22/13
to codenameone...@googlegroups.com
While building my app for IOS Debug i got a build Error.
The Error is:

Executing: javac -classpath /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/classes -d /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/classes /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/stub/ExpenseAppStub.java Note: /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/stub/ExpenseAppStub.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Executing: javac -classpath /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/classes -d /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/seVer /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/stub/ExpenseAppStub.java Note: /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/stub/ExpenseAppStub.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
init
init
init
init
init
init
init
Executing: security default-keychain -s login.keychain Executing: java -Xmx1024m -jar xmlvm.jar --in=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/classes --resource=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/res/ --resource=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx/btres/ --lib=libzbar.a --out=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build1786881751263777734xxx --target=iphonec --app-name=ExpenseApp -DXcodeProject=ios -DBundleIdentifier=com.em_projects.expense -DBundleVersion=1.0 -DBundleDisplayName=ExpenseSW -DStatusBarHidden=false -DPrerenderedIcon=false -DApplicationExits=false -DUISupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -DSupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -Dfilesharingenabled=false openssl pkcs12 -in /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/Cert6986406126276634157.p12 -out cert.crt.pem -password pass:Ran@1965 -passout pass:password
MAC verified OK
Unable to delete certificate matching "iPhone Developer: Ran Yossefi (DA5FBB5T45)"Executing: security delete-keychain temp security: SecKeychainDelete: The specified keychain could not be found.
Executing: security create-keychain -p password temp Executing: security default-keychain -s temp Executing: security unlock -p password temp Executing: security set-keychain-settings temp security import /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/Cert6986406126276634157.p12 -PRan@1965 -A -k temp
1 identity imported.
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project ExpenseApp.xcodeproj/ -alltargets -configuration Release -sdk iphoneos6.1 build CODE_SIGN_IDENTITY=iPhone Developer: Ran Yossefi (DA5FBB5T45) KEYCHAIN=temp -arch armv7 Build settings from command line:
    ARCHS = armv7
    CODE_SIGN_IDENTITY = iPhone Developer: Ran Yossefi (DA5FBB5T45)
    KEYCHAIN = temp
    SDKROOT = iphoneos6.1

=== BUILD NATIVE TARGET ExpenseApp OF PROJECT ExpenseApp WITH CONFIGURATION Release ===
Check dependencies
Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates


** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)




How it can be solved?

Shai Almog

unread,
Oct 22, 2013, 12:58:11 PM10/22/13
to codenameone...@googlegroups.com

Eyal Muchtar

unread,
Oct 23, 2013, 2:57:57 AM10/23/13
to codenameone...@googlegroups.com
I still have the an error

Executing: javac -classpath /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/classes -d /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/classes /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/stub/ExpenseAppStub.java Note: /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/stub/ExpenseAppStub.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.
Executing: javac -classpath /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/classes -d /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/seVer /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/stub/ExpenseAppStub.java Note: /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/stub/ExpenseAppStub.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.
init
init
init
init
init
init
init
Executing: security default-keychain -s login.keychain Executing: java -Xmx1024m -jar xmlvm.jar --in=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/classes --resource=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/res/ --resource=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx/btres/ --lib=libzbar.a --out=/var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/build7998902750196710191xxx --target=iphonec --app-name=ExpenseApp -DXcodeProject=ios -DBundleIdentifier=com.em_projects.expense -DBundleVersion=1.0 -DBundleDisplayName=ExpenseSW -DStatusBarHidden=false -DPrerenderedIcon=false -DApplicationExits=false -DUISupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -DSupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -Dfilesharingenabled=false openssl pkcs12 -in /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/Cert8395875079804453326.p12 -out cert.crt.pem -password pass:Ran@1965 -passout pass:password

MAC verified OK
Unable to delete certificate matching "iPhone Developer: Ran Yossefi (DA5FBB5T45)"Executing: security delete-keychain temp security: SecKeychainDelete: The specified keychain could not be found.
Executing: security create-keychain -p password temp Executing: security default-keychain -s temp Executing: security unlock -p password temp Executing: security set-keychain-settings temp security import /var/folders/93/wp4hg37d4273962_9fsgtnjr0000gn/T/Cert8395875079804453326.p12 -PRan@1965 -A -k temp

1 identity imported.
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project ExpenseApp.xcodeproj/ -alltargets -configuration Release -sdk iphoneos6.1 build CODE_SIGN_IDENTITY=iPhone Developer: Ran Yossefi (DA5FBB5T45) KEYCHAIN=temp -arch armv7 Build settings from command line:
    ARCHS = armv7
    CODE_SIGN_IDENTITY = iPhone Developer: Ran Yossefi (DA5FBB5T45)
    KEYCHAIN = temp
    SDKROOT = iphoneos6.1

=== BUILD NATIVE TARGET ExpenseApp OF PROJECT ExpenseApp WITH CONFIGURATION Release ===
Check dependencies
Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates


** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)

On Tue, Oct 22, 2013 at 7:58 PM, Shai Almog <shai....@gmail.com> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/EiHrtnzq2yQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f221a7d1-353e-487c-9170-0faa1f77c487%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Sincerely,

Eyal Muchtar
EM-PROJECTS
+972-52-2405134
ey...@em-projects.com
Skype: eyalm_nm

Shai Almog

unread,
Oct 23, 2013, 3:20:05 AM10/23/13
to codenameone...@googlegroups.com
Did you update the app id to start with DA5FBB5T45 as explained in the link I provided?

Eyal Muchtar

unread,
Oct 23, 2013, 12:11:53 PM10/23/13
to codenameone-discussions, Shay Zukerman
We still get the following build error. We're using App Id: DA5FBB5T45.com.procurx.ExpressExpense

Executing: javac -classpath /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/classes -d /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/classes /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/stub/ExpenseAppStub.java Note: /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/stub/ExpenseAppStub.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.
Executing: javac -classpath /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/classes -d /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/seVer /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/stub/ExpenseAppStub.java Note: /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/stub/ExpenseAppStub.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.
init
init
init
init
init
init
init
Executing: security default-keychain -s login.keychain Executing: java -Xmx1024m -jar xmlvm.jar --in=/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/classes --resource=/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/res/ --resource=/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx/btres/ --lib=libzbar.a --out=/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build6598524798714124072xxx --target=iphonec --app-name=ExpenseApp -DXcodeProject=ios -DBundleIdentifier=com.em_projects.expense -DBundleVersion=1.0 -DBundleDisplayName=ExpenseSW -DStatusBarHidden=false -DPrerenderedIcon=false -DApplicationExits=false -DUISupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -DSupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -Dfilesharingenabled=false openssl pkcs12 -in /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/Cert625346328057315528.p12 -out cert.crt.pem -password pass:Ran@1965 -passout pass:password

MAC verified OK
Unable to delete certificate matching "iPhone Developer: Ran Yossefi (DA5FBB5T45)"Executing: security delete-keychain temp security: SecKeychainDelete: The specified keychain could not be found.
Executing: security create-keychain -p password temp Executing: security default-keychain -s temp Executing: security unlock -p password temp Executing: security set-keychain-settings temp security import /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/Cert625346328057315528.p12 -PRan@1965 -A -k temp

1 identity imported.
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project ExpenseApp.xcodeproj/ -alltargets -configuration Release -sdk iphoneos6.1 build CODE_SIGN_IDENTITY=iPhone Developer: Ran Yossefi (DA5FBB5T45) KEYCHAIN=temp -arch armv7 Build settings from command line:
    ARCHS = armv7
    CODE_SIGN_IDENTITY = iPhone Developer: Ran Yossefi (DA5FBB5T45)
    KEYCHAIN = temp
    SDKROOT = iphoneos6.1

=== BUILD NATIVE TARGET ExpenseApp OF PROJECT ExpenseApp WITH CONFIGURATION Release ===
Check dependencies
Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates


** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)


Please save our souls....


On Wed, Oct 23, 2013 at 10:20 AM, Shai Almog <shai....@gmail.com> wrote:
Did you update the app id to start with DA5FBB5T45 as explained in the link I provided?

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/EiHrtnzq2yQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.

For more options, visit https://groups.google.com/groups/opt_out.

Shai Almog

unread,
Oct 23, 2013, 12:30:30 PM10/23/13
to codenameone...@googlegroups.com, Shay Zukerman
Does your provisioning profile match the P12 certificate? Did you properly generate a P12 on a Mac machine?
Are you sure you didn't mix the debug/distribution certificates?

Eyal Muchtar

unread,
Oct 23, 2013, 12:38:15 PM10/23/13
to codenameone-discussions, Shay Zukerman
Hi Shai,

We have created a P12 file, from IOS development certifcate using "Keychain Access" on a Mac.
I really don't know how to create such files from the Provisioning profile.
Unlike the files we created this morning, we created a new APP id with the Dxxxx string prefix, and using it we created the provisioning profile.

Did you see the error message in the file I sent you?
It's:

Unable to delete certificate matching "iPhone Developer: Ran Yossefi (DA5FBB5T45)"Executing: security delete-keychain temp security: SecKeychainDelete: The specified keychain could not be found.

Thanks

Eyal



On Wed, Oct 23, 2013 at 7:30 PM, Shai Almog <shai....@gmail.com> wrote:
Does your provisioning profile match the P12 certificate? Did you properly generate a P12 on a Mac machine?
Are you sure you didn't mix the debug/distribution certificates?

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/EiHrtnzq2yQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.

For more options, visit https://groups.google.com/groups/opt_out.

Eyal Muchtar

unread,
Oct 23, 2013, 2:20:34 PM10/23/13
to codenameone-discussions
Thanks to your useful help we solved the problem and we hope to publish an IOS version of our application soon.


On Wed, Oct 23, 2013 at 7:30 PM, Shai Almog <shai....@gmail.com> wrote:
Does your provisioning profile match the P12 certificate? Did you properly generate a P12 on a Mac machine?
Are you sure you didn't mix the debug/distribution certificates?

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/EiHrtnzq2yQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.

For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages