IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Not able to create ipa for ios app

  • 1.  Not able to create ipa for ios app

    Posted Wed January 17, 2018 07:15 AM

    Hi,

    i am trying to create ipa of one of you sample project using mobile designer suite vesrion 10.1 but i am getting below error please tell me how ca i fix the below listed error

    [osx-fork] [copy] Copying 21 files to /Users/Apple/Downloads/AG10.1/Cocktails/Builds/0.0.0/IOS_Apple_Universal/temp/cpp_edit/Images.xcassets/AppIcon.appiconset
    [osx-fork] [copy] Copying 96 files to /Users/Apple/Downloads/AG10.1/Cocktails/Builds/0.0.0/IOS_Apple_Universal/temp/cpp_edit
    [osx-fork] [echo] ResourceRules.plist won’t be copied to the project.
    [osx-fork] [echo] ios.use.resourcerules.plist = ${ios.use.resourcerules.plist}
    [osx-fork] [echo] resourcerules.plist.exists = false
    [osx-fork] [copy] Copying 1 file to /Users/Apple/Downloads/AG10.1/Cocktails/Builds/0.0.0/IOS_Apple_Universal/CocktailsUniversalI18N.app
    [osx-fork] The following error occurred while executing this line:
    [osx-fork] /Users/Apple/Downloads/AG10.1/Cocktails/targets/IOS_Apple_Universal.xml:7: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:34: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Devices/iOS/Apple/Universal.xml:55: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:45: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:168: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:45: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:685: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:45: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:797: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:45: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Platforms/iOS/platform_buildscript.xml:80: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Tools/Build/BuildScript/v1.0.0/scripts.xml:45: The following error occurred while executing this line:
    [osx-fork] /Applications/SoftwareAG/MobileDesigner/Platforms/iOS/platform_buildscript.xml:325: Use a resource collection to copy directories.
    [osx-fork] <<< ERROR: Build failed for “CocktailsUniversalI18N” >>>


    #webMethods-General
    #webMethods
    #mobile
    #Integration-Server-and-ESB


  • 2.  RE: Not able to create ipa for ios app

    Posted Wed January 17, 2018 09:35 AM

    Hi Shivaraj,

    Can you check in your /Applications/SoftwareAG/MobileDesigner/sdk.properties and tell me the value of the “ios.appstoreprov” property?

    It sounds like you’ve set this to point to a folder somewhere. As per the instructions in the docs, this wouldn’t work.
    “ios.appstoreprov” can either be left blank or needs to point directly to the .mobileprovision file you’re using for publishing to the App Store.

    I suggest leaving ios.appstoreprov unset for now.


    #webMethods
    #Integration-Server-and-ESB
    #mobile
    #webMethods-General


  • 3.  RE: Not able to create ipa for ios app

    Posted Wed January 17, 2018 09:58 AM

    Hi Mark,

    As mentioned in your reply i have not set any value for the “ios.appstoreprov” in my sdk.properties it is blank and i dont think this problem is causing the error, i think it not able to find resourcerules.plist file so that it is throwing error please check once and reply me back

    Thank you


    #Integration-Server-and-ESB
    #mobile
    #webMethods
    #webMethods-General


  • 4.  RE: Not able to create ipa for ios app

    Posted Wed January 17, 2018 11:13 AM

    Hi Shivaraj,

    That message for ResourceRules.plist is totally normal; that’s an optional file.

    When you’re building, are you selecting the “appstore” build type for your target? (It’s in the list at the bottom of the Multi-Build window).

    That gives me the same message you’re getting when ios.appstoreprov is unset.

    I would suggest trying a “sim debug” build for now - simply click where it says “appstore” and a drop-down list will open so you can change it.

    Make sure you also have “Retain output build files” switched on near the top of the Multi-Build window. You’ll need to keep these files if you want to use the generated Xcode project.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB
    #mobile


  • 5.  RE: Not able to create ipa for ios app

    Posted Thu January 18, 2018 03:31 AM

    Hi Mark,

    Once Again thank you for you answer using you suggestion now i am able to create .ipa file and i have one more query how can i run android app directly to my mobile device using app debugging option from Software Ag mobile designer version 10.1


    #mobile
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 6.  RE: Not able to create ipa for ios app

    Posted Fri January 19, 2018 06:44 AM

    Hi Shivaraj,

    It’s a very similar procedure for both platforms. You have 2 options for local building -

    1. Use +Multi-Build to generate your binary (so, for Android, an .apk file) directly and upload that to your device using appropriate tools like “adb”, or

    2. in the +Multi-Build dialog, select “Retain output build files”, and then open the project created inside the Builds/…/java_edit (or cpp_edit for iOS) folder using Android Studio. You can then use the platform’s IDE to do your debugging with code inspection, breakpoints, etc. as you would with any normal application for that platform.

    Most developers will want to use option 2 for most of the development process.


    #webMethods-General
    #mobile
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Not able to create ipa for ios app

    Posted Sun January 21, 2018 05:51 AM

    Hi Mark,

    Thank You for Answer currently i am getting good help from you, i have one more question for you i have imported webMethods free sample project that is AirsPicToModel but i am not able to login to this app because i don’t have username and password. please provide me credentials so that i can login.

    Thank You


    #webMethods-General
    #webMethods
    #mobile
    #Integration-Server-and-ESB


  • 8.  RE: Not able to create ipa for ios app

    Posted Tue January 23, 2018 03:52 AM

    Hi Shivaraj,

    If you dont have a local ARIS (trial/test) backend, it might be hard to use the ArisPictoModel app as l I’m not aware of any publicly available ARIS server.

    Do you really want to test/evaluate the ARIS business logic or just have a look at a the way a mobile app works / is designed in Mobile Suite? For the latter, I’d recommend to use the “Cocktails” example provided with Mobile Suite 10.1.

    Regards
    Michael


    #mobile
    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 9.  RE: Not able to create ipa for ios app

    Posted Tue January 23, 2018 05:43 AM

    Hi Michael ,

    Thank you for suggestion i just wanted to check ArisPictoModel app’s camera component which is used in ModelDetailView page so that i can use camera control in my app because of this i wanted its credentials. If you know how to use camera control in mobile app please inform me

    Thank You.


    #webMethods
    #mobile
    #webMethods-General
    #Integration-Server-and-ESB


  • 10.  RE: Not able to create ipa for ios app

    Posted Tue January 23, 2018 06:25 AM

    Hi Shivaraj,

    Which exact version of the Mobile Designer/Development are you using?

    Regards
    Michael


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General
    #mobile


  • 11.  RE: Not able to create ipa for ios app

    Posted Tue January 23, 2018 09:22 AM

    Hi Michael ,

    I am Currently using Mobile Designer 10.1 version free suite

    Thank You


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General
    #mobile


  • 12.  RE: Not able to create ipa for ios app

    Posted Tue January 23, 2018 12:32 PM

    Hi Shivaraj,

    I just noticed that Jörg pointed you to a way how to use the camera: How to use Camera and ImagePicker in Mobile Designer free suite version 10.1? - webMethods - Software AG Tech Community & Forums

    Is that answer sufficient?

    Regards
    Michael


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General
    #mobile


  • 13.  RE: Not able to create ipa for ios app

    Posted Wed January 24, 2018 01:34 AM

    Hi Michael,

    i have been running Cocktail app in phoney it is running fine but when i have created build by selecting sim-debug and created its ipa and installed it in iphone-5 and iphone-7 its screen is getting stretched only half screen is visible . I am using mobile Designer 10.1 free version

    Thank you.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB
    #mobile


  • 14.  RE: Not able to create ipa for ios app

    Posted Wed January 24, 2018 05:32 AM

    Hi,

    could you please attach a screenshot?

    Best Regards
    Jörg


    #mobile
    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 15.  RE: Not able to create ipa for ios app



  • 16.  RE: Not able to create ipa for ios app

    Posted Fri January 26, 2018 05:48 AM

    Thanks. Is this a real device or a simulator? Do you have any other devices?

    It does not look as intended, indeed. We did a couple of tests so far, but couldn’t reproduce it. I’ll let you know once I got something.

    Best Regards
    Jörg


    #webMethods
    #mobile
    #Integration-Server-and-ESB
    #webMethods-General


  • 17.  RE: Not able to create ipa for ios app

    Posted Fri February 09, 2018 11:34 AM

    Hi Shivaraj,

    We just encountered this behaviour today. What’s happening is you’re building for the iOS “Universal” target - which really should be called “UniversalNoRetina” these days. The “Universal” target doesn’t do any retina-display detection. For that, you need to use the UniversalRetina target instead, and then everything will work fine.

    Regards,
    Mark.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB
    #mobile