johnno1962 / InjectionApp

Issue Tracking Repo for Injection as an App
MIT License
111 stars 7 forks source link

EXC_BAD_ACCESS #32

Open chaoswith opened 6 years ago

chaoswith commented 6 years ago
2017-10-25 10 39 32

Xcode Version 9.0.1 (9A1004)

I can't use app always crash when i use inject source

johnno1962 commented 6 years ago

Have you tried a simple project first? I’ve just check 9.0.1 and it seems to be working.

chaoswith commented 6 years ago

simple project working well maybe cause by integerate facebook sdk attach crash log how can i solve it?

Injection: Ignore any warning, Swizzled ItemDetailViewController 0x129497170 -> 0x1063745a0 2017-11-01 15:18:59.486374+0900 culture_atti[12554:923490] BundleSweeper: +[GMSx_GIPAppGroupsHolder sharedInstance] == 0x105c3deca() 2017-11-01 15:18:59.486872+0900 culture_atti[12554:923490] BundleSweeper: +[GMSx_GIPPseudonymousIDStore sharedInstance] == 0x105c3cd03() 2017-11-01 15:18:59.487291+0900 culture_atti[12554:923490] BundleSweeper: +[GMSx_GIPClearcutLogger sharedInstance] == 0x105c37c79() 2017-11-01 15:18:59.507230+0900 culture_atti[12554:923490] BundleSweeper: +[GMSx_MDFRobotoFontLoader sharedInstance] == 0x105c19e30() 2017-11-01 15:18:59.508052+0900 culture_atti[12554:923490] BundleSweeper: +[GMSx_GOOResources sharedInstance] == 0x105bdbd35() 2017-11-01 15:18:59.508858+0900 culture_atti[12554:923490] BundleSweeper: +[GMRConfiguration sharedInstance] == 0x105b6826d() 2017-11-01 15:18:59.509382+0900 culture_atti[12554:923490] BundleSweeper: +[FIRConfiguration sharedInstance] == 0x105b4c271() 2017-11-01 15:18:59.509705+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAnalyticsConfiguration sharedInstance] == 0x105b4bf14() 2017-11-01 15:18:59.510081+0900 culture_atti[12554:923490] BundleSweeper: +[FIRClearcutLogger sharedInstance] == 0x105b3a4d7() 2017-11-01 15:18:59.510517+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAScreenViewReporter sharedInstance] == 0x105b2247d() 2017-11-01 15:18:59.510844+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAInAppPurchaseTransactionReporter sharedInstance] == 0x105b1bef1() 2017-11-01 15:18:59.511166+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAInAppPurchaseProductCache sharedInstance] == 0x105b1b5c0() 2017-11-01 15:18:59.511459+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAASIdentifierManager sharedInstance] == 0x105b1b2ef() 2017-11-01 15:18:59.511795+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAPersistedConfig sharedInstance] == 0x105b11da7() 2017-11-01 15:18:59.512146+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAIdentity sharedInstance] == 0x105afd5d7() 2017-11-01 15:18:59.512467+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAEnvironmentInfo sharedInstance] == 0x105afd225() 2017-11-01 15:18:59.512805+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAAdExposureReporter sharedInstance] == 0x105ae9fc1() 2017-11-01 15:18:59.513273+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAConditionalUserPropertyController sharedInstance] == 0x105adc520() 2017-11-01 15:18:59.513629+0900 culture_atti[12554:923490] BundleSweeper: +[FIRAIdentifiers sharedInstance] == 0x105ad3772() 2017-11-01 15:18:59.514047+0900 culture_atti[12554:923490] BundleSweeper: +[AdMobKit sharedInstance] == 0x105abf127() 2017-11-01 15:18:59.514480+0900 culture_atti[12554:923490] BundleSweeper: +[Answers sharedInstance] == 0x105aaa9e3() 2017-11-01 15:18:59.514803+0900 culture_atti[12554:923490] BundleSweeper: +[Crashlytics sharedInstance] == 0x105a8c2d9() 2017-11-01 15:18:59.515236+0900 culture_atti[12554:923490] BundleSweeper: +[GAIAnalyticsPropertiesStore sharedInstance] == 0x105a402b8() 2017-11-01 15:18:59.515687+0900 culture_atti[12554:923490] BundleSweeper: +[GAISqlStore sharedInstance] == 0x105a3d237() 2017-11-01 15:18:59.515966+0900 culture_atti[12554:923490] BundleSweeper: +[GAI sharedInstance] == 0x105a27d45() 2017-11-01 15:18:59.516059+0900 culture_atti[12554:923490] BundleSweeper: +[NSKVONotifying_GAI sharedInstance] == 0x105a27d45() 2017-11-01 15:18:59.516350+0900 culture_atti[12554:923490] BundleSweeper: +[LocationManager sharedInstance] == 0x105a1a8b0() 2017-11-01 15:18:59.516687+0900 culture_atti[12554:923490] BundleSweeper: +[BFWebViewAppLinkResolver sharedInstance] == 0x1070f59f0() 2017-11-01 15:18:59.517608+0900 culture_atti[12554:923490] BundleSweeper: +[FBSDKSystemAccountStoreAdapter sharedInstance] == 0x1089a3ed0() 2017-11-01 15:18:59.517801+0900 culture_atti[12554:923490] BundleSweeper: +[FBSDKImageDownloader sharedInstance] == 0x10898b760() 2017-11-01 15:18:59.521047+0900 culture_atti[12554:923490] *** Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fb-messenger-api is missing from your Info.plist under LSApplicationQueriesSchemes and is required for iOS 9.0'

johnno1962 commented 6 years ago

This code is executed when injection does not find any instances on the class being injected in the sweep. You’ll have to avoid injecting that class or make it see-able from your view controller.