I have a project containing multiple static library projects inside it. All the libraries compiles fine and App is also working fine on tablet. But while creating an archive on Xcode 9, static libraries that were linked in Build phase are getting copied in it. Due to this archive created is generic archive, thus unable to create ipa.
I am creating 2 targets for each library:
Library Target: Compiles library and copies to the required folder. [refer screenshot]. LIBROOTDIR is my output folder where I am keeping all libraries and header files.
In my main project, I have added the Library Project Target in dependencies in Build Phase.
I have tried following things to resolve after doing some google but failed:
Even after trying all the steps, static library is coming inside the archive.[path of static library is similar to that of LIBROOTDIR.]
I know that I might be forgetting some little point to resolve but unable to figure out that.
I know its late but I got it fixed through below changes. I changed in Target -> Build Phases -> Copy Files
Hope that solves others problem.