1

I know this is a common problem but I couldn't find any specific solution for my problem so can't solve it. I can successfully build the app and run it. However, when I'm trying to archive, It gives error. I'm using a framework and It gives error for it. enter image description hereenter image description here

enter image description here

Emre Önder
  • 2,408
  • 2
  • 23
  • 73

1 Answers1

0

If "Hero" is your own framework try the following:

  1. Make sure that all the framework classes you use in the main project are marked as public:

    public class SampleClass...
    
  2. Add -ObjC to linker flags in your build settings (see attached screenshot). This will allow you to use extensions declared in the framework. enter image description here
Alex
  • 1,155
  • 1
  • 8
  • 12