苹果禁止jspatch使用,app 被重复打回.开发人员亚历山大.怎么从根源上判断我们的app是否包含jspatch呢?
第一步 编译出自己的 test.ipa文件,修改后缀为test.zip.
第二步 解压test.zip.

第三步 右建 文件test,选择 "显示包内容".
第四步
把包里面的test 拖到UltraEdit 里面.查找以下方法
+ (void)startEngine;
+ (JSValue *)evaluateScriptWithPath:(NSString *)filePath;
+ (void)defineStruct:(NSDictionary *)defineDict;
+ (void)handleException:(void (^)(NSString *msg))exceptionBlock;
+ (void)main:(JSContext *)context;
+ (void *)formatPointerJSToOC:(JSValue *)val;
+ (id)formatRetainedCFTypeOCToJS:(CFTypeRef)CF_CONSUMED type;
+ (id)formatPointerOCToJS:(void *)pointer;
+ (id)formatJSToOC:(JSValue *)val;
+ (id)formatOCToJS:(id)obj;
+ (int)sizeOfStructTypes:(NSString *)structTypes;
+ (void)getStructDataWidthDict:(void *)structData dict:(NSDictionary *)dict structDefine:(NSDictionary *)structDefine;
+ (NSDictionary *)getDictOfStruct:(void *)structData structDefine:(NSDictionary *)structDefine;
+ (NSMutableDictionary *)registeredStruct;
+ (NSDictionary *)overideMethods;
如果都找不到说明,不包含jspatch,如果还是能找到以上方法说明jspatch没移除干净.