Forum Discussion

Steve L.32's avatar
Steve L.32
Explorer | Level 4
8 years ago

How to link V2 API for macOS App Store?

My macOS App runs fine while debugging, with the framefwork embedded.  But when I archive it for the App Store the resultand binary crashes with this error, how do I resolve this?  Thanks.

 

Dyld Error Message:
Library not loaded: @rpath/ObjectiveDropboxOfficial.framework/Versions/A/ObjectiveDropboxOfficial
Referenced from: /Users/USER/Library/Developer/Xcode/DerivedData/Krypton-gtvflmsjkkiprjawxtyiymiepcwp/Build/Products/Debug/Krypton.app/Contents/MacOS/Krypton
Reason: no suitable image found. Did find:
/Users/lusol/Library/Developer/Xcode/DerivedData/Krypton-gtvflmsjkkiprjawxtyiymiepcwp/Build/Products/Debug/Krypton.app/Contents/MacOS/../Frameworks/ObjectiveDropboxOfficial.framework/Versions/A/ObjectiveDropboxOfficial: code signature invalid for '/Users/lusol/Library/Developer/Xcode/DerivedData/Krypton-gtvflmsjkkiprjawxtyiymiepcwp/Build/Products/Debug/Krypton.app/Contents/MacOS/../Frameworks/ObjectiveDropboxOfficial.framework/Versions/A/ObjectiveDropboxOfficial'

  • Steve L.32's avatar
    Steve L.32
    Explorer | Level 4

    Using the Xcode subproject method BTW.  Is there a special Copy Files build setting or something I can use .... (don't see one in the docs).  Thanks.

     

    • Steve L.32's avatar
      Steve L.32
      Explorer | Level 4

      So I canned the Xcode subproject method, and re-did everything using method #2 Carthage only. Now I cannot even run in debug mode, I get the same errors:  1) cannot load Dropbox framework, and 2) Dropbox code signing error. Has anyone actually gotten a macOS app using Dropbox API V2 on the Mac App Store? Is this likely an environment error/stupid error on my part, perhaps?

       

      Thanks.

       

       

       

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        Thanks for the detailed report Steve. I can't say off hand what the issue may be here, but I'll have the team take a look. We'll follow up here once we have some information for you. Thanks in advance for your patience.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 9 hours ago
350 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!