How to add Lookin of iOS Framework Manual

How to manually add Lookin of iOS Framework?

 Lookin LookinServer.framework file will appear after installation is complete, move the file to the root directory of your iOS projects, namely the "xxx.xcodeproj" in the same directory.

Open your iOS project, follow the steps shown in the figure below, check to be used Lookin of iOS Target, navigate to the Build Settings in the Framework Search Paths, and then add $ (SRCROOT) in the Debug option in

* If you have not copied in the previous step LookinServer.framework to the project root directory, but copied to other places (such as copying files to the FavoriteFrameworks project root folder), then here it is imperative "$ (SRCROOT)" change to "$ (SRCROOT) / FavoriteFrameworks"

According to the following steps shown in FIG, navigate to the Build Settings in the Other Linker Flags, and then add -ObjC -weak_framework LookinServer option in the Debug

According to the following steps shown in FIG, navigate to the Build Settings in the Runpath Search Paths, confirmed that there had been added a @ executable_path / Frameworks

If you do not add too, manually add "$ (inherited) @ executable_path / Frameworks" (without the quotes)

Follow the steps shown in the figure below, navigate to the Build Phases, click the plus sign top left corner, select New Run Script Phase create a new script.

The new script is renamed to Integrate Lookin, and then copy the contents of this script as the content.

用 Release 模式运行一下你的 iOS App,然后打开 Lookin 验证在该模式下确实无法查看你的 App 。

切换回 Debug 模式运行你的 App,现在你应该已经可以正常使用 Lookin 了。

Guess you like

Origin www.cnblogs.com/zhzhiy/p/11265469.html