Code Monkey home page Code Monkey logo

babaseproject's People

Contributors

boai avatar zer0lu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

babaseproject's Issues

Xcode无法运行项目。

报错Multiple commands produce '/Users/ruse/Library/Developer/Xcode/DerivedData/BABaseProject-ctjteysydzzauwgcnnptjhfiertj/Build/Products/Debug-iphonesimulator/BABaseProject.app/Contents.json'

下载demo就这样了,更新cocopods没有,求解

Undefined symbols for architecture arm64:
"OBJC_CLASS$_MJRefreshHeader", referenced from:
objc-class-ref in BABaseTableViewController.o
"OBJC_CLASS$_AFNetworkActivityIndicatorManager", referenced from:
objc-class-ref in AppDelegate+BACategory.o
objc-class-ref in BANetManager.o
"OBJC_CLASS$_MBProgressHUD", referenced from:
objc-class-ref in NSObject+BAProgressHUD.o
"OBJC_CLASS$_AFJSONResponseSerializer", referenced from:
objc-class-ref in BANetManager.o
"OBJC_CLASS$_AFHTTPSessionManager", referenced from:
objc-class-ref in BANetManager.o
"OBJC_METACLASS$_MJRefreshGifHeader", referenced from:
OBJC_METACLASS$_BACustomMJHeader in BACustomMJHeader.o
"OBJC_CLASS$_MJRefreshFooter", referenced from:
objc-class-ref in BABaseTableViewController.o
"OBJC_CLASS$_AFSecurityPolicy", referenced from:
objc-class-ref in BANetManager.o
"OBJC_CLASS$_IQKeyboardManager", referenced from:
objc-class-ref in AppDelegate+BACategory.o
"OBJC_CLASS$_AFNetworkReachabilityManager", referenced from:
objc-class-ref in AppDelegate+BACategory.o
objc-class-ref in BANetManager.o
objc-class-ref in BABaseViewController.o
"OBJC_CLASS$_MJRefreshGifHeader", referenced from:
OBJC_CLASS$_BACustomMJHeader in BACustomMJHeader.o
"OBJC_CLASS$_MJRefreshAutoGifFooter", referenced from:
OBJC_CLASS$_BACustomMJFooter in BACustomMJFooter.o
"OBJC_METACLASS$_MJRefreshAutoGifFooter", referenced from:
OBJC_METACLASS$_BACustomMJFooter in BACustomMJFooter.o
"OBJC_CLASS$_BACustomButton", referenced from:
objc-class-ref in DemoVC12View.o
objc-class-ref in DemoVC4.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

info.plist权限问题

在iPhone,iOS10+下;
首页->最新->8丶系统提醒和更新;出现Carsh

解决方案:
在info.plist添加

NSCalendarsUsageDescription
是否允许此App使用日历?
Privacy - Reminders Usage Description
是否允许次App使用提醒?

贴个小问题

一、没有找到.gitignore文件
二、用facebook的infer跑了下工程,可能存在的问题贴给你瞧瞧

Found 51 issues

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BAAPP.m:81: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 81, column 5

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BAAPP.m:93: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 93, column 5

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BAAPP.m:105: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 105, column 5

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/BACustom/BARegularExpression/BARegularExpression.m:459: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter bankCardlNum is not checked for null, there could be a null pointer dereference: pointer subStr last assigned on line 458 could be null and is dereferenced by call to addObject: at line 459, column 9

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:115: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 115, column 17

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:112: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 112, column 17

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:118: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 118, column 17

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:121: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 121, column 17

BABaseProject/BAMainCode/BABaseData(基类)/BABaseVC/BAWebViewController.m:408: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter completionHandler is not checked for null, there could be a null pointer dereference: pointer completionHandler could be null and is dereferenced at line 408, column 5

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BALog.m:78: error: NULL_DEREFERENCE
  pointer format last assigned on line 75 could be null and is dereferenced by call to initWithFormat:arguments: at line 78, column 22

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/Foundation/NSData+BAKit.m:114: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter key is not checked for null, there could be a null pointer dereference: pointer cKey last assigned on line 113 could be null and is dereferenced by call to strlen() at line 114, column 23

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/Foundation/NSMutableArray+BAKit.m:85: error: NULL_DEREFERENCE
  pointer obj last assigned on line 76 could be null and is dereferenced by call to insertObject:atIndex: at line 85, column 13

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/Foundation/NSMutableArray+BAKit.m:82: error: NULL_DEREFERENCE
  pointer obj last assigned on line 76 could be null and is dereferenced by call to addObject: at line 82, column 13

BABaseProject/BAMainCode/BALib(三方库)/Reachability/Reachability.m:132: error: MEMORY_LEAK
   memory dynamically allocated to reachability by call to SCNetworkReachabilityCreateWithAddress() at line 125, column 42 is not reachable after line 132, column 7

BABaseProject/BAMainCode/BALib(三方库)/Reachability/Reachability.m:113: error: MEMORY_LEAK
   memory dynamically allocated to reachability by call to SCNetworkReachabilityCreateWithName() at line 109, column 42 is not reachable after line 113, column 7

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UIDevice+BAKit.m:307: error: MEMORY_LEAK
   memory dynamically allocated by call to malloc() at line 299, column 15 is not reachable after line 307, column 9

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:167: error: MEMORY_LEAK
   memory dynamically allocated to Path by call to CGPathCreateMutable() at line 165, column 29 is not reachable after line 167, column 5

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:190: error: MEMORY_LEAK
   memory dynamically allocated to Path by call to CGPathCreateMutable() at line 188, column 16 is not reachable after line 190, column 9

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:163: error: MEMORY_LEAK
   memory dynamically allocated to framesetter by call to CTFramesetterCreateWithAttributedString() at line 163, column 36 is not reachable after line 163, column 5

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:205: error: MEMORY_LEAK
   memory dynamically allocated to frame by call to CTFramesetterCreateFrame() at line 192, column 17 is not reachable after line 205, column 5

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:175: error: MEMORY_LEAK
   memory dynamically allocated by call to CTFramesetterCreateFrame() at line 169, column 24 is not reachable after line 175, column 9

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UITableView+BAKit.m:108: warning: PARAMETER_NOT_NULL_CHECKED
  Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 108, column 5

Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:221: warning: ASSIGN_POINTER_WARNING
  Property `didFinishAutoLayoutBlock` is a pointer type marked with the `assign` attribute at line 221, column 1. Use a different attribute like `strong` or `weak`.

Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:236: warning: ASSIGN_POINTER_WARNING
  Property `paramNeedfeed` is a pointer type marked with the `assign` attribute at line 236, column 1. Use a different attribute like `strong` or `weak`.

Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:242: warning: ASSIGN_POINTER_WARNING
  Property `paramSuccessnum` is a pointer type marked with the `assign` attribute at line 242, column 1. Use a different attribute like `strong` or `weak`.

BABaseProject/BAMainCode/BABaseData(基类)/BABaseVC/BANavigationController2.m:14: warning: STRONG_DELEGATE_WARNING
  Property or ivar popDelegate declared strong at line 14, column 1. In general delegates should be declared weak or assign

Pods/Headers/Public/UMengSocialCOM/UMSocialControllerService.h:101: warning: ASSIGN_POINTER_WARNING
  Property `currentNavigationController` is a pointer type marked with the `assign` attribute at line 101, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/MJExtension/MJProperty.h:26: warning: ASSIGN_POINTER_WARNING
  Property `srcClass` is a pointer type marked with the `assign` attribute at line 26, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/UMengSocialCOM/UMSocialBar.h:50: warning: ASSIGN_POINTER_WARNING
  Property `socialUIDelegate` is a pointer type marked with the `assign` attribute at line 50, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/UMengSocialCOM/UMSocialBar.h:134: warning: ASSIGN_POINTER_WARNING
  Property `socialUIDelegate` is a pointer type marked with the `assign` attribute at line 134, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/UMengSocialCOM/UMSocialControllerService.h:96: warning: ASSIGN_POINTER_WARNING
  Property `currentViewController` is a pointer type marked with the `assign` attribute at line 96, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.h:134: warning: ASSIGN_POINTER_WARNING
  Property `cellClass` is a pointer type marked with the `assign` attribute at line 134, column 1. Use a different attribute like `strong` or `weak`.

BABaseProject/BAMainCode/BACode/Home(首页)/DemoVC/DemoVC11/DemoVC11_AutoLayout.h:40: warning: ASSIGN_POINTER_WARNING
  Property `delegate` is a pointer type marked with the `assign` attribute at line 40, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:318: warning: ASSIGN_POINTER_WARNING
  Property `sd_indexPath` is a pointer type marked with the `assign` attribute at line 318, column 1. Use a different attribute like `strong` or `weak`.

Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h:518: warning: ASSIGN_POINTER_WARNING
  Property `extendInfo` is a pointer type marked with the `assign` attribute at line 518, column 1. Use a different attribute like `strong` or `weak`.

Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h:388: warning: ASSIGN_POINTER_WARNING
  Property `previewImageData` is a pointer type marked with the `assign` attribute at line 388, column 1. Use a different attribute like `strong` or `weak`.

Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuth.h:60: warning: ASSIGN_POINTER_WARNING
  Property `sessionDelegate` is a pointer type marked with the `assign` attribute at line 60, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:315: warning: ASSIGN_POINTER_WARNING
  Property `sd_tableView` is a pointer type marked with the `assign` attribute at line 315, column 1. Use a different attribute like `strong` or `weak`.

Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:253: warning: ASSIGN_POINTER_WARNING
  Property `paramPicnum` is a pointer type marked with the `assign` attribute at line 253, column 1. Use a different attribute like `strong` or `weak`.

BABaseProject/BAMainCode/BABaseData(基类)/BABaseVC/BANavigationController.m:73: warning: STRONG_DELEGATE_WARNING
  Property or ivar popDelegate declared strong at line 73, column 1. In general delegates should be declared weak or assign

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UIView+BAKit.h:167: warning: ASSIGN_POINTER_WARNING
  Property `borderColor` is a pointer type marked with the `assign` attribute at line 167, column 1. Use a different attribute like `strong` or `weak`.

BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UIView+BAKit.h:162: warning: ASSIGN_POINTER_WARNING
  Property `bakit_manager` is a pointer type marked with the `assign` attribute at line 162, column 1. Use a different attribute like `strong` or `weak`.

Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:215: warning: ASSIGN_POINTER_WARNING
  Property `paramMobile` is a pointer type marked with the `assign` attribute at line 215, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/UMengSocialCOM/UMSocialControllerService.h:107: warning: ASSIGN_POINTER_WARNING
  Property `socialUIDelegate` is a pointer type marked with the `assign` attribute at line 107, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:209: warning: ASSIGN_POINTER_WARNING
  Property `sd_rightViewsArray` is a pointer type marked with the `assign` attribute at line 209, column 1. Use a different attribute like `strong` or `weak`.

Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:322: warning: ASSIGN_POINTER_WARNING
  Property `ownLayoutModel` is a pointer type marked with the `assign` attribute at line 322, column 1. Use a different attribute like `strong` or `weak`.

BABaseProject/Main/View/RDVTabBarItem.m:86: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
  Direct access to ivar _badgeTextColor of an atomic property at line 86, column 5. Accessing an ivar of an atomic property makes the property nonatomic

BABaseProject/Main/View/RDVTabBarItem.m:84: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
  Direct access to ivar _selectedTitleAttributes of an atomic property at line 84, column 5. Accessing an ivar of an atomic property makes the property nonatomic

BABaseProject/Main/View/RDVTabBarItem.m:71: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
  Direct access to ivar _unselectedTitleAttributes of an atomic property at line 71, column 9. Accessing an ivar of an atomic property makes the property nonatomic

BABaseProject/Main/View/RDVTabBarItem.m:85: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
  Direct access to ivar _badgeBackgroundColor of an atomic property at line 85, column 5. Accessing an ivar of an atomic property makes the property nonatomic

BABaseProject/Main/View/RDVTabBarItem.m:84: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
  Direct access to ivar _unselectedTitleAttributes of an atomic property at line 84, column 33. Accessing an ivar of an atomic property makes the property nonatomic

Summary of the reports

         ASSIGN_POINTER_WARNING: 22
     PARAMETER_NOT_NULL_CHECKED: 11
                    MEMORY_LEAK: 8
  DIRECT_ATOMIC_PROPERTY_ACCESS: 5
               NULL_DEREFERENCE: 3
        STRONG_DELEGATE_WARNING: 2

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.