Set up Setapp Framework

πŸ“˜

Note

Skip this step if you integrate Setapp Framework via CocoaPods.

Link the Setapp Framework to your app

❗️

Important

You must strictly follow the provided instructions to make your app function correctly within the Setapp environment.

Link libSetapp.a to the app target. Go to the Build Settings tab of your project and add the following value string to Other Linker Flags (OTHER_LDFLAGS):

-force_load 
"$(BUILT_PRODUCTS_DIR)/libSetapp.a"

πŸ‘

Tip

If you used Setapp Library before and now you want to upgrade to Setapp Framework, you must replace this row
-force_load "$(PROJECT_DIR)/libSetapp.a" -framework Security -framework IOKit -framework QuartzCore -framework Cocoa

with the ones you see on the picture above.