Skip to Content

SAP MDK Client not running IOS (dyld: Library not loaded: @rpath/NativeScript)

Hello Experts,

I builded mdk- client for ios devices and trust the developer in ios (13.3) Settings on the device.

the client is on device but not running because cant load NativeScript Library.

any idea what's wrong ?

Thanks a lot,

Robert

dyld: Library not loaded: @rpath/NativeScript.framework/NativeScriptReferenced from: /private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/ROBDEVMDED.app/DEVMDEReason: no suitable image found.Did find:/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/ROBDEVMDED.app/Frameworks/NativeScript.framework/NativeScript: code signature invalid for '/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/DEVMDED.app/Frameworks/NativeScript.framework/NativeScript'/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/ROBDEVMDED.app/Frameworks/NativeScript.framework/NativeScript: stat() failed with errno=25/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/ROBDEVMDED.app/Frameworks/NativeScript.framework/NativeScript: code signature invalid for '/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/ROBDEVMDED.app/Frameworks/NativeScript.framework/NativeScript'/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/ROBDEVMDED.app/Frameworks/NativeScript.framework/NativeScript: stat() failed with errno=1/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/ROBDEVMDED.app/Frameworks/NativeScript.framework/NativeScript: code signature invalid for '/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/DEVMDED.app/Frameworks/NativeScript.framework/NativeScript'/private/var/containers/Bundle/Application/8453CC18-A948-4CF3-BF50-1BA20AC66DA1/DEVMDED.app/Frameworks/NativeScript.framework/NativeScript: stat() failed with errno=1(lldb)   
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 27 at 05:13 PM

    Robert Hunger

    This doesn't look like MDK specific issue.

    You may look at these threads (ref1, ref2) to try out.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28 at 12:42 AM

    Also, what version of MDK and Xcode are you using?

    Add a comment
    10|10000 characters needed characters exceeded

    • Yes it is possible it working on any simulator, any android device greater 6.0 and on device: IOS 12.0 and 14.2 without any issue.

      but on IOS 13.3.1 get this error when trying to start the app on device:

      (mdk 5.0 , xcode 12, CLI 6.8.0)

      dyld: Library not loaded: @rpath/NativeScript.framework/NativeScript

      Referenced from: /private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/myapp

      Reason: no suitable image found.Did find:

      /private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript: code signature invalid for '/private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript'

      /private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript: stat() failed with errno=25

      /private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript: code signature invalid for '/private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript'

      /private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript: stat() failed with errno=1

      /private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript: code signature invalid for '/private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript'

      /private/var/containers/Bundle/Application/31508075-2218-49D5-83C8-964CDF46EFF4/myapp.app/Frameworks/NativeScript.framework/NativeScript: stat() failed with errno=1

      (lldb)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.