From eed24c803e9c3e0b157b055840a1efd8ea2f0d24 Mon Sep 17 00:00:00 2001 From: zhaojq Date: Tue, 8 Mar 2022 23:42:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20MonkeyApp=20=E6=A8=A1=E6=9D=BF=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20"UI=20Inspector"=20=E8=AE=BE=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 可选择 Reveal/Lookin 作为视图检查工具,或者选择 None 不集成 --- MonkeyApp.xctemplate/TemplateInfo.plist | 23 +++++++ .../TemplateInfo.plist | 67 ++++++++++++++++++- 2 files changed, 88 insertions(+), 2 deletions(-) diff --git a/MonkeyApp.xctemplate/TemplateInfo.plist b/MonkeyApp.xctemplate/TemplateInfo.plist index f0777c0..25255ed 100644 --- a/MonkeyApp.xctemplate/TemplateInfo.plist +++ b/MonkeyApp.xctemplate/TemplateInfo.plist @@ -165,6 +165,29 @@ Options + + NotPersisted + + Identifier + uiInspectorType + Name + UI Inspector: + Description + Which UI inspector to use + Type + popup + Default + None + Units + + Reveal + + Lookin + + None + + + Identifier TargetAppInfo diff --git a/MonkeyAppLibrary.xctemplate/TemplateInfo.plist b/MonkeyAppLibrary.xctemplate/TemplateInfo.plist index 871f06f..c4201c1 100644 --- a/MonkeyAppLibrary.xctemplate/TemplateInfo.plist +++ b/MonkeyAppLibrary.xctemplate/TemplateInfo.plist @@ -104,8 +104,6 @@ Debug - OTHER_LDFLAGS - $(inherited) -weak_library /usr/lib/libc++.dylib -weak_library /usr/lib/libstdc++.dylib -weak_library $(MonkeyDevPath)/Frameworks/libsubstrate.dylib -lcycript -framework RevealServer VALIDATE_PRODUCT NO GCC_OPTIMIZATION_LEVEL @@ -130,6 +128,71 @@ Options + + NotPersisted + + Identifier + uiInspectorType + Name + UI Inspector: + Description + Which UI inspector to use + Type + popup + Default + none + Units + + Reveal + + + Project + + Configurations + + Debug + + OTHER_LDFLAGS + $(inherited) -weak_library /usr/lib/libc++.dylib -weak_library /usr/lib/libstdc++.dylib -weak_library $(MonkeyDevPath)/Frameworks/libsubstrate.dylib -lcycript -framework RevealServer + + + + + + Lookin + + + Project + + Configurations + + Debug + + OTHER_LDFLAGS + $(inherited) -weak_library /usr/lib/libc++.dylib -weak_library /usr/lib/libstdc++.dylib -weak_library $(MonkeyDevPath)/Frameworks/libsubstrate.dylib -lcycript -ObjC -weak_framework LookinServer + + + + + + None + + + Project + + Configurations + + Debug + + OTHER_LDFLAGS + $(inherited) -weak_library /usr/lib/libc++.dylib -weak_library /usr/lib/libstdc++.dylib -weak_library $(MonkeyDevPath)/Frameworks/libsubstrate.dylib -lcycript + + + + + + + NotPersisted