SFS2XAPIOSX cannot be loaded by OSX app

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

FrankVanVliet
Posts: 2
Joined: 25 Jul 2014, 14:46

SFS2XAPIOSX cannot be loaded by OSX app

Postby FrankVanVliet » 25 Jul 2014, 15:01

Hello SmartFoxServer users,

When I build an OSX app in XCode with the SFS2XAPIOSX.framework and deploy this app to another machine, it crashes complaining that it cannot find this framework in /Library/Frameworks/.... The SFS framework is not included in the app bundle and therefore not deployed with the app.

What can I do to fix this so that the framework is deployed together with the app cause I don't want to do an extra install just for the SFS2XAPIOSX framework... ?

thanks for any advice
Frank
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFS2XAPIOSX cannot be loaded by OSX app

Postby Lapo » 25 Jul 2014, 20:37

Take a look at the directions from Apple here:
https://developer.apple.com/library/mac ... works.html

In particular this section --> "Embedding a Private Framework in Your Application Bundle"

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
FrankVanVliet
Posts: 2
Joined: 25 Jul 2014, 14:46

Re: SFS2XAPIOSX cannot be loaded by OSX app

Postby FrankVanVliet » 26 Jul 2014, 17:47

Hello Lapo,

Thank you for your reply, you gave me useful info to search for the solution.

I was able to include the SFS framework in the app bundle and fix a code signing error with http://stackoverflow.com/questions/1726 ... ned-at-all but now I'm still struggling with how to "tell" the build that the SFS framework is located inside the bundle and not in /Library/Frameworks.

In case anyone has experience with this issue and found a solution...

Thanks in advance
Frank

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 16 guests