Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Cocoa Touch dynamic framework from static library produces no binary

I'm trying to build GoogleMobileAds as dynamic framework from headers and static library using method 2 described here: https://pewpewthespells.com/blog/convert_static_to_dynamic.html

I've set up a project, and it builds successfully, however the produced framework contains no binary, only headers. Any ideas on what I am doing wrong?

Sample project: https://github.com/HiveHicks/GoogleMobileAds-Dynamic-Wrapper

P.S. Building with XCode 8.1

like image 547
HiveHicks Avatar asked Dec 01 '16 12:12

HiveHicks


1 Answers

XCode doesn't produce framework binary if there are no .m files in the project. I added a dummy .m file, and it does now.

like image 86
HiveHicks Avatar answered Nov 09 '22 06:11

HiveHicks