Unsolved qmake: Statically link AppCenter framework to Xcode target
-
I am trying to follow the Microsoft instructions to add the AppCenter SDK as a statically linked resource to my app's qmake-generated Xcode target. In the Xcode GUI you just drag the SDK framework folders onto the top-level project, ensure that the app target is selected, and everything works from there. You DO NOT add them to a build phase.
What is the right qmake configuration to accomplish the same as just dragging the frameworks into the project to add them to the target? (Adding -fmodules and -fcxx-modules to QMAKE_CFLAGS and QMAKE_CXXFLAGS took care of compilation requirements). Adding them to QMAKE_BUNDLE_DATA doesn't work.
Thanks!
-
Wow, the following fixed it, if "Vendor" is the dir within the same dir as the .xcodeproj:
LIBS += -FVendor -framework AppCenter -framework AppCenterAnalytics -framework AppCenterCrashes
I guess I wasn't familiar with static frameworks.