I am working on a Cordova plugin that offers a functionality for Android and iOS platforms. I also have a demo Cordova app to test out the plugin, when installed in the demo app the plugin works fine for the android platform but I cannot get the demo app to build for the iOS platform to build when the plugin is installed.
I get this error
"fatal error:'TestPlugin/TestPlugin.h' file not found"
Inspecting the plugins folder in the demo app. I've noticed that it seems the symlinks in an iOS framework which the plugin uses are completely missing leading me to believe that the framework was not properly moved. Also, I can get the demo app to run by manually moving the framework in question into the plugins folder of the demo app and running the app from Xcode.
I have tried the solution described here but it does not fix the issue(I think it might be only for fixing symlinks broken by windows), I am on a Mac running MacOS Sierra(version 10.12), Xcode 8.31 and Cordova version 7.