objective c - Archived App not working. Run from XCODE successful -
i have made app swift working when run xcode. however, when try archive , run .app, not start.
how can check why app crashing/not starting? can reasons?
this console output if enter packe , start folder contents/macos
mislavs-mbp:~ proslav$ /users/proslav/desktop/trackingcore.app/contents/macos /trackingcore ; exit; dyld: library not loaded: @rpath/sqlite.framework/versions/a/sqlite referenced from: /users/proslav/desktop/trackingcore.app/contents/macos /trackingcore reason: image not found trace/bpt trap: 5 logout
running terminal gives following output
lsopenurlswithrole() failed error -10810 file /users/proslav /desktop/trackingcore.app.
i have added framework https://github.com/stephencelis/sqlite.swift access sqlite database. library not loaded although exists in .app
i found answer. in copy files linking resources instead of frameworks. seemed no problem run archving.
Comments
Post a Comment