普通程序转deb程序,可以编译,运行秒退

大家有没有遇到这种情况,望分享。
转deb的方式参考了: https://github.com/kokoabim/iOSOpenDev/wiki/Convert-to-iOSOpenDev-Project#build-settings

可以看下有没有崩溃日志

有可能是权限不对,看看syslog有没有提示

奔溃日志没有发现跟我的程序有关。
实时日志打印了一下内容
我的app 名称是 MyApp
下面内容是,闪退一瞬间,系统输出的实时信息

Oct 5 12:34:11 mobile_house_arrest[980] : MS:Notice: Injecting: com.apple.mobile.MobileHouseArrest [mobile_house_arrest] (847.27)
Oct 5 12:34:40 afcd[984] : MS:Notice: Injecting: (null) [afcd] (847.27)
Oct 5 12:35:31 SpringBoard[26] : [MPUNowPlayingController] Already registered for now playing notifications.
Oct 5 12:35:31 kernel[0] : 000000.027482 IOAV[170,24260] AppleDPDisplay::devicePublished:(0x83593c00) newDevice=0x8a0fb900
Oct 5 12:35:31 wifid[70] : WiFi:[434176531.441529]: Device display is ON
Oct 5 12:35:31 kernel[0] : ALS: AppleARMBacklight::handleMessageGated - framebufferState → 1
Oct 5 12:35:32 wifid[70] : WiFi:[434176532.492741]: Device is UNLOCKED
Oct 5 12:35:32 wirelessproxd[71] : (Note ) Created WPTransfer Object for touchsetupd with daemon <DaemonBluetooth: 0x16546350>
Oct 5 12:35:34 backboardd[32] : Could not set priority of [986] to 1, priority: No such process
Oct 5 12:35:34 backboardd[32] : Unable to delete job with label UIKitApplication:com.yourcompany.MyApp.MyApp[0xbeb6]. Error: No such process
Oct 5 12:35:37 backboardd[32] : Could not set priority of [987] to 1, priority: No such process
Oct 5 12:35:47 wifid[70] : WiFi:[434176547.605049]: WiFiLocaleManagerCheckLocale: locale has been valid since 434174627.618094, for 1919.99 secs
Oct 5 12:36:08 backboardd[32] : Could not set priority of [988] to 0, priority: No such process
Oct 5 12:36:09 com.apple.launchd[1] : (UIKitApplication:com.yourcompany.MyApp.MyApp[0x6761]) Job executable does not contain supported architectures. Unloading it. Its plist should be removed.
Oct 5 12:36:09 backboardd[32] : Unable to send activation event to <BKApplication: 0x1669d940>com.yourcompany.MyApp.MyApp
activation assertions:
com.apple.backboard.workspace 1
activate: <BKSApplicationActivationSettings: 0x166cf170>
launchSettings: <BKSApplicationLaunchSettings: 0x166e5880>
environment: {
MallocCorruptionAbort = 0;
}
containerEnvironment: NULL
containerPath: NULL
waitForDebugger: NO
disableASLR: NO
checkForLeaks: NO
arguments: NULL
standardOut: NULL
standardError: NULL
animated: YES
suspended: NO
suspendedEventsOnly:NO
openURL: (null)
payload: 0x0
safe: NO
firstLaunchAfterBoot: NO
enableTests: NO
userLaunchEventTime: 434176569.805401
watchdogExtension: 0.000000
forRemoteNotification: NO
forLocalNotification: NO
flip: NO
interfaceOrientation: 1
statusBarStyle: 0
statusBarHidden: NO
classic: YES
zoomInClassic: YES
forBackgroundContentFetching: NO
forBackgroundURLSession: NO deactivate: (null): (ipc/send) invalid destination port (0x10000003)
Oct 5 12:36:10 backboardd[32] : Unable to obtain a task name port right for pid 990: (os/kern) failure (5)
Oct 5 12:36:10 SpringBoard[26] : LICreateIconForImage passed NULL CGImageRef image
Oct 5 12:36:11 backboardd[32] : Could not set priority of [991] to 0, priority: No such process
Oct 5 12:36:11 SpringBoard[26] : LICreateIconForImage passed NULL CGImageRef image
Oct 5 12:36:30 GetWifiMac[992] : MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/iGPasteBoard.dylib
Oct 5 12:36:30 GetWifiMac[992] : MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/~tsProtector.dylib
Oct 5 12:36:30 GetWifiMac[992] : MS:warning: nil class argument for selector existPath:
Oct 5 12:36:32 wifid[70] : WiFi:[434176592.493370]: Already connected to TP-LINK_1306.
Oct 5 12:36:38 lockdownd[53] : 00281000 _select_socket: receive secure message timeout!
Oct 5 12:37:02 amaamakaile com.apple.launchd[1] (UIKitApplication:com.yourcompany.MyApp.MyApp[0x183e][993]) : (UIKitApplication:com.yourcompany.MyApp.MyApp[0x183e]) Job failed to exec(3) for weird reason: 86
Oct 5 12:37:02 amaamakaile com.apple.launchd[1] (UIKitApplication:com.yourcompany.MyApp.MyApp[0x183e]) : (UIKitApplication:com.yourcompany.MyApp.MyApp[0x183e]) Job executable does not contain supported architectures. Unloading it. Its plist should be removed.
Oct 5 12:37:02 amaamakaile backboardd[32] : Unable to delete job with label UIKitApplication:com.yourcompany.MyApp.MyApp[0x183e]. Error: No such process
Oct 5 12:37:08 amaamakaile lockdownd[53] : 00281000 _select_socket: receive secure message timeout!
Oct 5 12:37:17 amaamakaile com.apple.launchd[1] (UIKitApplication:com.yourcompany.MyApp.MyApp[0x559c][994]) : (UIKitApplication:com.yourcompany.MyApp.MyApp[0x559c]) Job failed to exec(3) for weird reason: 86
Oct 5 12:37:17 amaamakaile com.apple.launchd[1] (UIKitApplication:com.yourcompany.MyApp.MyApp[0x559c]) : (UIKitApplication:com.yourcompany.MyApp.MyApp[0x559c]) Job executable does not contain supported architectures. Unloading it. Its plist should be removed.

google一下这个问题是什么?另外,你看看MyApp的权限跟其他/Applications/下的App权限是不是一样的