Giter VIP home page Giter VIP logo

jiamoduledemo's Issues

一些问题,请指教

本人刚刚研究组件化,看到作者的文章,使我学到很多,首先非常感谢,但有几个问题想请教一下作者。首先关于BaseModule模块,在实际开发中,这个模块是作为一个私有的repo,作为基础组件提供给各个模块来使用,但是BaseModul中存在大量的Category,给其他模块使用的时候,用到什么Category再引用是不是很麻烦。还有就算每个模块在开发中应该分为两个repo的吧?一个是Actions模块,一个是Mediator +Category? 我看到作者是将这两块放在一起,不太理解,希望作者可以抽空给我解答下,谢谢!

contact

你好,可以给个联系方式吗?有点问题想问一下

项目运行错误

首先,pod完后运行,AFImageDownloader.h 文件找不到,发现是因为目前pod install 会更新AFN3.1.0版本,这个版本应该是没有AFImageDownloader这个类了。所有我把pod 'AFNetworking', '~>3.0' 改成了'AFNetworking', '3.0'指定更新3.0版本。不再提示找不到AFImageDownloader.h文件了。但是又出现了新的问题,RealReachability库里的 PingFoundation.h 类中
check_compile_time(sizeof(ICMPHeader) == 8);
check_compile_time(offsetof(ICMPHeader, type) == 0);
check_compile_time(offsetof(ICMPHeader, code) == 1);
check_compile_time(offsetof(ICMPHeader, checksum) == 2);
check_compile_time(offsetof(ICMPHeader, identifier) == 4);
check_compile_time(offsetof(ICMPHeader, sequenceNumber) == 6);
这几个调用 提示 提示 Expected parameter declarator, 问题指向这里offsetof

download`demo can`t running!

Undefined symbols for architecture x86_64:
"OBJC_CLASS$_GeTuiSdk", referenced from:
objc-class-ref in XAspect-GeTuiAppDelegate.o

demo一打开就报错啊

clang: error: no such file or directory: '/Users/admin/Desktop/jiaModuleDemo-master/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-dummy.m'
clang: error: no input files

编译通过,但是没有执行

#import "XAAppDelegate.h"
#import "XAspect.h"

#define AtAspect AnalyticsAppDelegate

#define AtAspectOfClass XAAppDelegate
@classpatchfield(XAAppDelegate)

AspectPatch(-, BOOL, application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions)
{
NSLog(@"成功加载友盟统计");
return XAMessageForward(application:application didFinishLaunchingWithOptions:launchOptions);
}

@EnD
#undef AtAspectOfClass
#undef AtAspect

在自己的项目中,加入如上代码,debug中,没有进入AspectPatch的代码块中,"成功加载友盟统计"日志未打印

项目报错

/Users/xxx/Downloads/jiaModuleDemo-master/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m:29:9: 'AFImageDownloader.h' file not found

运行项目报错

clang: error: no such file or directory: '/Users/lish/Desktop/Git/jiaModuleDemo/Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack-dummy.m'
clang: error: no input files

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.