johnno1962 / injectionforxcode

Runtime Code Injection for Objective-C & Swift
MIT License
6.55k stars 565 forks source link

injection cannot work on my project *** Bundle build failed *** #140

Closed yangchao0033 closed 8 years ago

yangchao0033 commented 8 years ago

injection cannot work on my project,but I cannot find out answer ,include injection issues,here is my error log

buidRoot: /Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build
logDir: /Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Logs/Build

Learnt compile: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/chaoyang/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/chaoyang/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.1 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/YCMath345-iOS-generated-files.hmap -I/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/YCMath345-iOS-own-target-headers.hmap -I/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/YCMath345-iOS-all-target-headers.hmap -iquote /Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/YCMath345-iOS-project-headers.hmap -iquote. -iquoteCordovaLibiOS -iquoteiOSInjectionProject -iquotePods -iquoteYCMath345-iOS -iquoteYCMath345-iOS.xcworkspace -iquoteYCMath345-iOSTests -iquoteCordovaLibiOS/Classes -iquoteiOSInjectionProject/Logs -iquoteiOSInjectionProject/x86_64 -iquotePods/AFNetworking -iquotePods/Aspects -iquotePods/Bugtags -iquotePods/CocoaLumberjack -iquotePods/CVKHierarchySearcher -iquotePods/FBAllocationTracker -iquotePods/FBMemoryProfiler -iquotePods/FBRetainCycleDetector -iquotePods/FMDB -iquotePods/Headers -iquotePods/JSONModel -iquotePods/Local\ Podspecs -iquotePods/Masonry -iquotePods/MBProgressHUD -iquotePods/MJExtension -iquotePods/Pingpp -iquotePods/pop -iquotePods/ReactiveCocoa -iquotePods/ReactiveViewModel -iquotePods/SDWebImage -iquotePods/Target\ Support\ Files -iquoteYCMath345-iOS/CordovaPlugin -iquoteYCMath345-iOS/HttpCommands -iquoteYCMath345-iOS/Managers -iquoteYCMath345-iOS/Models -iquoteYCMath345-iOS/Resources -iquoteYCMath345-iOS/SocialSDK -iquoteYCMath345-iOS/StoryBoards -iquoteYCMath345-iOS/UtilityView -iquoteYCMath345-iOS/Utils -iquoteYCMath345-iOS/VC -iquoteYCMath345-iOS/Vendors -iquoteYCMath345-iOS/www -iquoteYCMath345-iOS.xcworkspace/xcuserdata -iquotePods/AFNetworking/AFNetworking -iquotePods/AFNetworking/UIKit+AFNetworking -iquotePods/Bugtags/Bugtags.bundle -iquotePods/CocoaLumberjack/Classes -iquotePods/CVKHierarchySearcher/Pod -iquotePods/FBAllocationTracker/FBAllocationTracker -iquotePods/FBMemoryProfiler/FBMemoryProfiler -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector -iquotePods/FBRetainCycleDetector/fishhook -iquotePods/FMDB/src -iquotePods/Headers/Private -iquotePods/Headers/Public -iquotePods/JSONModel/JSONModel -iquotePods/Masonry/Masonry -iquotePods/MJExtension/MJExtension -iquotePods/Pingpp/lib -iquotePods/pop/pop -iquotePods/ReactiveCocoa/ReactiveCocoa -iquotePods/ReactiveViewModel/ReactiveViewModel -iquotePods/SDWebImage/SDWebImage -iquotePods/Target\ Support\ Files/AFNetworking -iquotePods/Target\ Support\ Files/Aspects -iquotePods/Target\ Support\ Files/CocoaLumberjack -iquotePods/Target\ Support\ Files/CVKHierarchySearcher -iquotePods/Target\ Support\ Files/FBAllocationTracker -iquotePods/Target\ Support\ Files/FBMemoryProfiler -iquotePods/Target\ Support\ Files/FBRetainCycleDetector -iquotePods/Target\ Support\ Files/FMDB -iquotePods/Target\ Support\ Files/JSONModel -iquotePods/Target\ Support\ Files/Masonry -iquotePods/Target\ Support\ Files/MBProgressHUD -iquotePods/Target\ Support\ Files/MJExtension -iquotePods/Target\ Support\ Files/Pods-YCMath345-iOS -iquotePods/Target\ Support\ Files/Pods-YCMath345-iOS-YCMath345-iOSTests -iquotePods/Target\ Support\ Files/pop -iquotePods/Target\ Support\ Files/ReactiveCocoa -iquotePods/Target\ Support\ Files/ReactiveViewModel -iquotePods/Target\ Support\ Files/SDWebImage -iquoteYCMath345-iOS/HttpCommands/LearnMainLineCMD -iquoteYCMath345-iOS/HttpCommands/LoginAndRegistCMD -iquoteYCMath345-iOS/HttpCommands/PersonCenterCMD -iquoteYCMath345-iOS/HttpCommands/SystemConfigCMD -iquoteYCMath345-iOS/HttpCommands/TrackCMD -iquoteYCMath345-iOS/HttpCommands/VIPPaymentCMD -iquoteYCMath345-iOS/Models/AnswerQuestionModel -iquoteYCMath345-iOS/Models/ESLearnHomeModels -iquoteYCMath345-iOS/Models/ESThemeDetailModel -iquoteYCMath345-iOS/Models/YCEmergencyModel -iquoteYCMath345-iOS/Resources/font -iquoteYCMath345-iOS/Resources/images -iquoteYCMath345-iOS/Resources/localVideo -iquoteYCMath345-iOS/SocialSDK/UMAnalytics_Sdk_3.6.4 -iquoteYCMath345-iOS/SocialSDK/UMengFeedback_SDK_2.3 -iquoteYCMath345-iOS/SocialSDK/UMessage_Sdk_1.2.0 -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1 -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks -iquoteYCMath345-iOS/SocialSDK/YiChuangFeedback -iquoteYCMath345-iOS/UtilityView/YCCommonWebVC -iquoteYCMath345-iOS/UtilityView/YCEmergencyNotificationAlert -iquoteYCMath345-iOS/UtilityView/YCEmergencyNotificationCompnent -iquoteYCMath345-iOS/UtilityView/YCGuideAlert -iquoteYCMath345-iOS/UtilityView/YCLodingAnimationView -iquoteYCMath345-iOS/UtilityView/YCStatusView -iquoteYCMath345-iOS/UtilityView/YCUserAskPage -iquoteYCMath345-iOS/Utils/Categories -iquoteYCMath345-iOS/Utils/Macros -iquoteYCMath345-iOS/Utils/RegularVerifyUtil -iquoteYCMath345-iOS/Utils/YCCalculateScore -iquoteYCMath345-iOS/Utils/YCDataTracking -iquoteYCMath345-iOS/Utils/YCGradeAndCourseData -iquoteYCMath345-iOS/Utils/YCUserChapterStatus -iquoteYCMath345-iOS/VC/YCAnswerQuestionCompletedVC -iquoteYCMath345-iOS/VC/YCAnswerQuestionVC -iquoteYCMath345-iOS/VC/YCDataMigrationVC -iquoteYCMath345-iOS/VC/YCDownloadManageVC -iquoteYCMath345-iOS/VC/YCEasyMoviePlayerVC -iquoteYCMath345-iOS/VC/YCExamFaceVC -iquoteYCMath345-iOS/VC/YCForceUpdateVC -iquoteYCMath345-iOS/VC/YCMainVC -iquoteYCMath345-iOS/VC/YCMathHomeVC -iquoteYCMath345-iOS/VC/YCMoviePlayCompleteVC -iquoteYCMath345-iOS/VC/YCMyVC -iquoteYCMath345-iOS/VC/YCPaymentVC -iquoteYCMath345-iOS/VC/YCPersonalSetVC -iquoteYCMath345-iOS/VC/YCThemeDetailVC -iquoteYCMath345-iOS/VC/YCTryMoreTeacherFunctionVC -iquoteYCMath345-iOS/VC/YCVideoPlayerVC -iquoteYCMath345-iOS/Vendors/AFMInfoMagager -iquoteYCMath345-iOS/Vendors/DXAlertView -iquoteYCMath345-iOS/Vendors/GALibrary -iquoteYCMath345-iOS/Vendors/GZIP -iquoteYCMath345-iOS/Vendors/HMSideMenu -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager -iquoteYCMath345-iOS/Vendors/YCMathNetWork -iquoteYCMath345-iOS/Vendors/YCNetWorking -iquoteYCMath345-iOS/Vendors/YTKKeyValueStore -iquoteYCMath345-iOS/Vendors/YYReachability -iquoteYCMath345-iOS/www/app -iquoteYCMath345-iOS/www/cordova-js-src -iquoteYCMath345-iOS/www/plugins -iquoteYCMath345-iOS.xcworkspace/xcuserdata/chaoyang.xcuserdatad -iquotePods/CocoaLumberjack/Classes/Extensions -iquotePods/CVKHierarchySearcher/Pod/Classes -iquotePods/FBAllocationTracker/FBAllocationTracker/Generations -iquotePods/FBMemoryProfiler/FBMemoryProfiler/Controllers -iquotePods/FBMemoryProfiler/FBMemoryProfiler/Options -iquotePods/FBMemoryProfiler/FBMemoryProfiler/RetainCycles -iquotePods/FBMemoryProfiler/FBMemoryProfiler/UI -iquotePods/FBMemoryProfiler/FBMemoryProfiler/Utils -iquotePods/FBMemoryProfiler/FBMemoryProfiler/Views -iquotePods/FBMemoryProfiler/FBMemoryProfiler/Window -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Associations -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Detector -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Filtering -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Graph -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Layout -iquotePods/FMDB/src/fmdb -iquotePods/Headers/Private/AFNetworking -iquotePods/Headers/Private/Aspects -iquotePods/Headers/Private/CocoaLumberjack -iquotePods/Headers/Private/CVKHierarchySearcher -iquotePods/Headers/Private/FBAllocationTracker -iquotePods/Headers/Private/FBMemoryProfiler -iquotePods/Headers/Private/FBRetainCycleDetector -iquotePods/Headers/Private/FMDB -iquotePods/Headers/Private/JSONModel -iquotePods/Headers/Private/Masonry -iquotePods/Headers/Private/MBProgressHUD -iquotePods/Headers/Private/MJExtension -iquotePods/Headers/Private/Pingpp -iquotePods/Headers/Private/pop -iquotePods/Headers/Private/ReactiveCocoa -iquotePods/Headers/Private/ReactiveViewModel -iquotePods/Headers/Private/SDWebImage -iquotePods/Headers/Public/AFNetworking -iquotePods/Headers/Public/Aspects -iquotePods/Headers/Public/CocoaLumberjack -iquotePods/Headers/Public/CVKHierarchySearcher -iquotePods/Headers/Public/FBAllocationTracker -iquotePods/Headers/Public/FBMemoryProfiler -iquotePods/Headers/Public/FBRetainCycleDetector -iquotePods/Headers/Public/FMDB -iquotePods/Headers/Public/JSONModel -iquotePods/Headers/Public/Masonry -iquotePods/Headers/Public/MBProgressHUD -iquotePods/Headers/Public/MJExtension -iquotePods/Headers/Public/Pingpp -iquotePods/Headers/Public/pop -iquotePods/Headers/Public/ReactiveCocoa -iquotePods/Headers/Public/ReactiveViewModel -iquotePods/Headers/Public/SDWebImage -iquotePods/JSONModel/JSONModel/JSONModel -iquotePods/JSONModel/JSONModel/JSONModelCategories -iquotePods/JSONModel/JSONModel/JSONModelNetworking -iquotePods/JSONModel/JSONModel/JSONModelTransformations -iquotePods/Pingpp/lib/Channels -iquotePods/Pingpp/lib/Pingpp.bundle -iquotePods/pop/pop/WebCore -iquotePods/ReactiveCocoa/ReactiveCocoa/extobjc -iquoteYCMath345-iOS/Models/ESThemeDetailModel/hyperVideoM -iquoteYCMath345-iOS/Models/ESThemeDetailModel/PricticeM -iquoteYCMath345-iOS/Resources/images/1.5ui -iquoteYCMath345-iOS/SocialSDK/UMengFeedback_SDK_2.3/Resources -iquoteYCMath345-iOS/SocialSDK/UMengFeedback_SDK_2.3/UMOpus -iquoteYCMath345-iOS/SocialSDK/UMengFeedback_SDK_2.3/Views -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/Header -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/SocialSDKXib -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/UMSocialSDKResourcesNew.bundle -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/SinaSSO -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/Wechat -iquoteYCMath345-iOS/SocialSDK/YiChuangFeedback/KF5SDK.bundle -iquoteYCMath345-iOS/VC/YCDownloadManageVC/Models -iquoteYCMath345-iOS/VC/YCDownloadManageVC/ViewModels -iquoteYCMath345-iOS/VC/YCDownloadManageVC/Views -iquoteYCMath345-iOS/VC/YCMainVC/YCLoginVC -iquoteYCMath345-iOS/VC/YCMainVC/YCRegisterVC -iquoteYCMath345-iOS/VC/YCMainVC/YCSelectCourseGradeView -iquoteYCMath345-iOS/VC/YCMainVC/YCSetCourseVC -iquoteYCMath345-iOS/VC/YCMainVC/YCSetGradeVC -iquoteYCMath345-iOS/VC/YCMainVC/YCSetRoleVC -iquoteYCMath345-iOS/VC/YCMathHomeVC/Views -iquoteYCMath345-iOS/VC/YCMoviePlayCompleteVC/VCs -iquoteYCMath345-iOS/VC/YCMoviePlayCompleteVC/ViewModel -iquoteYCMath345-iOS/VC/YCMoviePlayCompleteVC/Views -iquoteYCMath345-iOS/VC/YCMyVC/Views -iquoteYCMath345-iOS/VC/YCMyVC/YCMyCardVC -iquoteYCMath345-iOS/VC/YCMyVC/YCShopVC -iquoteYCMath345-iOS/VC/YCPaymentVC/views -iquoteYCMath345-iOS/VC/YCPersonalSetVC/Views -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCHeziyuVC -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCResetCourseVC -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCResetGradeVC -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCResetSubjectVC -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCUserSetCenterVC -iquoteYCMath345-iOS/VC/YCThemeDetailVC/YCThemeViews -iquoteYCMath345-iOS/VC/YCVideoPlayerVC/Delegate -iquoteYCMath345-iOS/VC/YCVideoPlayerVC/manager -iquoteYCMath345-iOS/VC/YCVideoPlayerVC/VCs -iquoteYCMath345-iOS/VC/YCVideoPlayerVC/ViewModels -iquoteYCMath345-iOS/VC/YCVideoPlayerVC/Views -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/Categories -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/Constants -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/IQTextView -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/IQToolbar -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/Resources -iquoteYCMath345-iOS/Vendors/YCNetWorking/YCDownLoadManager -iquoteYCMath345-iOS/Vendors/YCNetWorking/YCNetwork -iquoteYCMath345-iOS/www/plugins/com.guanghe.cordova.plugin.YCProblemSetPlugin -iquoteYCMath345-iOS/www/plugins/com.hutchind.cordova.plugins.streamingmedia -iquoteYCMath345-iOS/www/plugins/cordova-plugin-device -iquoteYCMath345-iOS/www/plugins/cordova-plugin-dialogs -iquoteYCMath345-iOS/www/plugins/cordova-plugin-file -iquoteYCMath345-iOS/www/plugins/cordova-plugin-file-transfer -iquoteYCMath345-iOS.xcworkspace/xcuserdata/chaoyang.xcuserdatad/xcdebugger -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Associations/Internal -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Graph/Internal -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Graph/Specialization -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Blocks -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Classes -iquotePods/Headers/Public/Pingpp/AlipaySDK -iquotePods/Pingpp/lib/Channels/Alipay -iquotePods/Pingpp/lib/Channels/Wx -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/UMSocialSDKResourcesNew.bundle/Buttons -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/UMSocialSDKResourcesNew.bundle/EGO -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/UMSocialSDKResourcesNew.bundle/OtherTheme -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/UMSocialSDKResourcesNew.bundle/SnsPlatform -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/UMSocialSDKResourcesNew.bundle/SocialSDKBar -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/UMSocialSDKResourcesNew.bundle/Sound -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/SinaSSO/WeiboSDK.bundle -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenApi_IOS_Bundle.bundle -iquoteYCMath345-iOS/VC/YCMainVC/YCLoginVC/YCForgetPasswordVC -iquoteYCMath345-iOS/VC/YCMainVC/YCRegisterVC/YCUserProtocolVC -iquoteYCMath345-iOS/VC/YCMathHomeVC/Views/YCBannerView -iquoteYCMath345-iOS/VC/YCMyVC/YCShopVC/Views -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCResetCourseVC/YCSetCourseVC -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCResetCourseVC/YCSetGradeVC -iquoteYCMath345-iOS/VC/YCPersonalSetVC/YCUserSetCenterVC/WebViews -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/Resources/IQKeyboardManager.bundle -iquoteYCMath345-iOS/www/plugins/com.guanghe.cordova.plugin.YCProblemSetPlugin/www -iquoteYCMath345-iOS/www/plugins/com.hutchind.cordova.plugins.streamingmedia/www -iquoteYCMath345-iOS/www/plugins/cordova-plugin-device/www -iquoteYCMath345-iOS/www/plugins/cordova-plugin-dialogs/www -iquoteYCMath345-iOS/www/plugins/cordova-plugin-file/www -iquoteYCMath345-iOS/www/plugins/cordova-plugin-file-transfer/www -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Classes/Parser -iquotePods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Classes/Reference -iquotePods/Pingpp/lib/Channels/Alipay/AlipaySDK.bundle -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/SinaSSO/WeiboSDK.bundle/images -iquoteYCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/SinaSSO/WeiboSDK.bundle/others -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/Resources/IQKeyboardManager.bundle/zh-Hans -iquoteYCMath345-iOS/Vendors/IQKeyBoardManager/Resources/IQKeyboardManager.bundle/zh-Hant -iquoteYCMath345-iOS/www/plugins/cordova-plugin-file/www/browser -iquoteYCMath345-iOS/www/plugins/cordova-plugin-file/www/ios -I/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Products/Debug-iphonesimulator/include -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/AFNetworking -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Aspects -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Bugtags -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/CVKHierarchySearcher -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/CocoaLumberjack -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FBAllocationTracker -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FBMemoryProfiler -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FBRetainCycleDetector -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FMDB -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/JSONModel -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/MBProgressHUD -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/MJExtension -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Masonry -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Pingpp -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/ReactiveCocoa -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/ReactiveViewModel -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/SDWebImage -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/pop -I/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/DerivedSources/x86_64 -I/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/DerivedSources -Wno-shorten-64-to-32 -F/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Products/Debug-iphonesimulator -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Bugtags -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Pingpp/lib/Channels/Alipay -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/Vendors/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/Vendors/YiChuangFeedback -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/SDK/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/SDK/YiChuangFeedback -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/SocialSDK/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/SocialSDK/YiChuangFeedback -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/AFNetworking -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Aspects -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Bugtags -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/CVKHierarchySearcher -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/CocoaLumberjack -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FBAllocationTracker -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FBMemoryProfiler -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FBRetainCycleDetector -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/FMDB -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/JSONModel -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/MBProgressHUD -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/MJExtension -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Masonry -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/Pingpp -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/ReactiveCocoa -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/ReactiveViewModel -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/SDWebImage -isystem /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/Headers/Public/pop -include /Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/PrecompiledHeaders/PrefixHeader-dzvsrpoweiafdohfyptuhpsyuazq/PrefixHeader.pch -MMD -MT dependencies -MF /Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/Objects-normal/x86_64/YCMathHomeVC.d --serialize-diagnostics /Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Intermediates/YCMath345-iOS.build/Debug-iphonesimulator/YCMath345-iOS.build/Objects-normal/x86_64/YCMathHomeVC.dia -c /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/VC/YCMathHomeVC/YCMathHomeVC.m -o iOSInjectionProject/x86_64/injecting_class.o

real 0m0.354s
user 0m0.287s
sys 0m0.063s
In file included from /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/VC/YCMathHomeVC/YCMathHomeVC.m:51:
In file included from /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/AppDelegateManager.h:16:
In file included from /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/Header/UMSocial.h:18:
YCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/Header/UMSocialConfig.h:268:1: warning: multiple declarations of method 'shareInstance' found and ignored [-Wduplicate-method-match]
+ (UMSocialConfig *)shareInstance;
^
YCMath345-iOS/SocialSDK/UMSocial_Sdk_5.0.1/Header/UMSocialConfig.h:92:1: note: previous declaration is here
+ (UMSocialConfig *)shareInstance;
^
In file included from /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/VC/YCMathHomeVC/YCMathHomeVC.m:51:
In file included from /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/AppDelegateManager.h:23:
/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/Vendors/AFMInfoMagager/AFMInfoBanner.h:38:2: warning: AFMInfoBanner [-W#warnings]
#warning î‚·ðÙ¶ðÖ„ð¡È ØÇÍïÅÛAFMInfoBanner
 ^
/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/VC/YCMathHomeVC/YCMathHomeVC.m:967:15: warning: unused variable 'themeName' [-Wunused-variable]
 NSString *themeName = [self.viewModel cellTitleWithSelectChapterIndex:self.chapterSegmentControl.selectedSegmentIndex indexPath:indexPath];
 ^
In file included from /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/VC/YCMathHomeVC/YCMathHomeVC.m:1:
In file included from /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/YCMath345-iOS/Utils/PrefixHeader.pch:23:
/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/Pods/CocoaLumberjack/Classes/DDTTYLogger.h:44:22: warning: unused function 'DDMakeColor' [-Wunused-function]
 static DDColor* DDMakeColor(CGFloat r, CGFloat g, CGFloat b) {return [DDColor colorWithRed:(r/255.0f) green:(g/255.0f) blue:(b/255.0f) alpha:1.0f];}
 ^
4 warnings generated.
ls: *.framework: No such file or directory

Building iOSInjectionProject/InjectionBundle.xcodeproj
"/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild" -configuration Debug -arch x86_64 -sdk iphonesimulator

2016-06-01 17:04:57.439 xcodebuild[15962:277915] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-06-01 17:04:57.441 xcodebuild[15962:277915] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Build settings from command line:
 ARCHS = x86_64
 SDKROOT = iphonesimulator9.3

=== BUILD TARGET InjectionBundle OF PROJECT InjectionBundle WITH CONFIGURATION Debug ===

Check dependencies

CompileC build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/BundleContents.o BundleContents.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
 cd /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject
 export LANG=en_US.US-ASCII
 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/br/3srhh_ts11ld569b07r0pq_80000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.3 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/InjectionBundle-generated-files.hmap -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/InjectionBundle-own-target-headers.hmap -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/InjectionBundle-all-target-headers.hmap -iquote /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/InjectionBundle-project-headers.hmap -iquote.. -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/usr/include/libxml2 -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/DerivedSources/x86_64 -I/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/DerivedSources -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/Debug-iphonesimulator -include /var/folders/br/3srhh_ts11ld569b07r0pq_80000gn/C/com.apple.DeveloperTools/7.3.1-7D1014/Xcode/SharedPrecompiledHeaders/InjectionBundle-Prefix-fzroxcwnnmcawcesfipaefmcyhox/InjectionBundle-Prefix.pch -MMD -MT dependencies -MF /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/BundleContents.d --serialize-diagnostics /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/BundleContents.dia -c /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/BundleContents.m -o /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/BundleContents.o

Ld build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle normal x86_64
 cd /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject
 export IPHONEOS_DEPLOYMENT_TARGET=8.3
 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/Debug-iphonesimulator -F/Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/Debug-iphonesimulator -filelist /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/InjectionBundle.LinkFileList -mios-simulator-version-min=8.3 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 x86_64/injecting_class.o -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -F/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Products/Debug-iphonesimulator -F/Users/chaoyang/Library/Developer/Xcode/DerivedData/YCMath345-iOS-bxryunelkkeyzgczugnihgibzmzl/Build/Products/Debug-iphonesimulator/YCMath345-iOS.app/Frameworks -undefined dynamic_lookup -fobjc-arc -fobjc-link-runtime -framework UIKit -framework QuartzCore -framework OpenGLES -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/InjectionBundle_dependency_info.dat -o /Users/chaoyang/Desktop/iOS/work/code/YCMath345-iOS/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle
ld: warning: -undefined dynamic_lookup is deprecated on iOS
ld: framework not found KF5SDK for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
 Ld build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle normal x86_64
(1 failure)

*** Build Failed with status: 65. You may need to open and edit the bundle project to resolve issues with either header include paths or Frameworks the bundle links against. ***

 at /Users/chaoyang/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
 main::error('Build Failed with status: 65. You may need to open and edit t...') called at /Users/chaoyang/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 465
*** Bundle build failed ***

 How can I fix it? thanks for your help!

johnno1962 commented 8 years ago

Your problem is framework not found KF5SDK for architecture x86_64. Locate this framework and add the directory where it can be found to the framework serach path of your injection bundle project (Injection Plugin/OpenBundleProject)

yangchao0033 commented 8 years ago

thanks ! it work well ,the function is very powerful😁~ and hot flush is amazing~ i will close this issue.