{
"id": "77731",
"key": "AC-2783",
"fields": {
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
},
"project": {
"id": "12217",
"key": "AC",
"name": "Appcelerator - INBOX",
"projectCategory": {
"id": "10000",
"description": "",
"name": "Customer Service"
}
},
"resolution": {
"id": "8",
"description": "",
"name": "Needs more info"
},
"resolutiondate": "2011-09-05T07:56:19.000+0000",
"created": "2011-07-12T20:50:41.000+0000",
"labels": [
"codecs",
"compiler",
"python"
],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "tguntharp",
"key": "tguntharp",
"displayName": "Tony Guntharp",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2016-03-08T07:47:41.000+0000",
"status": {
"description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.",
"name": "Closed",
"id": "6",
"statusCategory": {
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
"components": [
{
"id": "14550",
"name": "Appcelerator Modules",
"description": "Please enter tickets related to Modules here."
},
{
"id": "14548",
"name": "Titanium SDK & CLI",
"description": "Please enter tickets related to the MobileSDK here."
}
],
"description": "When I try to add Arabic characters to info.plist as a \"bundle display name\" and \"bundle name\", it will report errors like this:\r\n\r\n{code}\r\n File \"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py\", line 351, in write\r\n data, consumed = self.encode(object, self.errors)\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 235: ordinal not in range(128)\r\nCommand /bin/sh failed with exit code 1\r\n{code}\r\n\r\nthis bug is very critical to all languages except English since we cant name our apps in our languages\r\n\r\nyou can see the bug occurs even when writing in chinese as reported here:\r\n\r\nhttp://developer.appcelerator.com/question/117569/python-compiling-scripts-could-not-handle-utf8-characters\r\n\r\nthe following code is the info.plist for my project and cause the problem when I set the \"Bundle name\" value to non-english characters -in my case it was arabic-\r\n\r\n{code:xml} \r\n\r\n\r\n\r\n\r\n\r\n\tCFBundleDevelopmentRegion\r\n\tEnglish\r\n\tCFBundleDisplayName\r\n\t${PRODUCT_NAME}\r\n\tCFBundleExecutable\r\n\t${EXECUTABLE_NAME}\r\n\tCFBundleIconFile\r\n\tappicon.png\r\n\tCFBundleIconFiles\r\n\t\r\n\t\tappicon.png\r\n\t\tappicon@2x.png\r\n\t\r\n\tCFBundleIdentifier\r\n\tcom.efadah.shagaf\r\n\tCFBundleInfoDictionaryVersion\r\n\t6.0\r\n\tCFBundleName\r\n\tشغف التعلم\r\n\tCFBundlePackageType\r\n\tAPPL\r\n\tCFBundleSignature\r\n\t????\r\n\tCFBundleURLTypes\r\n\t\r\n\t\t\r\n\t\t\tCFBundleURLName\r\n\t\t\tcom.efadah.shagaf\r\n\t\t\tCFBundleURLSchemes\r\n\t\t\t\r\n\t\t\t\tomarshagaf\r\n\t\t\t\r\n\t\t\r\n\t\r\n\tCFBundleVersion\r\n\t1.0\r\n\tLSRequiresIPhoneOS\r\n\t\r\n\tUIStatusBarStyle\r\n\tUIStatusBarStyleDefault\r\n\tUISupportedInterfaceOrientations~ipad\r\n\t\r\n\t\tUIInterfaceOrientationPortrait\r\n\t\tUIInterfaceOrientationPortraitUpsideDown\r\n\t\tUIInterfaceOrientationLandscapeLeft\r\n\t\tUIInterfaceOrientationLandscapeRight\r\n\t\r\n\r\n\r\n{code} \r\n\r\n\r\nand here is the log for the project\r\n\r\n{code}\r\n\r\nBuild target omar shagaf\r\n\r\nPhaseScriptExecution Pre-Compile \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/Script-241EAF36118E30260081A5BE.sh\"\r\n cd \"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone\"\r\n setenv ACTION build\r\n setenv AD_HOC_CODE_SIGNING_ALLOWED NO\r\n setenv ALTERNATE_GROUP staff\r\n setenv ALTERNATE_MODE u+w,go-w,a+rX\r\n setenv ALTERNATE_OWNER MacBook\r\n setenv ALWAYS_SEARCH_USER_PATHS NO\r\n setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer\r\n setenv APPLE_INTERNAL_DIR /AppleInternal\r\n setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation\r\n setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library\r\n setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools\r\n setenv APPLY_RULES_IN_COPY_FILES NO\r\n setenv ARCHS \"armv7 armv6\"\r\n setenv ARCHS_STANDARD_32_64_BIT \"armv6 armv7\"\r\n setenv ARCHS_STANDARD_32_BIT \"armv6 armv7\"\r\n setenv ARCHS_UNIVERSAL_IPHONE_OS armv7\r\n setenv AVAILABLE_PLATFORMS \"iphonesimulator macosx iphoneos\"\r\n setenv BUILD_COMPONENTS \"headers build\"\r\n setenv BUILD_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath\"\r\n setenv BUILD_ROOT \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath\"\r\n setenv BUILD_STYLE \r\n setenv BUILD_VARIANTS normal\r\n setenv BUILT_PRODUCTS_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos\"\r\n setenv CACHE_ROOT /var/folders/rk/g3c07kfd4mx093vtdgpwmgrw0000gn/C/com.apple.Xcode.501\r\n setenv CCHROOT /var/folders/rk/g3c07kfd4mx093vtdgpwmgrw0000gn/C/com.apple.Xcode.501\r\n setenv CHMOD /bin/chmod\r\n setenv CHOWN /usr/sbin/chown\r\n setenv CLASS_FILE_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/JavaClasses\"\r\n setenv CLEAN_PRECOMPS YES\r\n setenv CLONE_HEADERS NO\r\n setenv CODESIGNING_FOLDER_PATH \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/InstallationBuildProductsLocation/Applications/شغف التعلم.app\"\r\n setenv CODE_SIGNING_ALLOWED YES\r\n setenv CODE_SIGNING_REQUIRED YES\r\n setenv CODE_SIGN_CONTEXT_CLASS XCiPhoneOSCodeSignContext\r\n setenv CODE_SIGN_IDENTITY \"iPhone Distribution: ahmed s a al arifi\"\r\n setenv COMBINE_HIDPI_IMAGES NO\r\n setenv COMMAND_MODE legacy\r\n setenv COMPOSITE_SDK_DIRS /var/folders/rk/g3c07kfd4mx093vtdgpwmgrw0000gn/C/com.apple.Xcode.501/CompositeSDKs\r\n setenv COMPRESS_PNG_FILES YES\r\n setenv CONFIGURATION Release\r\n setenv CONFIGURATION_BUILD_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos\"\r\n setenv CONFIGURATION_TEMP_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos\"\r\n setenv CONTENTS_FOLDER_PATH \"شغف التعلم.app\"\r\n setenv COPYING_PRESERVES_HFS_DATA NO\r\n setenv COPY_PHASE_STRIP YES\r\n setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES\r\n setenv CP /bin/cp\r\n setenv CURRENT_ARCH armv6\r\n setenv CURRENT_VARIANT normal\r\n setenv DEAD_CODE_STRIPPING YES\r\n setenv DEBUGGING_SYMBOLS YES\r\n setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym\r\n setenv DEPLOYMENT_LOCATION YES\r\n setenv DEPLOYMENT_POSTPROCESSING YES\r\n setenv DERIVED_FILES_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/DerivedSources\"\r\n setenv DERIVED_FILE_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/DerivedSources\"\r\n setenv DERIVED_SOURCES_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/DerivedSources\"\r\n setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications\r\n setenv DEVELOPER_BIN_DIR /Developer/usr/bin\r\n setenv DEVELOPER_DIR /Developer\r\n setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks\r\n setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED \"\\\"/Developer/Library/Frameworks\\\"\"\r\n setenv DEVELOPER_LIBRARY_DIR /Developer/Library\r\n setenv DEVELOPER_SDK_DIR /Developer/SDKs\r\n setenv DEVELOPER_TOOLS_DIR /Developer/Tools\r\n setenv DEVELOPER_USR_DIR /Developer/usr\r\n setenv DEVELOPMENT_LANGUAGE English\r\n setenv DOCUMENTATION_FOLDER_PATH \"شغف التعلم.app/English.lproj/Documentation\"\r\n setenv DO_HEADER_SCANNING_IN_JAM NO\r\n setenv DSTROOT \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/InstallationBuildProductsLocation\"\r\n setenv DWARF_DSYM_FILE_NAME \"شغف التعلم.app.dSYM\"\r\n setenv DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT NO\r\n setenv DWARF_DSYM_FOLDER_PATH \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos\"\r\n setenv EFFECTIVE_PLATFORM_NAME -iphoneos\r\n setenv EMBEDDED_PROFILE_NAME embedded.mobileprovision\r\n setenv ENABLE_HEADER_DEPENDENCIES YES\r\n setenv ENABLE_OPENMP_SUPPORT NO\r\n setenv ENTITLEMENTS_ALLOWED YES\r\n setenv ENTITLEMENTS_REQUIRED YES\r\n setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS \".svn CVS\"\r\n setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES \"*.nib *.lproj *.framework *.gch (*) CVS .svn .git *.xcodeproj *.xcode *.pbproj *.pbxproj\"\r\n setenv EXECUTABLES_FOLDER_PATH \"شغف التعلم.app/Executables\"\r\n setenv EXECUTABLE_FOLDER_PATH \"شغف التعلم.app\"\r\n setenv EXECUTABLE_NAME \"شغف التعلم\"\r\n setenv EXECUTABLE_PATH \"شغف التعلم.app/شغف التعلم\"\r\n setenv FILE_LIST \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/Objects/LinkFileList\"\r\n setenv FIXED_FILES_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/FixedFiles\"\r\n setenv FRAMEWORKS_FOLDER_PATH \"شغف التعلم.app/Frameworks\"\r\n setenv FRAMEWORK_FLAG_PREFIX -framework\r\n setenv FRAMEWORK_SEARCH_PATHS \"\\\"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos\\\" \"\r\n setenv FRAMEWORK_VERSION A\r\n setenv FULL_PRODUCT_NAME \"شغف التعلم.app\"\r\n setenv GCC3_VERSION 3.3\r\n setenv GCC_C_LANGUAGE_STANDARD c99\r\n setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES\r\n setenv GCC_PFE_FILE_C_DIALECTS \"c objective-c c++ objective-c++\"\r\n setenv GCC_PRECOMPILE_PREFIX_HEADER YES\r\n setenv GCC_PREFIX_HEADER \"omar shagaf_Prefix.pch\"\r\n setenv GCC_PREPROCESSOR_DEFINITIONS TI_VERSION=1.7.2\r\n setenv GCC_SYMBOLS_PRIVATE_EXTERN YES\r\n setenv GCC_THUMB_SUPPORT YES\r\n setenv GCC_TREAT_WARNINGS_AS_ERRORS NO\r\n setenv GCC_VERSION com.apple.compilers.llvmgcc42\r\n setenv GCC_VERSION_IDENTIFIER com_apple_compilers_llvmgcc42\r\n setenv GCC_WARN_ABOUT_RETURN_TYPE NO\r\n setenv GCC_WARN_MISSING_PARENTHESES NO\r\n setenv GCC_WARN_SHADOW NO\r\n setenv GCC_WARN_STRICT_SELECTOR_MATCH NO\r\n setenv GCC_WARN_UNUSED_FUNCTION YES\r\n setenv GCC_WARN_UNUSED_PARAMETER NO\r\n setenv GCC_WARN_UNUSED_VALUE NO\r\n setenv GCC_WARN_UNUSED_VARIABLE NO\r\n setenv GENERATE_MASTER_OBJECT_FILE NO\r\n setenv GENERATE_PKGINFO_FILE YES\r\n setenv GENERATE_PROFILING_CODE NO\r\n setenv GID 20\r\n setenv GROUP staff\r\n setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES\r\n setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES\r\n setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES\r\n setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES\r\n setenv HEADER_SEARCH_PATHS \"\\\"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos/include\\\" /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/include/libxml2 headers\"\r\n setenv ICONV /usr/bin/iconv\r\n setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES\r\n setenv INFOPLIST_FILE Info.plist\r\n setenv INFOPLIST_OUTPUT_FORMAT binary\r\n setenv INFOPLIST_PATH \"شغف التعلم.app/Info.plist\"\r\n setenv INFOPLIST_PREPROCESS NO\r\n setenv INFOSTRINGS_PATH \"شغف التعلم.app/English.lproj/InfoPlist.strings\"\r\n setenv INSTALL_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/InstallationBuildProductsLocation/Applications\"\r\n setenv INSTALL_GROUP staff\r\n setenv INSTALL_MODE_FLAG u+w,go-w,a+rX\r\n setenv INSTALL_OWNER MacBook\r\n setenv INSTALL_PATH /Applications\r\n setenv INSTALL_ROOT \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/InstallationBuildProductsLocation\"\r\n setenv IPHONEOS_DEPLOYMENT_TARGET 4.3\r\n setenv JAVAC_DEFAULT_FLAGS \"-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8\"\r\n setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub\r\n setenv JAVA_ARCHIVE_CLASSES YES\r\n setenv JAVA_ARCHIVE_TYPE JAR\r\n setenv JAVA_COMPILER /usr/bin/javac\r\n setenv JAVA_FOLDER_PATH \"شغف التعلم.app/Java\"\r\n setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources\r\n setenv JAVA_JAR_FLAGS cv\r\n setenv JAVA_SOURCE_SUBDIR .\r\n setenv JAVA_USE_DEPENDENCIES YES\r\n setenv JAVA_ZIP_FLAGS -urg\r\n setenv JIKES_DEFAULT_FLAGS \"+E +OLDCSO\"\r\n setenv KEEP_PRIVATE_EXTERNS NO\r\n setenv LD_GENERATE_MAP_FILE NO\r\n setenv LD_MAP_FILE_PATH \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/شغف التعلم-LinkMap-normal-armv6.txt\"\r\n setenv LD_NO_PIE NO\r\n setenv LD_OPENMP_FLAGS -fopenmp\r\n setenv LEGACY_DEVELOPER_DIR /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer\r\n setenv LEX /Developer/usr/bin/lex\r\n setenv LIBRARY_FLAG_NOSPACE YES\r\n setenv LIBRARY_FLAG_PREFIX -l\r\n setenv LIBRARY_SEARCH_PATHS \"\\\"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos\\\" \\\"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone/lib\\\" \\\"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone/../../../../tmp/debug/build\\\" \\\"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone/../../../../tmp/staticlib/build/Debug-iphonesimulator\\\" \\\"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone/../../../tijs/TiCore/TiCore/build/Release-iphonesimulator\\\"\"\r\n setenv LINKER_DISPLAYS_MANGLED_NAMES NO\r\n setenv LINK_FILE_LIST_normal_armv6 \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/Objects-normal/armv6/شغف التعلم.LinkFileList\"\r\n setenv LINK_FILE_LIST_normal_armv7 \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/Objects-normal/armv7/شغف التعلم.LinkFileList\"\r\n setenv LINK_WITH_STANDARD_LIBRARIES YES\r\n setenv LOCALIZED_RESOURCES_FOLDER_PATH \"شغف التعلم.app/English.lproj\"\r\n setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities\r\n setenv LOCAL_APPS_DIR /Applications\r\n setenv LOCAL_DEVELOPER_DIR /Library/Developer\r\n setenv LOCAL_LIBRARY_DIR /Library\r\n setenv MACH_O_TYPE mh_execute\r\n setenv MAC_OS_X_PRODUCT_BUILD_VERSION 11A511\r\n setenv MAC_OS_X_VERSION_ACTUAL 1070\r\n setenv MAC_OS_X_VERSION_MAJOR 1070\r\n setenv MAC_OS_X_VERSION_MINOR 0700\r\n setenv NATIVE_ARCH armv6\r\n setenv NATIVE_ARCH_32_BIT i386\r\n setenv NATIVE_ARCH_64_BIT x86_64\r\n setenv NATIVE_ARCH_ACTUAL x86_64\r\n setenv NO_COMMON YES\r\n setenv OBJECT_FILE_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/Objects\"\r\n setenv OBJECT_FILE_DIR_normal \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/Objects-normal\"\r\n setenv OBJROOT \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath\"\r\n setenv ONLY_ACTIVE_ARCH NO\r\n setenv OPTIMIZATION_LEVEL 0\r\n setenv OS MACOS\r\n setenv OSAC /usr/bin/osacompile\r\n setenv OTHER_CFLAGS -DTI_POST_1_2\r\n setenv OTHER_CPLUSPLUSFLAGS -DTI_POST_1_2\r\n setenv OTHER_LDFLAGS \"-ObjC -weak_framework iAd -weak_framework iAd -weak_framework CoreMedia -weak_framework CoreVideo\"\r\n setenv PACKAGE_TYPE com.apple.package-type.wrapper.application\r\n setenv PASCAL_STRINGS YES\r\n setenv PATH \"/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES \"/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms\"\r\n setenv PBDEVELOPMENTPLIST_PATH \"شغف التعلم.app/pbdevelopment.plist\"\r\n setenv PFE_FILE_C_DIALECTS \"c objective-c c++ objective-c++\"\r\n setenv PKGINFO_FILE_PATH \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/PkgInfo\"\r\n setenv PKGINFO_PATH \"شغف التعلم.app/PkgInfo\"\r\n setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Developer/Platforms/iPhoneOS.platform/Developer/Applications\r\n setenv PLATFORM_DEVELOPER_BIN_DIR /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin\r\n setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library\r\n setenv PLATFORM_DEVELOPER_SDK_DIR /Developer/Platforms/iPhoneOS.platform/Developer/SDKs\r\n setenv PLATFORM_DEVELOPER_TOOLS_DIR /Developer/Platforms/iPhoneOS.platform/Developer/Tools\r\n setenv PLATFORM_DEVELOPER_USR_DIR /Developer/Platforms/iPhoneOS.platform/Developer/usr\r\n setenv PLATFORM_DIR /Developer/Platforms/iPhoneOS.platform\r\n setenv PLATFORM_NAME iphoneos\r\n setenv PLATFORM_PREFERRED_ARCH i386\r\n setenv PLATFORM_PRODUCT_BUILD_VERSION 8H7\r\n setenv PLIST_FILE_OUTPUT_FORMAT binary\r\n setenv PLUGINS_FOLDER_PATH \"شغف التعلم.app/PlugIns\"\r\n setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES\r\n setenv PRECOMP_DESTINATION_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/PrefixHeaders\"\r\n setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO\r\n setenv PRIVATE_HEADERS_FOLDER_PATH \"شغف التعلم.app/PrivateHeaders\"\r\n setenv PRODUCT_NAME \"شغف التعلم\"\r\n setenv PRODUCT_SETTINGS_PATH \"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone/Info.plist\"\r\n setenv PRODUCT_TYPE com.apple.product-type.application\r\n setenv PROFILING_CODE NO\r\n setenv PROJECT \"omar shagaf\"\r\n setenv PROJECT_DERIVED_FILE_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/DerivedSources\"\r\n setenv PROJECT_DIR \"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone\"\r\n setenv PROJECT_FILE_PATH \"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone/omar shagaf.xcodeproj\"\r\n setenv PROJECT_NAME \"omar shagaf\"\r\n setenv PROJECT_TEMP_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build\"\r\n setenv PROVISIONING_PROFILE 7E509024-0274-4144-8E5A-9BEC4AFDF41B\r\n setenv PROVISIONING_PROFILE_REQUIRED YES\r\n setenv PUBLIC_HEADERS_FOLDER_PATH \"شغف التعلم.app/Headers\"\r\n setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES\r\n setenv REMOVE_CVS_FROM_RESOURCES YES\r\n setenv REMOVE_GIT_FROM_RESOURCES YES\r\n setenv REMOVE_SVN_FROM_RESOURCES YES\r\n setenv RESOURCE_RULES_REQUIRED YES\r\n setenv REZ_COLLECTOR_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/ResourceManagerResources\"\r\n setenv REZ_OBJECTS_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/ResourceManagerResources/Objects\"\r\n setenv REZ_SEARCH_PATHS \"\\\"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos\\\" \"\r\n setenv RUN_CLANG_STATIC_ANALYZER NO\r\n setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO\r\n setenv SCRIPTS_FOLDER_PATH \"شغف التعلم.app/Scripts\"\r\n setenv SCRIPT_INPUT_FILE_COUNT 0\r\n setenv SCRIPT_OUTPUT_FILE_COUNT 0\r\n setenv SDKROOT /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk\r\n setenv SDK_DIR /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk\r\n setenv SDK_NAME iphoneos4.3\r\n setenv SDK_PRODUCT_BUILD_VERSION 8H7\r\n setenv SED /usr/bin/sed\r\n setenv SEPARATE_STRIP NO\r\n setenv SEPARATE_SYMBOL_EDIT NO\r\n setenv SET_DIR_MODE_OWNER_GROUP YES\r\n setenv SET_FILE_MODE_OWNER_GROUP NO\r\n setenv SHALLOW_BUNDLE YES\r\n setenv SHARED_DERIVED_FILE_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath/Release-iphoneos/DerivedSources\"\r\n setenv SHARED_FRAMEWORKS_FOLDER_PATH \"شغف التعلم.app/SharedFrameworks\"\r\n setenv SHARED_PRECOMPS_DIR /Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/Build/PrecompiledHeaders\r\n setenv SHARED_SUPPORT_FOLDER_PATH \"شغف التعلم.app/SharedSupport\"\r\n setenv SKIP_INSTALL NO\r\n setenv SOURCE_ROOT \"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone\"\r\n setenv SRCROOT \"/Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/build/iphone\"\r\n setenv STRINGS_FILE_OUTPUT_ENCODING binary\r\n setenv STRIP_INSTALLED_PRODUCT YES\r\n setenv STRIP_STYLE all\r\n setenv SUPPORTED_DEVICE_FAMILIES 1,2\r\n setenv SUPPORTED_PLATFORMS \"iphonesimulator iphoneos\"\r\n setenv SYMROOT \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/BuildProductsPath\"\r\n setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities\r\n setenv SYSTEM_APPS_DIR /Applications\r\n setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices\r\n setenv SYSTEM_DEMOS_DIR /Applications/Extras\r\n setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications\r\n setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin\r\n setenv SYSTEM_DEVELOPER_DEMOS_DIR \"/Developer/Applications/Utilities/Built Examples\"\r\n setenv SYSTEM_DEVELOPER_DIR /Developer\r\n setenv SYSTEM_DEVELOPER_DOC_DIR \"/Developer/ADC Reference Library\"\r\n setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR \"/Developer/Applications/Graphics Tools\"\r\n setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR \"/Developer/Applications/Java Tools\"\r\n setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR \"/Developer/Applications/Performance Tools\"\r\n setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR \"/Developer/ADC Reference Library/releasenotes\"\r\n setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools\r\n setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR \"/Developer/ADC Reference Library/documentation/DeveloperTools\"\r\n setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR \"/Developer/ADC Reference Library/releasenotes/DeveloperTools\"\r\n setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr\r\n setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities\r\n setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation\r\n setenv SYSTEM_LIBRARY_DIR /System/Library\r\n setenv TARGETED_DEVICE_FAMILY 2\r\n setenv TARGETNAME \"omar shagaf\"\r\n setenv TARGET_BUILD_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/InstallationBuildProductsLocation/Applications\"\r\n setenv TARGET_NAME \"omar shagaf\"\r\n setenv TARGET_TEMP_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build\"\r\n setenv TEMP_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build\"\r\n setenv TEMP_FILES_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build\"\r\n setenv TEMP_FILE_DIR \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build\"\r\n setenv TEMP_ROOT \"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath\"\r\n setenv TEST_AFTER_BUILD NO\r\n setenv TI_APPID com.efadah.shagaf\r\n setenv TI_SDK_DIR \"/Users/MacBook/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone\"\r\n setenv TI_VERSION 1.7.2\r\n setenv UID 501\r\n setenv UNLOCALIZED_RESOURCES_FOLDER_PATH \"شغف التعلم.app\"\r\n setenv UNSTRIPPED_PRODUCT NO\r\n setenv USER MacBook\r\n setenv USER_APPS_DIR /Users/MacBook/Applications\r\n setenv USER_LIBRARY_DIR /Users/MacBook/Library\r\n setenv USE_DYNAMIC_NO_PIC YES\r\n setenv USE_HEADERMAP YES\r\n setenv USE_HEADER_SYMLINKS NO\r\n setenv VALIDATE_PRODUCT YES\r\n setenv VALID_ARCHS \"armv6 armv7\"\r\n setenv VERBOSE_PBXCP NO\r\n setenv VERSIONPLIST_PATH \"شغف التعلم.app/version.plist\"\r\n setenv VERSION_INFO_BUILDER MacBook\r\n setenv VERSION_INFO_FILE \"شغف التعلم_vers.c\"\r\n setenv VERSION_INFO_STRING \"\\\"@(#)PROGRAM:شغف التعلم PROJECT:omar shagaf-\\\"\"\r\n setenv WRAPPER_EXTENSION app\r\n setenv WRAPPER_NAME \"شغف التعلم.app\"\r\n setenv WRAPPER_SUFFIX .app\r\n setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode\r\n setenv XCODE_PRODUCT_BUILD_VERSION 4B110\r\n setenv XCODE_VERSION_ACTUAL 0410\r\n setenv XCODE_VERSION_MAJOR 0400\r\n setenv XCODE_VERSION_MINOR 0410\r\n setenv YACC /Developer/usr/bin/yacc\r\n /bin/sh -c \"\\\"/Users/MacBook/Library/Developer/Xcode/DerivedData/omar_shagaf-hbbdoxdkkalzysawprcwflcmvotp/ArchiveIntermediates/omar shagaf/IntermediateBuildFilesPath/omar shagaf.build/Release-iphoneos/omar shagaf.build/Script-241EAF36118E30260081A5BE.sh\\\"\"\r\n\r\n[INFO] One moment, building ...\r\n[DEBUG] Detecting modules in /Users/MacBook/Documents/Titanium Studio Workspace/omar shagaf/modules\r\n[DEBUG] Detecting modules in /Users/MacBook/Library/Application Support/Titanium/modules\r\n[INFO] Titanium SDK version: 1.7.2\r\n[INFO] iPhone Device family: ipad\r\n[INFO] iPhone SDK version: 4.3\r\nTraceback (most recent call last):\r\n File \"/Users/MacBook/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/builder.py\", line 1406, in \r\n main(sys.argv)\r\n File \"/Users/MacBook/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/builder.py\", line 451, in main\r\n compiler = Compiler(project_dir,appid,name,deploytype,xcode_build,devicefamily,iphone_version)\r\n File \"/Users/MacBook/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/compiler.py\", line 226, in __init__\r\n self.copy_resources([iphone_resources_dir],app_dir,False)\r\n File \"/Users/MacBook/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/compiler.py\", line 530, in copy_resources\r\n add_compiled_resources(source,target)\r\n File \"/Users/MacBook/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/compiler.py\", line 447, in add_compiled_resources\r\n print \"[DEBUG] copy resources from %s to %s\" % (source,target)\r\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py\", line 351, in write\r\n data, consumed = self.encode(object, self.errors)\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 283: ordinal not in range(128)\r\nCommand /bin/sh failed with exit code 1\r\n\r\n\r\n{code}\r\n\r\n\r\nplease notice the line in the log\r\n{code}\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 283: ordinal not in range(128)\r\nCommand /bin/sh failed with exit code 1\r\n{code}\r\n\r\nwhen build any titanium mobile project and set \"Bundle name\" in info.plist to arabic language or any language -i think- other than english you will have the error I am having right now ",
"attachment": [],
"flagged": false,
"summary": "python compiling scripts could not handle utf8 characters",
"creator": {
"name": "oooobs",
"key": "oooobs",
"displayName": "Ahmed alarifi",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "oooobs",
"key": "oooobs",
"displayName": "Ahmed alarifi",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "MAC OSX 10.6.8\r\nTitanium Mobile SDK 1.7.2",
"comment": {
"comments": [
{
"id": "160654",
"author": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"body": "Ahmed\r\n\r\nWould you please provide the files you are using, preferably added in code blocks in the body of this ticket so that it's easy for people to review. Please provide the SDK date and hash you have tested. Please provide the logs of the file/exception.\r\n\r\nPlease also read the [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist] to discover what is required in order for tickets to be accepted.\r\n\r\nMany thanks\r\n",
"updateAuthor": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"created": "2011-07-26T15:57:51.000+0000",
"updated": "2011-07-26T15:57:51.000+0000"
},
{
"id": "162133",
"author": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"body": "As there has been no response, we will resolve this ticket for now. If you have time, you are welcome to add the requested information and we will reopen it.\n\nThanks",
"updateAuthor": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"created": "2011-08-08T08:05:06.000+0000",
"updated": "2011-08-08T08:05:06.000+0000"
},
{
"id": "162200",
"author": {
"name": "oooobs",
"key": "oooobs",
"displayName": "Ahmed alarifi",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "I updated the ticket please have a look at it\r\nMany thanks",
"updateAuthor": {
"name": "oooobs",
"key": "oooobs",
"displayName": "Ahmed alarifi",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2011-08-08T20:34:04.000+0000",
"updated": "2011-08-08T20:34:04.000+0000"
},
{
"id": "162597",
"author": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"body": "Ahmed\r\n\r\nIt looks pretty good, but still the environment field need to be completed. It doesn't even state what platform you are using, or the build hash.\r\n\r\nOnce these small things are corrected, I will move the ticket across.\r\n\r\nThanks for the update.\r\n\r\n",
"updateAuthor": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"created": "2011-08-11T11:09:21.000+0000",
"updated": "2011-08-11T11:09:21.000+0000"
},
{
"id": "165027",
"author": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"body": "No response from user.",
"updateAuthor": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"created": "2011-09-05T07:56:19.000+0000",
"updated": "2011-09-05T07:56:19.000+0000"
},
{
"id": "168254",
"author": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"body": "Closing due to inactivity.",
"updateAuthor": {
"name": "pdowsett",
"key": "pdowsett",
"displayName": "Paul Dowsett",
"active": true,
"timeZone": "Europe/London"
},
"created": "2011-10-07T05:48:05.000+0000",
"updated": "2011-10-07T05:48:05.000+0000"
}
],
"maxResults": 6,
"total": 6,
"startAt": 0
}
}
}