krzyzanowskim / Natalie

Natalie - Storyboard Code Generator (for Swift)
http://blog.krzyzanowskim.com/2015/04/15/natalie-storyboard-code-generator/
MIT License
1.17k stars 74 forks source link

New issue after XCode 7 installarion #72

Closed TheTonon closed 9 years ago

TheTonon commented 9 years ago

I'm having a new issue after xcode 7 kicked in. I have 2 xcode installations now, one with 6.4 and one with 7. The only thing that doesn't pass during the build phase is Natalie. It throws me "Command /bin/sh failed with exit code 133"

and "Natalie generator dyld: Library not loaded: @rpath/libswiftSecurity.dylib Referenced from: /usr/local/bin/natalie.swift Reason: image not found"

and "/usr/local/bin/natalie.swift "$PROJECT_DIR/$PROJECT_NAME" > "$PROJECT_DIR/$PROJECT_NAME/Layout/Storyboards.swift""

Anyone has the same issue? Did I mess up when doubling the installation?

krzyzanowskim commented 9 years ago

did you update /usr/local/bin/natalie.swift with the one from repository ?

krzyzanowskim commented 9 years ago

Either update /usr/local/bin/natalie.swift with the current one, or change path to version appropriate to your project Natalie v 0.2 is for Xcode 6.0 Natalie v 0.3 is for Xcode 7.0

TheTonon commented 9 years ago

Solved it. Since I didn't told Homebrew to update, I thought it would not do it.

Many thanks.

dalu93 commented 8 years ago

@krzyzanowskim I have the same problem on Xcode 7.3 with natalie 0.4 installed with Homebrew

krzyzanowskim commented 8 years ago

I will take a look for Xcode 7.3 compatibiluy later today

dalu93 commented 8 years ago

@krzyzanowskim Any news? May should I open a new issue since this one is closed?

krzyzanowskim commented 8 years ago

may need rebuild binary with homebrew. Meantime please use script version downloaded from the repo.

dalu93 commented 8 years ago

Ok, downloading the .swift file and replacing the existing one in my machine solved the problem