IBM Worklight 6.0 - Mobile Test Workbench - Instrumentalized iOS App Error

后端 未结 2 713
滥情空心
滥情空心 2021-01-27 16:16

I’ve got a problem with my instrumentalized iOS App for the Mobile Test Workbench iOS-Client. After adding the necessary environments (IPhone and Android) and building the app w

相关标签:
2条回答
  • 2021-01-27 16:55

    This message is generated by MTWW when the app under test is not a Worklight app... In your case, it seems to be a Worklight project! (there is a difference between MTWW and RTW, as MTWW is limited to WL app only). Its seems that in your case, there is an issue in this verification. Here are some question to identify the issue:

    • Do you upgrade your WL project from 5.x to 6.0 ?
    • Do you deploy your app first before testing it ?

    Thanks

    0 讨论(0)
  • 2021-01-27 17:14

    The issuse is exactly what you said you did, you changed in the Xcode-Project was the "Bundle Identifier"

    You should not do that with a worklight app, you need to change in the application-descriptor.xml

    change the "bundleId" in the iphone section to fit what you need.

     <iphone bundleId="com.yourbundleid" version="1.0">
            <worklightSettings include="true"/>
            <security>
                <encryptWebResources enabled="false"/>
                <testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
            </security>
        </iphone>
    

    The underline reason (if not interested please skip) is that the script uses the "budnle id", and when you change it ONLY in the native project (in XCode), it does NOT know what you did, and fails.

    hope this helps

    0 讨论(0)
提交回复
热议问题