注入自己的dylib之后app打开就闪退,不知道dylib是否签名成功

现在就只想在注入自己的dylib的情况下,也能正常运行APP,下面是签名信息
----------------ipa的签名信息------------------
Identifier=com.chen.test1
Format=app bundle with Mach-O universal (armv7 arm64)
CodeDirectory v=20200 size=193678 flags=0x0(none) hashes=6045+5 location=embedded
Signature size=4696
Authority=iPhone Developer: li boyong (CS29S3P4NY)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=2017年2月17日 下午3:55:15
Info.plist entries=43
TeamIdentifier=8P6AX3JSGP
Sealed Resources version=2 rules=12 files=1176
Internal requirements count=1 size=172

----------------dylib的签名信息-------------------
Identifier=test
Format=Mach-O universal (armv7 arm64)
CodeDirectory v=20200 size=644 flags=0x0(none) hashes=13+5 location=embedded
Signature size=4696
Authority=iPhone Developer: li boyong (CS29S3P4NY)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=2017年2月17日 下午3:55:15
Info.plist=not bound
TeamIdentifier=8P6AX3JSGP
Sealed Resources=none
Internal requirements count=1 size=160

闪退时控制台日志

我用的idevicesyslog看的log,里面不断的弹出一大堆,我也不知道这个是不是carsh的原因

Feb 17 17:45:57 Ginde-iPhone SpringBoard(BaseBoard)[3492] : <FBApplicationProcessLaunchTransaction:0x17438a280> Aborting with error: Error Domain=BSTransactionError Code=3 “Transaction aborted. (parent transaction)” UserInfo={transaction=<FBApplicationProcessLaunchTransaction: 0x17438a280>, precipitating-error=Error Domain=BSTransactionError Code=1 “Transaction failed. Child transaction failed: <FBUpdateSceneTransaction: 0x1743ab360> (child transaction)” UserInfo={transaction=<SBApplicationSceneUpdateTransaction: 0x1107bcba0>, precipitating-error=Error Domain=BSTransactionError Code=1 “Transaction failed. no client provider for client with bundleID com.chen.test1 (scene update failed)” UserInfo={transaction=<FBUpdateSceneTransaction: 0x1743ab360>, error-reason=scene update failed, error-description=no client provider for client with bundleID com.chen.test1, NSLocalizedDescription=Transaction failed. no client provider for client with bundleID com.chen.test1 (scene update failed)}, error-reason=child transaction, error-description=Child transaction failed: <FBUpdateSceneTransaction: 0x1743ab360>, NSLoc
Feb 17 17:45:57 Ginde-iPhone CommCenter[77] : #I CSIAppInfo.AppObserver: notifyAboutFrontAppChange: notifyAboutFrontAppChange : app: ; pid: 0; net: 0
Feb 17 17:45:57 Ginde-iPhone sharingd[61] : SystemUI unknown identifier: ‘com.chen.test1’
Feb 17 17:45:57 Ginde-iPhone sharingd[61] : SystemUI changed: 0x10 → 0x0
Feb 17 17:45:57 Ginde-iPhone ReportCrash(CrashReporterSupport)[4995] : cr_update:
Feb 17 17:45:57 Ginde-iPhone ReportCrash(CrashReporterSupport)[4995] : cr_update:
Feb 17 17:45:57 Ginde-iPhone ReportCrash[4995] : Formulating report for corpse[4994]
Feb 17 17:45:57 Ginde-iPhone ReportCrash(MobileCoreServices)[4995] : notify_register_check() failed with error 1000000
Feb 17 17:45:57 Ginde-iPhone CommCenter[77] : #I BundleID: is no longer a foreground app
Feb 17 17:45:57 Ginde-iPhone SpringBoard[3492] : Process exited: <FBApplicationProcess: 0x11ca4cb90; com.chen.test1; pid: -1> → <FBApplicationProcessExitContext: 0x175257e50; exitReason: (none); terminationReason: (none)>

没有你注入进程的日志啊。注入的哪个进程?

可以MachOView 查看一下

遇到一样的问题,不知道楼主解决没,求共享经验

有解决么 同样错误