Package IPA file, *then* edit app descriptor file? - possible?

Hi,
I've run into a problem. In order to support for Facebook connections in my app, I need to add some lines to my app descriptor file's <InfoAdditions> node:
However, the app descriptor file is generated when I package the IPA from Flash Professional, and there's to way to tell Flash to add something into the <InfoAdditions> node when generating the file. I've even tried to package the IPA, then unzip the IPA file, edit the app descriptor file and reinsert it into the IPA, but that causes the IPA file to become corrupted; apparently it checks for manual edits like these.
Is there any way to edit that <InfoAdditions> node in my app descriptor file before or after it is packaged into the IPA file? I sure don't hope the only way to do it is to use the ADT prompt or something. That tool is godawful and impossible to use (who's using a DOS prompt in 2012??).

Open your iOS settings to set everything else up, don't forget to check the box that says to remember your password. Close that dialog and then edit the app descriptor file to add the Facebook lines, and do a Save. Now select Publish from the File menu in Flash Pro. Don't go back into the iOS settings to publish, that would end up deleting the lines you have added.

Similar Messages

  • Can no longer edit app descriptor file with 3.4 - really?

    Until now, when publishing to AIR from Flash Professional, I could manually edit the app descriptor XML with a little workaround:
    1. Set up my publish settings in Flash Professional and click OK
    2. Then edit the XML file and save it
    3. Then Publish from Flash Professional WITHOUT opening the Publish Settings again (which would recreate the XML file).
    This has been CRUCIAL to me in order to add certain elements to the XML file such as <extensions> I want to include with my project.
    However, this seems impossible to do with the 3.4 AIR SDK release version. When I try, it ignores my manual edits of the XML file and simply removes them when I publish. This is a HUGE problem because now I can no longer add <extensions> in the app descriptor file (and this can't be done from the Flash Professional GUI).
    Anyone have ANY idea how to keep adding my extensions to the app descriptor file?

    Hello,
    I have the same problem, but not the same solution : I have an old air application under Air 2.0, with an automatic updater, and wanted to make an intermediate application as seen here : http://helpx.adobe.com/air/kb/update-air-2-or-earlier.html .
    So I have to change the application descriptor by hand. But Flash CS6 always overwrite this descriptor with its own datas while exporting.
    How can I change my application descriptor for this intermediate version ? I have Flash CS5, but not Flash CS5.5, and the extension for Flash CS5 doesn't exist anymore !
    Thanks !

  • Full motion recording in separated file then the main swf file . Why ?

    Dear all,
    When you publish your projet with
    captivate 3 , now the full motion recording sequences are in
    separated .swf files ...
    I would have prefer to only have one .swf file with the
    content and one with the skin as it was the case in
    captivate 2 .
    Is there an option I could change to only have the swf file
    and the xx_skin.swf file
    only ?
    Imagine the mess I would have on my learning web site if I
    had more then one swf file for each learning sequences (as I store
    all .swf file in the same folder) :(

    Hi all
    What kiwikangaroo listed is John's method. Since the basic
    process has already been outlined, I'll add some things that should
    be considered as well as a caveat or two.
    First, the existing project should be published to a
    temporary folder. When publishing, it is rather critical that you
    ensure that you are publishing for a Flash 7 target. I believe if
    you choose Flash 8 or 9, the process will fall apart.
    Once you have done this and are at the point where you are
    inserting blank slides, make sure each blank slide is timed exactly
    matching the slide with the Full Motion clip. Then you insert the
    matching Full Motion clip from the temporary folder onto the blank
    slide and delete the original. This will need to occur for all
    slides containing full motion clips.
    There are a few animations out in the gallery that if used,
    will also cause additional .SWF files to be created. This is
    because the animations that do this were published as Flash 8 or 9
    and not 7 or earlier. I've sorted the ones that embed fine and the
    ones that don't. So if you run into this issue, you either don't
    use that particular animation, or you use something like SoThink
    SWF decompiler (or open the .FLA) and recompile it using Flash 7 as
    the target. That is, assuming you have Flash available and know how
    to use it.
    Cheers... Rick

  • Cannot attach files in Mail app - claims file is empty

    I have tried to attach several files to to an email through the mail app and when sent out they arrive as empty shells with the same filename.  If i try to drag the file into the window it will appear but the file is empty.  If I use the attach (paperclip) it simply does not appear at all. 
    I have tried to delete the /Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist for it is no longer located in /Library/Preferences/com.apple.mail.plist. 
    I have tried a Time Machine Restore from several weeks ago but apparently it existed then too.  I have tried repairing permissions through Disk Utility.
    when attaching Console says this:
    4/13/13 8:54:24.941 AM sandboxd[729]: ([718]) Mail(718) deny file-read-xattr /Users/Username/Desktop/Test copy.JPG
    when i load the mail app i get this:
    4/13/13 8:53:49.465 AM Mail[718]: Keychain sandbox consume extension error: s=-1 p= Cannot allocate memory

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Open a file, then close current pdf file

    Acrobat X
    XI Pro
    We have some renamed documents, but other documents link to the old names.  To solve this I created a Word document with the text : OldDoc is now NewDoc.  NewDoc is a hyperlink to NewDoc on the LAN.  I then created a pdf from the Word document.
    Clicking the link opens NewDoc, as it should, but I would like to close OldDoc after opening NewDoc.  I had expected that I could add execution of a menu item (File>>Close), but that only causes Acrobat to "blink", and OldDoc remains open.  Apparently the Close command is being carried out on the new document rather than the document in which the command is located.
    If I try File>>Exit instead I get a message "Since one of the action [sic] results in closing a doc, the rest of the action will not be executed.  Do you want to continue?"  Then NewDoc opens.  If I click OK, OldDoc closes.  If I click Cancel, both remain open.  The result is acceptable, but of course the pop-up message is not.
    If I reverse the order (close OldDoc, then try to open NewDoc) it just closes OldDoc, as I expected, but I figured it was worth a try since it doesn't work to open NewDoc first.
    For what the program cost this simple action should be possible.  What am I missing?

    Never heard about the crash and that does not sound normal. Be sure to do the updates to Acrobat in case that resolves the issue. You might also check the font settings in the settings file and check to ignore the error if the font can not be embedded and Distiller should use what it considers to be the closest system font.

  • Package ipa file with adt

    Hi,
    I've almost completed my first app and I'm looking for the best way to generate the ipa file. I use CS6 and I want to do that using CMD. Since I've never done that before I ask here for advices.
    I found this cmd here on forums: F:\sdk\bin\adt -package -target ipa-app-store -useLegacyAOT yes -provisioning-profile Hajj.mobileprovision -storetype pkcs12 -keystore Hajj.p12 -storepass xxxxxx Hajj.ipa Hajj-app.xml Hajj.swf icon com data org Default.png [email protected] [email protected] [email protected] [email protected]
    So my questions are:
    Should I include all my folders like com, caurina, box2d etc?
    Should i include the icons folder too, even if I included the icons paths in the xml file?
    Thank you

    Open your iOS settings to set everything else up, don't forget to check the box that says to remember your password. Close that dialog and then edit the app descriptor file to add the Facebook lines, and do a Save. Now select Publish from the File menu in Flash Pro. Don't go back into the iOS settings to publish, that would end up deleting the lines you have added.

  • How to correctly load an external swf file into iosAir app? I'm getting blank screen.

    So this code works flawlesly on Air for Android, it even works fine when I test the movie in Flash, but once I export it, I'm getting a blank screen. I made an swf with a square and withotu any code, and flash still fails to load it. It's weird cause everything works fine when I use the interpreter debugging option, but when I switch to standard debugging the blank screen appears on my ipad. I've read somewhere that it's caused by the way flash saves the link to external files. Thus after the file is compiled Flash fails to find the prefiously added files, which results in a blank screen. There's clearly something wrong with how the process of compiling the application.
    Tried this:
    var Xpos:Number = 0;
    var Ypos:Number = 0;
    var loader:Loader = new Loader();
    var link:URLRequest = new URLRequest("Untitled-1.swf");
    loader.load(link);
    addChild(loader);
    And this:
    var ldr:Loader = new Loader();
    ldr.load(new URLRequest("Untitled-1.swf"));
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded, false, 0, true);
    function loaded(event:Event):void {
    addChild(event.target.content);
    But nothing works. I'm still getting a blank screen. Is there any way to add the swf file manually into the descriptor file cause flash most likely messes it up? I don't really want to use through command line.

    Read this article, especially the bit about loadercontext and currentdomain:
    http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air- apps-on-ios/

  • Descriptor File Error when running application in EAR

    Hello,
    I've deployed one of my Workshop-built EARs fine to WLS 8.1.1, but when I
    go to run a servlet from a web application inside of it, I get the following error:
    ####<Nov 14, 2003 2:34:06 PM EST> <Error> <WLW> <ORLEX1090> <demoServer> <ExecuteThread:
    '11' for queue: 'weblogic.kernel.Default'> <weblogic> <BEA1-01E0B37D51BE> <000000>
    <Error while using app descriptor files
    java.io.FileNotFoundException: C:\bea\user_projects\domains\d1.conf\applications
    missing application.xml and/or weblogic-application.xml descriptors
         at com.bea.wlw.runtime.core.bean.EarDescriptors.<init>(EarDescriptors.java:84)
         at com.bea.wlw.runtime.core.dispatcher.AppManager.getAppClassPathJars(AppManager.java:392)
         at com.bea.wlw.runtime.core.compiler.ProjectCompiler.setClassPath(ProjectCompiler.java:968)
         at com.bea.wlw.runtime.core.compiler.ProjectCompiler.createProject(ProjectCompiler.java:947)
         at com.bea.wlw.runtime.core.compiler.ProjectCompiler.<init>(ProjectCompiler.java:214)
         at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureProjectCompiler(AppManager.java:463)
         at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureProjectCompiler(AppManager.java:440)
         at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:865)
         at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.getDispFile(ServiceHandleImpl.java:440)
         at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleImpl.java:275)
         at com.bea.wlw.runtime.core.call.JavaCall.invoke(JavaCall.java:57)
         at com.bea.wli.bpm.runtime.SubFlowCall.invoke(SubFlowCall.java:42)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:873)
         at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:421)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:754)

    I'd suggest posting this to the weblogic.developer.interest.workshop
    newsgroup
    -- Rob
    DealRaider.com wrote:
    Hello,
    I've deployed one of my Workshop-built EARs fine to WLS 8.1.1, but when I
    go to run a servlet from a web application inside of it, I get the following error:
    ####<Nov 14, 2003 2:34:06 PM EST> <Error> <WLW> <ORLEX1090> <demoServer> <ExecuteThread:
    '11' for queue: 'weblogic.kernel.Default'> <weblogic> <BEA1-01E0B37D51BE> <000000>
    <Error while using app descriptor files
    java.io.FileNotFoundException: C:\bea\user_projects\domains\d1.conf\applications
    missing application.xml and/or weblogic-application.xml descriptors
         at com.bea.wlw.runtime.core.bean.EarDescriptors.<init>(EarDescriptors.java:84)
         at com.bea.wlw.runtime.core.dispatcher.AppManager.getAppClassPathJars(AppManager.java:392)
         at com.bea.wlw.runtime.core.compiler.ProjectCompiler.setClassPath(ProjectCompiler.java:968)
         at com.bea.wlw.runtime.core.compiler.ProjectCompiler.createProject(ProjectCompiler.java:947)
         at com.bea.wlw.runtime.core.compiler.ProjectCompiler.<init>(ProjectCompiler.java:214)
         at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureProjectCompiler(AppManager.java:463)
         at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureProjectCompiler(AppManager.java:440)
         at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:865)
         at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.getDispFile(ServiceHandleImpl.java:440)
         at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleImpl.java:275)
         at com.bea.wlw.runtime.core.call.JavaCall.invoke(JavaCall.java:57)
         at com.bea.wli.bpm.runtime.SubFlowCall.invoke(SubFlowCall.java:42)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:873)
         at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:421)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:754)

  • Descriptor File for HelloMIDlet

    cut from a document with title "MIDP Setup Explained" (http://developer.java.sun.com/developer/technicalArticles/wireless/midpsetup/)
    Writing the Descriptor File for HelloMIDlet
    The descriptor file to run the HelloMIDlet example from the Introduction to Wireless Programming with the MID Profile article looks like this:
    MIDlet-Name: HelloMIDlet
    MIDlet-Version: 1.0.0
    MIDlet-Vendor: Sun Microsystems, Inc.
    MIDlet-Description: A Simple Example
    MIDlet-Info-URL: http://java.sun.com/j2me/
    MIDlet-Jar-URL: hello.jar
    MIDlet-Jar-Size: 1063
    MicroEdition-Profile: MIDP-1.0
    MicroEdition-Configuration: CLDC-1.0
    MIDlet-1: HelloMIDlet,, HelloMIDlet
    although the content of the "Descriptor File" is given but how to create this "Descriptor File" ? (what is the name of the file ? where should the file be placed ?)

    Hi Neo,
    I have created the descriptor file with the content u post at the same folder of the HelloMDlet source code. However, i still cannot execute the prg. When i execute the prg,
    follow errors are reported:
    Error in application descriptor: MIDlet-Version must have a value.
    Error in application descriptor: MicroEdition-Configuration must have a value.
    Error in application descriptor: MIDlet-Jar-URL must have a value.
    Error in application descriptor: MIDlet-Name must have a value.
    Error in application descriptor: MIDlet-1 must have a value.
    Error in application descriptor: MicroEdition-Profile must have a value.
    Error in application descriptor: MIDlet-Vendor must have a value.
    So i think my descriptor file still not work correctly. Do u have any idea ?
    btw, I installed J2SE SDK1.3.1, Forte for Java CE Release2.0, J2ME Wireless Toolkit
    1.0.2 Early Access and the Wireless Toolkit is integrated with Forte and i compile and execute the code in Forte. In Forte, I have already set the default compiler to JME wireless internal compilation and default executor to KVM Emulator so i think Forte should work properly with MIDP
    finally, i also want to get your work example and u can send to [email protected]
    thx a lot
    regards,
    Lok

  • Write into existing file with "write to text file"

    Hi all,
     I have a text file that contains several lines of data (text). Now I would like to replace the first three lines with text coming from a string array.
    My approach is shown in WriteToFile.vi that is attached.
    When I am executing this vi (with an empty file), everything seems to be working fine in the first place.
    The file will contain the following text:
    oneoneone
    twotwotwo
    threethreethree
    Now, when the third element in the array is shortened (lets say to "threethr") before execution,  the file will contain  the following text:
    (the file was not emptied before execution)
    oneoneone
    twotwotwo
    threethr
    three
    How can I avoid the last line being written? I have made many tests and I could not find a solution.
    One more example:
    Lets say we have an existing file, inside this file is:
    oneoneone
    twotwotwo
    three
    fourfourfour
    Now I would like to overwrite line three with "threethreethree". Therefore I execute my vi as shown in the attachment.
    What I get as a result is:
    oneoneone
    twotwotwo
    threethreethree
    ur
    So, the text in line four, which should not be touched, is "ur" instead of "fourfourfour".
    Any idea to solve this problem?
    What I basically need is replacing a line of a text file in a conveinient way.
    Thanks,
    Holger
    LV 8.5.1
    Attachments:
    WriteToFile1.jpg ‏17 KB
    WriteToFile.vi ‏11 KB

    The remaining fourth line is there because the third line has a <nl> at the end. You have not emptied the file so the rest of the file will be kept. This is because your line is shorter.
    In the scond example the third line is longer and it will overwrite the beginning of the fourth line.
    Files aren't organized in lines they are oganized in bytes. And what you write are bytes to the file even with text files.
    Replacing a single line in a file is done by reading the file line by line. All unchanged lines are written to a temporary file and the line with the new text will be written instead of the original line to the temporary file. When the writting is done rename the original file, then rename the new file into the original file and then delete the renamed original file.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Jar file in source path, is it possible?

    my question is quite simple:
    1. can a java file (i.g. My.java) be zipped in a jar file then use the jar file in -sourcepath by javac.exe command?
    2. can a java file be used in -classpath by javac.exe command?
    3. can a class file (i.g. My.class) be used in -sourcepath by javac.exe command?
    thx.

    thanks.
    i want to post my question again after read the webs.
    1. if -sourcepath is not used, both class file and java file can be used in -classpath option.
    2. if both -classpath and -sourcepath are used, class file must be in -classpath option and java file must be in -sourcepath. correct?
    3. i did a test, jar My.java into any.jar then use -sourcepath c:\any.jar; (under windows) but compiler says My.java must be in file named My.java, so i think java file can't be jarred for using? correct?
    thx

  • An app to where I can edit existing PDF files with typed text

    I would love to be able to edit my contracts for my business on the iPad to email. On my computer I use Adobe Photoshop. My contract is a PDF. I would like to find an app where I can just fill in details in the appropriate locations on the contract using typed text with selectable fonts like filling in the customers name etc. any ideas.

    I would love to be able to edit my contracts for my business on the iPad to email.
    Design the contract as a PDF form with fillable fields rather than editing the PDF.
    On my computer I use Adobe Photoshop
    Really?
    Rather than editing saved PDF (which can very easily mess up the PDF formatting and lots of other things), keep the original document (word processor file) and edit that as needed then save as a PDF.

  • Editing etc\hosts file on windows xp for apps. problem post installation.

    Hi all,
    I was able to install 11.5.10.2 apps on my win xp prof machine. During that process I had to edit the etc/hosts file in windows directory as a work around for that domain name field during installation. Also added the primary DNS suffix as 'suneel.com' . I gave the domain name as 'suneel.com' during installation. The RapidWiz is taking localhost as the system name and referring to this system as localhost.suneel.com, though the actual system name is 'websoft-xp' .
    The host file on Apps machine has the following entries:
    127.0.0.1 localhost
    127.0.0.1 localhost.suneel.com suneel.com
    127.0.0.1 websoft-xp.suneel.com
    So when I connect to apps login server from other systems in lan, I've to edit their hosts file and add an entry for localhost.suneel.com to point to its ip address or else the apps throws an error after logging in as operations/welcome using a different url say 192.168.1.4:8000 . Is there a way to get around this issue?
    More over I'm not able connect to VIS db from other systems. The oracle clients give an error 'No listner' at this address. (The original listener was listening at localhost.suneel.com:1521). So I tried to create a new listerner from Net Manager that actually listens at websoft-xp (the real system name) but it throws me an error 'A valid log file is required' while saving the network configuration and prevents me from saving the network configuration.
    Did I do something wrong with the hosts file during installation or did i miss any entries in that file thats causing this? Any solutions for the above problems will be appreciated?
    Thanks
    Suneel
    Message was edited by:
    suneelgv

    Well I tried that option but for some reason it didn't work for me. It kept giving the tns:connection closed error. Then I searched in metalink and found this note : Note:333158.1
    It suggested setting tcp.validnode_checking = no
    in sqlnet.ora. in
    F:\oracle\visdb\9.2.0\network\admin\VIS_websoft-xp
    And it works. Hope this helps someone facing a similar problem. Good luck.
    BTW how do I run autoconfig?
    Thanks,
    Suneel Gundlapalli

  • I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?

    I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?  I don't know why the photos are still taking up space and if I will have to reset my phone to get rid of the problem.

    Hey there TowneJ,
    Welcome to Apple Support Communities.
    The article linked below provides troubleshooting tips that’ll likely resolve the issue that you’ve described, where deleted files appear to be taking up space on your iPhone 5.
    If you get a "Not enough free space" alert on your iPhone, iPad, or iPod touch - Apple Support
    So long,
    -Jason

  • How to do a clean install go yosemite and then just install certain files, apps, documents, phopt's, etc...from time machine backup?

    How to do a clean install of yosemite (have Mavericks 10.9.5 now) and then just install certain files, apps, documents, phopt's, etc...from time machine backup?

    Do a backup before doing anything.
    If you want to make a clean install of Mountain Lion, boot into the Recovery Volume (command - R) on a restart, use Disk Utility to Verify/Repair  the disk and run Repair Permissions. Then erase the hard drive using Mac OS Extended (Journaled) format using the Options button. Reinstall Yosemite. Restart normally and test. Use Setup Assistant or Migration Assistant to import what you want.
    Clean Install

Maybe you are looking for