osx - Undefined symbols for architecture x86_64: _MSImageSelectionIsDoneNotification -


I am trying to solve this problem, but no solution can be found.

I is an MSCropImageView defined

  extern NSString * const MSImageSelectionIsDoneNotification;   

In your header, and

  NSString * const MSImageSelectionIsDoneNotification = @ "MSApp.MSImageSelectionIsDoneNotification";   

In MSCropImageView.m

But when I call

  [[NSNotificationCenter defaultCenter] addObserver: Self Selector: @selector (Selection command :) Name: MSImageSelectionIsDoneNotification object: self.imageView];   

I get an error from the other file The undefined symbols for architecture x86_64 include the header file in I'v that defines the symbol.

This is not just a header file, my guess is that MSCropImageView.m is actually in your built-in app Not included.

In other words, go to the list of files for your project and then open the "File Inspector" view (which is on the right). For me, it looks like this:

Make sure the target membership is for your .m file Is selected

Be sure that the rotating checkbox is checked for your built-in app.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -