Results 1 to 9 of 9

Thread: Mac OS X app bundle can't find bundled framework files

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Everything runs fine if I have the SDL2 frameworks in /Library/Frameworks.

    But trying to find en existing SDL2 bundle and see if I can just use the frameworks from that is a brilliant idea. I'll see if I can find one. (Though I'm just using the SDL2 frameworks downloaded directly from libsdl.org and if they can't be bundled with my app, it must be a problem with my app and not the frameworks?)
    Last edited by Christian Knudsen; 19-02-2015 at 02:25 PM.
    Laserbrain Studios - Currently developing Hidden Asset!
    Ascii Sector
    - Real-time roguelike in space!

  2. #2
    Yes!

    Adding -k"-rpath @executable_path/../Frameworks" as a custom linker option for FPC did it!



    So the linker parameters weren't passed on from Xcode to Free Pascal. At this point I'm wonder what exactly I'm using Xcode for?!
    Laserbrain Studios - Currently developing Hidden Asset!
    Ascii Sector
    - Real-time roguelike in space!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •