Closed yujinfu closed 1 year ago
Please post the full error log, and at least provide the full steps to reproduce the issue. Its likely that your robovm.xml may be invalid as the message you get states, but difficult to say where it comes from without a log.
Hi @Tom-Ski , all the error message that Eclipse plugin told me was like the title said.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Try running from command line with gradle
----- Reply message ----- From: "yujinfu" notifications@github.com To: "MobiDevelop/robovm" robovm@noreply.github.com Cc: "Tomski" tomwojciechowski@asidik.com, "Mention" mention@noreply.github.com Subject: [MobiDevelop/robovm] Can't handle single and double quotes in same argument (#66) Date: Thu, Oct 20, 2016 20:05
Hi @Tom-Ski , all the error message that Eclipse plugin told me was like the title said.
my robovm.xml
${app.executable}
${app.mainclass}
ios
thumbv7
ios
Info.plist.xml
../core/assets
true
data
resources
com.badlogic.gdx.scenes.scene2d.ui.*
com.badlogic.gdx.graphics.g3d.particles.
com.android.okhttp.HttpHandler
com.android.okhttp.HttpsHandler
com.android.org.conscrypt.
com.android.org.bouncycastle.jce.provider.BouncyCastleProvider
com.android.org.bouncycastle.jcajce.provider.keystore.BC$Mappings
com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi
com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std
com.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi
com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL
org.apache.harmony.security.provider.cert.DRLCertFactory
org.apache.harmony.security.provider.crypto.CryptoProvider java.util..logging.
libs/ios/libgdx.a
libs/ios/libObjectAL.a
z
UIKit
OpenGLES
QuartzCore
CoreGraphics
OpenAL
AudioToolbox
AVFoundation
CoreBluetooth
my Info.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
CFBundleDevelopmentRegion
en
CFBundleDisplayName
${app.name}
CFBundleExecutable
${app.executable}
CFBundleIdentifier
${app.id}
CFBundleInfoDictionaryVersion
6.0
CFBundleName
${app.name}
CFBundlePackageType
APPL
CFBundleShortVersionString
${app.version}
CFBundleSignature
????
CFBundleVersion
${app.build}
LSRequiresIPhoneOS
UIViewControllerBasedStatusBarAppearance
UIStatusBarHidden
UIDeviceFamily
1
2
UIRequiresFullScreen
YES
NSAppTransportSecurity
NSAllowsArbitraryLoads
UIRequiredDeviceCapabilities
armv7
opengles-2
UISupportedInterfaceOrientations
UIInterfaceOrientationPortrait
CFBundleIcons
CFBundlePrimaryIcon
CFBundleIconFiles
Icon
Icon-72
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/MobiDevelop/robovm","title":"MobiDevelop/robovm","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/MobiDevelop/robovm"}},"updates":{"snippets":[{"icon":"PERSON","message":"@yujinfu in #66: Hi @Tom-Ski , all the error message that Eclipse plugin told me was like the title said.\r\n\r\n# my robovm.xml \r\n\u003cconfig\u003e\r\n \u003cexecutableName\u003e${app.executable}\u003c/executableName\u003e\r\n \u003cmainClass\u003e${app.mainclass}\u003c/mainClass\u003e\r\n \u003cos\u003eios\u003c/os\u003e\r\n \u003carch\u003ethumbv7\u003c/arch\u003e\r\n \u003ctarget\u003eios\u003c/target\u003e\r\n \u003ciosInfoPList\u003eInfo.plist.xml\u003c/iosInfoPList\u003e\r\n \u003cresources\u003e\r\n \u003cresource\u003e\r\n \u003cdirectory\u003e../core/assets\u003c/directory\u003e\r\n \u003cincludes\u003e\r\n \u003cinclude\u003e*\u003c/include\u003e\r\n \u003c/includes\u003e\r\n \u003cskipPngCrush\u003etrue\u003c/skipPngCrush\u003e\r\n \u003c/resource\u003e\r\n \u003cresource\u003e\r\n \u003cdirectory\u003edata\u003c/directory\u003e\r\n \u003c/resource\u003e\r\n \u003cresource\u003e\r\n \u003cdirectory\u003eresources\u003c/directory\u003e\r\n \u003c/resource\u003e\r\n \u003c/resources\u003e\r\n \u003cforceLinkClasses\u003e\r\n \u003cpattern\u003ecom.badlogic.gdx.scenes.scene2d.ui.\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.badlogic.gdx.graphics.g3d.particles.\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.okhttp.HttpHandler\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.okhttp.HttpsHandler\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.org.conscrypt.\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.org.bouncycastle.jce.provider.BouncyCastleProvider\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.org.bouncycastle.jcajce.provider.keystore.BC$Mappings\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi\u003c/pattern\u003e\r\n \u003cpattern\u003ecom.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL\u003c/pattern\u003e\r\n \u003cpattern\u003eorg.apache.harmony.security.provider.cert.DRLCertFactory\u003c/pattern\u003e\r\n \u003cpattern\u003eorg.apache.harmony.security.provider.crypto.CryptoProvider\u003c/pattern\u003e \u003cpattern\u003ejava.util.logging.**\u003c/pattern\u003e\t\r\n \u003c/forceLinkClasses\u003e\r\n \u003clibs\u003e\r\n \u003clib\u003elibs/ios/libgdx.a\u003c/lib\u003e\r\n \t\u003clib\u003elibs/ios/libObjectAL.a\u003c/lib\u003e\r\n \u003clib\u003ez\u003c/lib\u003e \r\n \u003c/libs\u003e\r\n \u003cframeworks\u003e\r\n \u003cframework\u003eUIKit\u003c/framework\u003e\r\n \u003cframework\u003eOpenGLES\u003c/framework\u003e\r\n \u003cframework\u003eQuartzCore\u003c/framework\u003e\r\n \u003cframework\u003eCoreGraphics\u003c/framework\u003e\r\n \u003cframework\u003eOpenAL\u003c/framework\u003e\r\n \u003cframework\u003eAudioToolbox\u003c/framework\u003e\r\n \u003cframework\u003eAVFoundation\u003c/framework\u003e\r\n \u003cframewori\u003eCoreBluetooth\u003c/framewori\u003e\r\n \u003c/frameworks\u003e\r\n\u003c/config\u003e\r\n\r\n# my Info.plist:\r\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\r\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\r\n\u003cplist version=\"1.0\"\u003e\r\n\u003cdict\u003e\r\n \u003ckey\u003eCFBundleDevelopmentRegion\u003c/key\u003e\r\n \u003cstring\u003een\u003c/string\u003e\r\n \u003ckey\u003eCFBundleDisplayName\u003c/key\u003e\r\n \u003cstring\u003e${app.name}\u003c/string\u003e\r\n \u003ckey\u003eCFBundleExecutable\u003c/key\u003e\r\n \u003cstring\u003e${app.executable}\u003c/string\u003e\r\n \u003ckey\u003eCFBundleIdentifier\u003c/key\u003e\r\n \u003cstring\u003e${app.id}\u003c/string\u003e\r\n \u003ckey\u003eCFBundleInfoDictionaryVersion\u003c/key\u003e\r\n \u003cstring\u003e6.0\u003c/string\u003e\r\n \u003ckey\u003eCFBundleName\u003c/key\u003e\r\n \u003cstring\u003e${app.name}\u003c/string\u003e\r\n \u003ckey\u003eCFBundlePackageType\u003c/key\u003e\r\n \u003cstring\u003eAPPL\u003c/string\u003e\r\n \u003ckey\u003eCFBundleShortVersionString\u003c/key\u003e\r\n \u003cstring\u003e${app.version}\u003c/string\u003e\r\n \u003ckey\u003eCFBundleSignature\u003c/key\u003e\r\n \u003cstring\u003e????\u003c/string\u003e\r\n \u003ckey\u003eCFBundleVersion\u003c/key\u003e\r\n \u003cstring\u003e${app.build}\u003c/string\u003e\r\n \u003ckey\u003eLSRequiresIPhoneOS\u003c/key\u003e\r\n \u003ctrue/\u003e\r\n \u003ckey\u003eUIViewControllerBasedStatusBarAppearance\u003c/key\u003e\r\n \u003cfalse/\u003e\r\n \u003ckey\u003eUIStatusBarHidden\u003c/key\u003e\r\n \u003ctrue/\u003e\r\n \u003ckey\u003eUIDeviceFamily\u003c/key\u003e\r\n \u003carray\u003e\r\n \u003cinteger\u003e1\u003c/integer\u003e\r\n \u003cinteger\u003e2\u003c/integer\u003e\r\n \u003c/array\u003e\r\n \u003ckey\u003eUIRequiresFullScreen\u003c/key\u003e\r\n \u003cstring\u003eYES\u003c/string\u003e\r\n \u003ckey\u003eNSAppTransportSecurity\u003c/key\u003e\r\n\t\u003cdict\u003e\r\n\t \u003ckey\u003eNSAllowsArbitraryLoads\u003c/key\u003e\r\n\t \u003ctrue/\u003e\r\n\t\u003c/dict\u003e\r\n \u003ckey\u003eUIRequiredDeviceCapabilities\u003c/key\u003e\r\n \u003carray\u003e\r\n \u003cstring\u003earmv7\u003c/string\u003e\r\n \u003cstring\u003eopengles-2\u003c/string\u003e\r\n \u003c/array\u003e\r\n \u003ckey\u003eUISupportedInterfaceOrientations\u003c/key\u003e\r\n \u003carray\u003e\r\n \u003cstring\u003eUIInterfaceOrientationPortrait\u003c/string\u003e\r\n \u003c/array\u003e\r\n \u003ckey\u003eCFBundleIcons\u003c/key\u003e\r\n \u003cdict\u003e\r\n \u003ckey\u003eCFBundlePrimaryIcon\u003c/key\u003e\r\n \u003cdict\u003e\r\n \u003ckey\u003eCFBundleIconFiles\u003c/key\u003e\r\n \u003carray\u003e\r\n \u003cstring\u003eIcon\u003c/string\u003e\r\n \u003cstring\u003eIcon-72\u003c/string\u003e\r\n \u003c/array\u003e\r\n \u003c/dict\u003e\r\n \u003c/dict\u003e\r\n\u003c/dict\u003e\r\n\u003c/plist\u003e"}],"action":{"name":"View Issue","url":"https://github.com/MobiDevelop/robovm/issues/66#issuecomment-255198573"}}}
Hi Tom-Ski , thanks for your suggestion. But I use Eclipse ui plugin( no gradle ), now everytime when I launch Eclipse and run application into ios device, the error always occure, and I just close Eclipse and delete
the files in Eclipse's workspace and launch Eclipse again, and the error gone.
I don't know why it work by this way. Could you please help me , thanks very much.
Hi, I use robovm eclipse plugin which version is 2.2.1 snapshot (not gradle) when I run application to IOS device , it told me that: Can't handle single and double quotes in same argument. What happen? could you please help me? Thanks very much.
Build Tools:
Versions:
Please provide the version of RoboVM, XCode and JDK used
**Build Targets: IOS 8.3 IOS10.0