title: Protocol Buffers Swift generation Image not found
body: <p>This is my Contact.proto file: </p>
  
  <pre><code>syntax = "proto3";
  
  message Contact {
  
    enum ContactType { 
      SPEAKER = 0;
      ATTENDANT = 1;
      VOLUNTEER = 2;
    }      
  
  string first_name = 1;
    string last_name = 2; 
    string twitter_name = 3;
    string email = 4; 
    string github_link = 5; 
    ContactType type = 6;
    string imageName = 7; 
  };  
  </code></pre>
  
  <p>I am trying to generate its swift model by this in the directory where the proto file.  </p>
  
  <pre><code>protoc --swift_out=. Contact.proto
  </code></pre>
  
  <p>But getting this errror: </p>
  
  <pre><code>dyld: Library not loaded: @rpath/libswiftCore.dylib
    Referenced from: /usr/local/bin/protoc-gen-swift
    Reason: image not found
  --swift_out: protoc-gen-swift: Plugin killed by signal 6.
  </code></pre>
  
  <p>Need help.</p>