iOS App built from Expo does not open on device - ios

command used to build .ipa exp build:ios
expo handled the certificates (distribution and push notification)
device tested on AWS Device farm: iPhone 5, iOS: 10.3.2
Syslog from the device farm
Jan 16 12:34:15 9902472814 SpringBoard(FrontBoard)[57] : Unable
to register for exec notifications: No such process Jan 16 12:34:15
9902472814 SpringBoard(BaseBoard)[57] : Unable to get short BSD
proc info for 344: No such process Jan 16 12:34:15 9902472814
SpringBoard(BaseBoard)[57] : Unable to get proc info for 344:
No such process Jan 16 12:34:15 9902472814 SpringBoard(BaseBoard)[57]
: Unable to obtain a task name port right for pid 344:
(os/kern) failure (0x5) Jan 16 12:34:15 9902472814
SpringBoard(BaseBoard)[57] : Unable to get short BSD proc info
for 344: No such process Jan 16 12:34:15 9902472814
SpringBoard(FrontBoard)[57] : Unable to obtain a process handle
for
Aborting with
error: Error Domain=BSTransactionError Code=3 "Transaction aborted.
(parent transaction)"
UserInfo={transaction=, precipitating-error=Error Domain=BSTransactionError
Code=1 "Transaction failed. Child transaction failed:
(child transaction)"
UserInfo={transaction=, precipitating-error=Error Domain=BSTransactionError
Code=1 "Transaction failed. no client provider for client with
bundleID com.xxxxxxx.mobileapp (scene update failed)"
UserInfo={transaction=,
error-reason=scene update failed, error-description=no client provider
for client with bundleID com.xxxxxxx.mobileapp,
NSLocalizedDescription=Transaction failed. no client provider for
client with bundleID com.xxxxxxx.mobileapp (scene update failed)},
error-reason=child transaction, error-description=Child transaction
failed: : numberOfClients
GyroOnly:, 3AxisDynamicGyro:, 6Axis:,
6AxisThrottledGyro:, 9Axis:,
9AxisWithNorthReference:
App gets installed but doesn’t open. Any leads would be helpful. Thank you.

Related

iOS crash when testing on device - debug logs

I've begun testing my iOS app on my iPhone. Everything works great for a week or so and then my app starts to crash immediately when I try to open it. When I check the logs for my phone (Window-Devices-Select my iPhone), I see the following log messages.
<Notice>: Submitted job with label: UIKitApplication:com.app.App-Name[0x9fed][63]
<Notice>: /private/var/containers/Bundle/Application/64152E86-B292-47E5-A12D-27E5E23CACFF/App-Name.app/App-Name not valid: 0xe8008015: A valid provisioning profile for this executable was not found.
<Error>: Unable to obtain a task name port right for pid 14847: (os/kern) failure (0x5)
May 29 08:46:13 iPhone assertiond[63] <Notice>: Failed to start job
with error Error Domain=NSPOSIXErrorDomain Code=3 "No such process"
UserInfo={NSLocalizedRecoverySuggestion=Consult
/var/log/com.apple.xpc.launchd/launchd.log for more information,
NSLocalizedDescription=Unable to get valid task name port right for pid
14847, NSLocalizedFailureReason=The process failed to exec}
<Notice>: Deleted job with label: UIKitApplication:com.app.App-
Name[0x9fed][63]
<Notice>: [app.App-Name] Bootstrap failed with error: <NSError:
0x115657730; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed);
reason: "Failed to start job">
<Error>: Bootstrapping failed for <FBApplicationProcess: 0x11d2702a0;
com.app.App-Name; pid: -1> with error: Error
Domain=BKSProcessErrorDomain Code=1 "Unable to bootstrap process with
bundleID com.app.App-Name" UserInfo={BKSProcessExitReason=0,
NSLocalizedFailureReason=Failed to start job,
NSUnderlyingError=0x11fa53590 {Error Domain=NSPOSIXErrorDomain Code=3
"No such process" UserInfo={NSLocalizedFailureReason=The process failed
to exec, NSLocalizedRecoverySuggestion=Consult
/var/log/com.apple.xpc.launchd/launchd.log for more information,
NSLocalizedDescription=Unable to get valid task name port right for pid
14847}}, BSErrorCodeDescription=bootstrap-failed,
NSLocalizedDescription=Unable to bootstrap process with bundleID
com.app.App-Name}
<Notice>: <FBApplicationProcess: 0x11d2702a0; com.app.App-Name; pid: -1> exited.
<Notice>: SystemUI unknown identifier: 'com.app.App-Name'
<Notice>: Process exited: <FBApplicationProcess: 0x11d2702a0; com.app.App-Name; pid: -1> -> <FBApplicationProcessExitContext: 0x176235aa0; exitReason: (none); terminationReason: (none)>
I've googled for these error logs to try and find a solution, but no luck.
Any help would be much appreciated.
I had the same situation with an app which Bundle Identifier has been moved to another Apple Developer Team.
After Bundle Identifier was moved, a previous build was containing a provisioning profile which was no longer valid, and I got this error message in logs.
I guess the same happens if you delete the Provisioning Profile or if it is invalidated for whatever reason.

Can't download iOS app using in house at iOS 10.3 release version

I update the iOS to iOS 10.3 release version,
I try to download the in-house app through the safari,
but show the below error message(the log from device ).
itunesstored(libsystem_network.dylib)[240] <Error>: nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9812]
itunesstored(CFNetwork)[240] <Notice>: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
itunesstored(CFNetwork)[240] <Error>: HTTP load failed (error code: -1202 [3:-9813])
itunesstored(CFNetwork)[240] <Error>: NSURLSessionTask finished with error - code: -1202
itunesstored[240] <Notice>: LoadExternalDownloadManifestOperation: Request failed with error: <private>
itunesstored[240] <Error>: Could not load download manifest with underlying error: <private>
I test the in house to install at the iOS 10.2.1. It is install correct.
But the iOS 10.3 will show the alert ( cannot connect to IP ).
Have anyone known what happened in my case?
thank you very much.
I figured it out, it seems just trusting the certificate is no longer enough. You need to go into General -> About (yes, About, what a great place) -> Certificate Trust Settings. Then tick the switch next to your CA to trust it.

What does the installation errror "The packet is unknown" mean?

I am trying to use Xcode 6.2 to install a development build of an iOS app onto my iPod touch (running iOS 8.2).
The installation keeps failing with the message
App instalation failed
The packet is unknown.
The console reports the following details:
Mar 27 12:53:52 iPod-touch com.apple.StreamingUnzipService[164] <Warning>: -[StreamingUnzipState finishStream]:476: Finishing an incomplete stream! This stream will not be resumable.
Mar 27 12:53:52 iPod-touch streaming_zip_conduit[163] <Warning>: __dispatch_source_read_socket_block_invoke_2:171: Failed to finish extraction: Error Domain=SZExtractorErrorDomain Code=3 "Finishing an incomplete stream! This stream will not be resumable." UserInfo=0x17e33b50 {SZExtractorFunctionNameErrorKey=-[StreamingUnzipState finishStream], SZExtractorSourceFileLineErrorKey=476, NSLocalizedDescription=Finishing an incomplete stream! This stream will not be resumable.}
Mar 27 12:53:52 iPod-touch streaming_zip_conduit[163] <Warning>: secure_send_message:105: Got error 1 from lockdown_send_message
Mar 27 12:53:52 iPod-touch streaming_zip_conduit[163] <Warning>: secure_send_error:137: Could not send error response to host
These messages seem to imply that the IPA file is somehow corrupted, and can't be extracted, but I had no problem unziping the IPA with Archive Utility on my Mac.
I also already ran codesign -dvvv on Payload/<my-app-name>.app and don't see any obvious problems with the certificate used to sign the app.
What does this error message indicate, and how can the issue be resolved?
note:
I already found this similar question but the only current answer does not help me. Since I have some, possibly relevant, details that may not apply to the previous question, I am asking a new question.
So I was getting this exact error and I tried switching USB ports (from the device plugged into the USB port on my keyboard to the USB port on my laptop) and now it works.

iAP work in Sandbox but not in 'Pending Developer Release' version

Our app has passed review, and is pending developer release. I've downloaded a copy using a promo code, but none of our in App purchases work (they work fine using a sandbox account created in iTunes Connect however). iAP are approved and cleared for sale in iTunes Connect.
They are reporting this error in the console on attempted purchase:
Nov 22 20:58:34 iOS-8-tester-takp accountsd[3148] <Warning>: AIDA Notification plugin running
Nov 22 20:58:36 iOS-8-tester-takp backupd[3317] <Warning>: INFO: Account changed (enabled=1, accountID=REDACTED)
Nov 22 20:58:49 iOS-8-tester-takp backupd[3318] <Warning>: INFO: Account changed (enabled=1, accountID=REDACTED)
Nov 22 20:58:49 iOS-8-tester-takp itunesstored[78] <Warning>: Could not load library [21]
Nov 22 20:58:51 iOS-8-tester-takp accountsd[3148] <Warning>: [Warning] Unhandled server key: alert
Nov 22 20:58:52 iOS-8-tester-takp identityservicesd[42] <Warning>: [Warning] IDS access warning: Allowing wildcard access for service: com.apple.private.alloy.bulletinboard entitlement: com.apple.private.ids.registration client: com.apple.Accounts:accountsd:3148 entitlements: {
"com.apple.private.ids.messaging" = (
"com.apple.private.alloy.accountssync"
);
"com.apple.private.ids.messaging.high-priority" = (
"com.apple.private.alloy.accountssync"
);
"com.apple.private.ids.registration" = 1;
}
Perhaps this is a server error - but it's making me really nervous with our release coming up. Can anyone help?
This appears to have been a server error. It fixed itself 3 or 4 days after moving to 'Pending Developer Release' and operates as expected now, with no change in the application's code.

Not able to install iPhone app with app store distribution profile

Developed my first iPhone app for internal use and it should be distributed internally.
I am able to successfully install it on to the device when I code sign the build with my developer profile. But not able to install the same app(.ipa) using iTunes when code sign the build with App store distribution profile. I am getting the following error.
Oct 1 15:52:32 unknown installd[462] <Error>: profile not valid: 0xe8008012
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 install_embedded_profile: Could not install embedded profile: -402620398
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 verify_signer_identity: Could not copy validate signature: -402620395
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.1JP9zU/foo_extracted/Payload/mi-ios.app
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 install_application: Could not preflight application install
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 handle_install: API failed
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 send_message: failed to send mach message of 71 bytes: 10000003
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 send_error: Could not send error response to client
I made sure the distribution profile is valid(have private key and certificate installed on my mac).
I am not sure what i am missing here. I followed every step given at iOS dev center. Any help would be appreciated.
The App Store profile is, as its name implies, for use only when distributing via the App Store. It exists for signing your app for distribution via the App Store and can't be used for any other purpose. Unless you install an app that has been signed by it via the App Store it will, quite correctly, fail.
If you want to distribute an app for internal use to a few devices and for a relatively short period, you should use an ad hoc profile; if to a lot if users for an extended period, you need to register as a corporate developer and follow a different process.

Resources