Is there a way to add the ADK header file to the podspec for the static library? My client wants to use the static library and provide their devs the option of manual invocation of the ADK methods, but apparently when the static library is loaded via Cocoapods, the header file does not come down with it, leaving manual invocation impossible because of the missing header.
Solved! Go to Solution.
The cocoapods installation gets you the dynamic library. And it should include all necessary header files to allow you to use manual invocation. Are you sure you used it correctly?
The podfile line should look something like (where version is 6.5 or 7.0):
pod 'Dynatrace', '~> version'
Then you should perform pod install to install the library.
You should then see something like this in your pods:
Hope this helps you with your problem.
Follow up question on this:
With the dynamic library, we get the header file. What if the customer wants to use Cocoapd for Static library? Does the header file come with it? My investigation shows that the header file does not come with the static files wit Cocoapod.
As mentioned above by Patrick, there seems to be a problem with the static library indeed. Although the podspec specifies the header should be public and included, it is not. We will update you once this is handled.
Thank you very much for looking into this. The customer would very much like to use CocoaPods for the manual instrumentation, but they have to use the static version of the library as a security requirement.