Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build osx application (command line tool) with swiftyjson error #96

Closed
ixqbar opened this issue Nov 14, 2014 · 4 comments
Closed

build osx application (command line tool) with swiftyjson error #96

ixqbar opened this issue Nov 14, 2014 · 4 comments

Comments

@ixqbar
Copy link

ixqbar commented Nov 14, 2014

dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/venkman/Library/Developer/Xcode/DerivedData/LearnSwiftInTerminal-csxlurlknvbeslafmxmldcyamkcg/Build/Products/Debug/SwiftyJSON.framework/Versions/A/SwiftyJSON
Reason: image not found
Program ended with exit code: 9

help

@lubaogui
Copy link

the same error occurs when debug the programme in real ios device.
dyld: Library not loaded: @rpath/SwiftyJSON.framework/SwiftyJSON
Referenced from: /private/var/mobile/Containers/Bundle/Application/3B9AD547-27D4-4B68-A9EC-9B9F6A23B4BA/BabyCare.app/BabyCare
Reason: image not found

@lubaogui
Copy link

i solved this problem just by removing the SwiftyJson.xcodeproj from the project, then drag swiftyjson.swift file into the project. Maybe there's some problem in the swiftyjson.framework building.

@ghost
Copy link

ghost commented Nov 23, 2014

i solved it the same way, by just adding to my project the two source code files SwiftyJson and something else I can't remember. But that way I didnt have to deal with 3rd libraries type issues. I've rarely seen easy ways to add 3rd libraries

@LukeTangPL
Copy link
Member

@Jonnywang
Maybe the #100 is a better way to solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants