0 Replies Latest reply on Feb 19, 2013 1:03 AM by DotifyDude

    Packaging for iphone simulator

    DotifyDude

      Hi guys,

       

      I'm learning how to use air packager for an Iphone project, it's all rolling fine, I only have issue when I try packaging for iphone simulator. here is my sh file

       

      PACK_PATH="packager-directory"

      APP_PATH="${PACK_PATH}/application"

      KEYS_PATH="${PACK_PATH}/keys"

      DEPLOY_PATH="${PACK_PATH}/deploy"

      SDK_PATH="/Users/gillesboisson/Development/SDK/air_sdk_3.6"

       

      # Apple packaging infos

      PROVISION_PROFILE_FILE="gilles-iphone.mobileprovision"

      CERTIFICATE_FILE="gillesboisson.p12"

      CERTIFICATE_PASS="mypassword"

      APP_ID="com.dotify.masomenos"

       

      # project settings

      PROJECT_NAME="Masomenos"

      SWF_FILE="${PROJECT_NAME}.swf"

      AIR_DESCRIPTOR_FILE="${PROJECT_NAME}-iphone.xml"

      IPA_FILE="${PROJECT_NAME}-simulator.ipa"

       

      IOS_SDL_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform /Developer/SDKs/iPhoneSimulator"

      IOS_SDK="6.0"

       

      #cd "/"

       

      ${SDK_PATH}/bin/adt -package -target ipa-test-interpreter-simulator -storetype pkcs12 -keystore "${KEYS_PATH}/${CERTIFICATE_FILE}" -storepass ${CERTIFICATE_PASS} "${DEPLOY_PATH}/${IPA_FILE}" "${APP_PATH}/${AIR_DESCRIPTOR_FILE}" "${IOS_SDL_DIR}${IOS_SDK}.sdk" asset -platformsdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk

       

      My settings are ok for any other targets, When I try targeting simulator I have this error : File /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator6.0.sdk/Applications/AdSheet.app/aan_frame_bottom_left.png is not relative to directory /Users/gillesboisson/Documents/www/dotify/masomenos.

       

      I also tried by adding cd / before packaging and using absolute path, in that case java start but nothing appends.

       

      If someone already had this issue, any help would be great.