Skip navigation
DotifyDude
Currently Being Moderated

Packaging for iphone simulator

Feb 19, 2013 1:03 AM

Tags: #iphone #ios #aire

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/iPho neSimulator.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/iPhoneSi mulator5.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/SDKs/iPhoneSimulator6.0.sdk/Applications/AdSheet.ap p/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.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points