Saturday, 15 September 2012

xcode - OSX App crashing on load when ParseOSX framework with Dyld Error -



xcode - OSX App crashing on load when ParseOSX framework with Dyld Error -

i have osx app , have added parseosx sdk. have followed instructions on quick start page (https://www.parse.com/apps/quickstart#parse_data/desktop/osx/existing)

the app running fine in xcode (version 5.1.1 (5b1008)) when archive , create bundle , install this. next dyld error;

dyld error message: library not loaded: @executable_path/../frameworks/parseosx.framework/parseosx referenced from: /applications/myapp.app/contents/macos/myapp reason: image not found

it goes on , lists binary images loaded.

searching web found reference adding re-create files build phase , adding parse framework destination set products directory.

so appears there dynamic lib not beingness installed somewhere.

update:

i cleaned build folder , app not run under xcode. get:

dyld: library not loaded: @executable_path/../frameworks/parseosx.framework/parseosx referenced from: /users/ants/library/developer/xcode/deriveddata/myapp-hjrbgyhzpwnxhiaskxpojqyqxnvh/build/products/debug/actual.app/contents/macos/myapp reason: image not found

update 2:

it turns out when in quick start page. if chose new app alternative xcode project. compiles. going through can see there is re-create files step copies parseosx.framework frameworks destination. tried app , signing error

/users/ants/library/developer/xcode/deriveddata/myapp-hjrbgyhzpwnxhiaskxpojqyqxnvh/build/products/debug/myapp.app: code object not signed @ in subcomponent: /users/ants/library/developer/xcode/deriveddata/myapp-hjrbgyhzpwnxhiaskxpojqyqxnvh/build/products/debug/myapp.app/contents/frameworks/parseosx.framework

i ran same problem xcode 6.1. fixed adding parseosx.framework "embedded binaries" on general tab of targets page.

xcode osx parse.com dyld

No comments:

Post a Comment