Open swift-ci opened 5 years ago
cc aschwaighofer@apple.com (JIRA User)
cc @mikeash too, who has experience with the ObjC runtime.
(there's an understatement)
Comment by 庄黛淳华 (JIRA)
/Applications/Xcode11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -filelist /var/folders/l7/mhg7cfmj0j75967x91zxjw0m0000gn/T/sources-db2c30 -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/ContentSelect/ViewController/ItemSelectViewModel.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Common/View/WebView/JSBridge-Yaya.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Common/View/WebView/JSBridge.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Storage/KeyValueStore/KeyValueCacheStore.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/OnlineParams/KeyValueStoreOCHelper.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Helper/Extensions/BaseParser+JsonParser.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Detail/SectionDetail/CoreText.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Networking/DownloadManager.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Networking/DownloadRecover/DownloadRecoverManager.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Storage/KeyValueStore/Store/KeyValueConfig.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Storage/KeyValueStore/Store/KeyValueItem.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Storage/KeyValueStore/Store/KeyValueStore.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/OnlineParams/RemoteParamApi.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Sharing/SocialContact/OtherAdapter/ShareSavePhotoActionAdapter.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Storage/KeyValueStore/Store/StoreSetter.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/General/Storage/KeyValueStore/Store/StoreValue.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/LabelDetail/LabelDetailVC.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/LabelDetail/LabelDetailVM.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/CategoryChannel/Api/LabelListApi.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/CategoryChannel/Models/Labeodel.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Launch/LaunchAdView/LaunchAdView.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Launch/LaunchGuideView/Views/LaunchGuideCollectionViewCell.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Launch/LaunchGuideView/LaunchGuideView.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Mine/API/ListenRecordApi.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Mine/ViewModel/ListenRecordCellViewModel.swift -primary-file /Users/mikun/Desktop/myProject/myProject/Classes/Business/Mine/View/ListenRecordEmptyCell.swift -supplementary-output-file-map /var/folders/l7/mhg7cfmj0j75967x91zxjw0m0000gn/T/supplementaryOutputs-6b7983 -target x86_64-apple-ios10.0-simulator -enable-objc-interop -sdk /Applications/Xcode11.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk -I /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Alamofire -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/BSBacktraceLogger -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/CocoaLumberjack -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/DTCoreText -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/DTFoundation -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/DoraemonKit -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/FreeStreamer -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/HandyJSON -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/IQKeyboardManagerSwift -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Kingfisher -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Downloader -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Network -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/LayoutInspector -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/MDKTools -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Moya -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/PNChart -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/RNCryptor -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Reachability -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Result -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/RxCocoa -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/RxSwift -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SQLiteRepairKit -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SnapKit -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwiftHash -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwifterSwift -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwiftyJSON -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwiftyStoreKit -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/UICountingLabel -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/URLNavigator -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/WCDB.swift -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/WCDBOptimizedSQLCipher -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYCache -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYImage -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYText -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYWebImage -F /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/fishhook -F /Users/mikun/Desktop/myProject/myProject/Pods/Bugly -F /Users/mikun/Desktop/myProject/myProject/Pods/UMCAnalytics -F /Users/mikun/Desktop/myProject/myProject/Pods/UMCCommon -F /Users/mikun/Desktop/myProject/myProject/Pods/UMCPush -F /Users/mikun/Desktop/myProject/myProject/Pods/UMCSecurityPlugins/thirdparties -F /Users/mikun/Desktop/myProject/myProject/Pods/YYImage/Vendor -F /Users/mikun/Desktop/myProject/myProject/Vendor/QQSDK -F /Users/mikun/Desktop/myProject/myProject -F /Users/mikun/Desktop/myProject/myProject -enable-testing -g -module-cache-path /Users/mikun/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -Xcc -working-directory -Xcc /Users/mikun/Desktop/myProject/myProject -enable-anonymous-context-mangled-names -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/myProject-generated-files.hmap -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/myProject-own-target-headers.hmap -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/myProject-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/myProject-project-headers.hmap -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/include -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/BSBacktraceLogger/BSBacktraceLogger.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/CocoaLumberjack/CocoaLumberjack.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/DTCoreText/DTCoreText.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/DTFoundation/DTFoundation.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/DoraemonKit/DoraemonKit.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/FreeStreamer/FreeStreamer.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/HandyJSON/HandyJSON.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Downloader/Downloader.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Network/Network.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/LayoutInspector/LayoutInspector.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/MDKTools/MDKTools.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Moya/Moya.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/PNChart/PNChart.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/RNCryptor/RNCryptor.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Reachability/Reachability.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/Result/Result.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SQLiteRepairKit/sqliterk.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SnapKit/SnapKit.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwiftHash/SwiftHash.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwifterSwift/SwifterSwift.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/SwiftyStoreKit/SwiftyStoreKit.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/UICountingLabel/UICountingLabel.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/URLNavigator/URLNavigator.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/WCDB.swift/WCDBSwift.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/WCDBOptimizedSQLCipher/sqlcipher.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYCache/YYCache.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYImage/YYImage.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYText/YYText.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/YYWebImage/YYWebImage.framework/Headers -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Products/78Debug-iphonesimulator/fishhook/fishhook.framework/Headers -Xcc -I/Users/mikun/Desktop/myProject/myProject/Pods/Headers/Public -Xcc -I/Users/mikun/Desktop/myProject/myProject/Pods/Headers/Public/QIYU_iOS_SDK -Xcc -I/Applications/Xcode11.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libxml2 -Xcc -I/Applications/Xcode11.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libxml2 -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/DerivedSources-normal/x86_64 -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/DerivedSources/x86_64 -Xcc -I/Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -DCOCOAPODS=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -DWCDB_BUILTIN_SQLCIPHER -Xcc -DWCDB_COCOAPODS -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -DWCDB_BUILTIN_SQLCIPHER -Xcc -DWCDB_COCOAPODS -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -DSQLITE_ENABLE_FTS3 -Xcc -DSQLITE_ENABLE_FTS3_PARENTHESIS -Xcc -DSQLITE_ENABLE_API_ARMOR -Xcc -DSQLITE_OMIT_BUILTIN_TEST -Xcc -DSQLITE_OMIT_AUTORESET -Xcc -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT -Xcc -DSQLITE_ENABLE_RTREE -Xcc -DSQLITE_ENABLE_LOCKING_STYLE=1 -Xcc -DSQLITE_SYSTEM_MALLOC -Xcc -DSQLITE_OMIT_LOAD_EXTENSION -Xcc -DSQLITE_CORE -Xcc -DSQLITE_THREADSAFE=2 -Xcc -DSQLITE_DEFAULT_CACHE_SIZE=250 -Xcc -DSQLITE_DEFAULT_CKPTFULLFSYNC=1 -Xcc -DSQLITE_DEFAULT_PAGE_SIZE=4096 -Xcc -DSQLITE_OMIT_SHARED_CACHE -Xcc -DSQLITE_HAS_CODEC -Xcc -DSQLCIPHER_CRYPTO_CC -Xcc -DUSE_PREAD=1 -Xcc -DSQLITE_TEMP_STORE=2 -Xcc -DSQLCIPHER_PREPROCESSED -Xcc -DHAVE_USLEEP -Xcc -DSQLITE_MALLOC_SOFT_LIMIT=0 -Xcc -DSQLITE_WCDB_SIGNAL_RETRY=1 -Xcc -DSQLITE_DEFAULT_MEMSTATUS=0 -Xcc -DSQLITE_ENABLE_COLUMN_METADATA -Xcc -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -Xcc -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -Xcc -DSQLITE_MAX_EXPR_DEPTH=0 -Xcc -DSQLITE_OMIT_DEPRECATED -Xcc -DSQLITE_OMIT_PROGRESS_CALLBACK -Xcc -DSQLITE_OMIT_SHARED_CACHE -Xcc -DOMIT_CONSTTIME_MEM -Xcc -DOMIT_MEMLOCK -Xcc -DENV_78=1 -import-objc-header /Users/mikun/Desktop/myProject/myProject/Resources/myProject-Bridging-Header.h -pch-output-dir /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/PrecompiledHeaders -module-name myProject -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/ItemSelectViewModel.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/JSBridge-Yaya.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/JSBridge.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/KeyValueCacheStore.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/KeyValueStoreOCHelper.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/BaseParser+JsonParser.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/CoreText.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/DownloadManager.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/DownloadRecoverManager-9cb6ab42b072082a562d7d8951ada408a0cf6d981b53dd88e29acd1dbcd8e51c.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/KeyValueConfig.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/KeyValueItem.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/KeyValueStore.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/RemoteParamApi.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/ShareSavePhotoActionAdapter.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/StoreSetter.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/StoreValue.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/LabelDetailVC.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/LabelDetailVM.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/LabelListApi.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/Labeodel.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/LaunchAdView.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/LaunchGuideCollectionViewCell.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/LaunchGuideView.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/ListenRecordApi.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/ListenRecordCellViewModel.o -o /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Build/Intermediates.noindex/myProject.build/78Debug-iphonesimulator/myProject.build/Objects-normal/x86_64/ListenRecordEmptyCell.o -index-store-path /Users/mikun/Library/Developer/Xcode/DerivedData/myProject-feywdsrecprkgugwjivbtdsjvncs/Index/DataStore -index-system-modules
Still getting infinite recursion in this code ;-; https://gist.github.com/maximkrouk/f248a0d7013b970e3d7c1161078b3727
@mikeash ping
I'm not sure if @_dynamicReplacement
is supposed to work with ObjC methods. @aschwaighofer?
@_dynamicReplacement
uses Objective-C categories for replacing @objc dynamic
methods and properties. This method does not support calling the original method.
Attachment: Download
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 1 | |Component/s | Compiler | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 7e7f4c3a36697f342b37540042f49f0cIssue Description:
I use @_dynamicReplacement to replace a Objc method and it work, but I can't call the original method, once I call the original method, app will get into a dead circle, keep call the alternative method until crash.
like:
If a replace a swift dynamic function, it can call the original dynamic function
you can try this in the example project, run in iOS device and shake
And swift compiler always crash in the first time if I add @_dynamicReplacement to the project, and if I compile success then I add @_dynamicReplacement, it will compile success
I can't provide my project, but there are crash info that Xcode output: