Trying to send an email through an iphone app and getting an error using MFMailComposeViewController in iOS 8 - email

I imported the MessageUI.h class and implemented the function in MFMailComposeViewControllerDelegate.
I was following the tutorial on : http://www.appcoda.com/ios-programming-101-send-email-iphone-app/
I am currently using Xcode 6.0.1 and iOS SDK 8.0 to build and run the app on the simulator. The issue is:
On running the app in the simulator, I get the following error
2014-09-26 03:39:07.687 SendMessage[44465:2674263] Mail cancelled
2014-09-26 03:39:07.743 SendMessage[44465:2673753] viewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)" UserInfo=0x7fe873e01d30 {Message=Service Connection Interrupted}
2014-09-26 03:39:25.172 SendMessage[44465:2674263] <MFMailComposeRemoteViewController: 0x7fe873c389e0> timed out waiting for fence barrier from com.apple.MailCompositionService
Any suggestions on what should be done to get this working?

This is a known error in the simulator. It does not appear when you run on a device. So, try it on a device and if it runs normally, then you should be ok.

Related

iOS 16.1.1 runtime error: RB query for the extension process state failed

I am working on a project and getting a runtime error when running our app on some colleague's iPhone 11 device(iOS 16.1.1) :
[lifecycle] [u 68C8D161-6D2A-412E-A4F2-CEDE8D1C83EF:m (null)]
[*PRODUCT_BUNDLE_IDENTIFIER(MARKETING_VERSION)*] RB query for the extension process state failed with error: Error Domain=RBSServiceErrorDomain Code=1
"Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state,
NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
The [PRODUCT_BUNDLE_IDENTIFIER(MARKETING_VERSION)] is something like : com.companyName.AppName.Keyboard(1.0.10)
This error message is only appears when the customized keyboard is loaded,
and the keyboard is also part of app group
I've checked iOS16 release note, seems like nothing is relevant to this error, I'm not sure what is causing this error message?

zoom swift sdk crashes after connecting to a meeting

i am trying run the zoom swiftdemo app referenced in their Github repo
but i keep getting this error whenever i connected to a meeting
ZoomiOSSDKDemo[1944:343363] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xe10f, name = '.1516928314.rpc'
See /usr/include/servers/bootstrap_defs.h for the error codes.
I can connect to a meeting but it crashes a few second after connecting. What does the error message mean and how can i fix this?

Facebook iOS 10 login error :user not allowed to see application

I am new to iOS programming and I made an app that was able to connect to Facebook before without any problem. I've enabled keychain sharing and made the app public but last week I started seeing an error message:
2017-05-23 17:26:11.130 test[3231:77099] -canOpenURL: failed for URL:
"fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus
error -10814.)"
I've followed all the login steps, but no success.
Any help will be greatly appreciated.

Gettng Error WLClient onInvokeProcedureFailure:userInfo in WLClient.m

We are getting below error while calling a simple HTTP Adaptor through iOS Apple Watch OS1. We have mobilefirst 6.3 with WorklightAPI iOS deployed on server.
[WL_CLIENT] -[WLClient onInvokeProcedureFailure:userInfo:] in WLClient.m
Status: 0
InvocationResult: (null)
InvocationContext: (null)
Error code: 3
Error message: Procedure invocation error.
It runs fine when we run it on development server. Only difference we see is on Test server TLSv1.2 is enabled while on development it is not.
We defined ATS --> Allow Arbitrary Loads = YES in info.plist
but we are still getting an error.
Any Advice ?
As mentioned multiple times, Apple Watch is not supported. And in any case, since this is Watch OS 1 it means you invoke the code from the "parent" iOS app, no? In which case this was answered in your other question: https://stackoverflow.com/questions/34206002/there-is-no-registered-challenge-handler

request error Error Domain=SKErrorDomain Code=0 "Operation could not be completed. (SKErrorDomain error 0.)"

I am working on IN App purchase, storekit.
I am getting this error:
request error Error Domain=SKErrorDomain Code=0 "Operation could not be completed. (SKErrorDomain error 0.)"
What does this means?
Sometimes when you have bad internet connection, it returns that error because the app cannot communicate with the apple server. Just try to retry or if you have another internet connection source, try connecting there then do what you want again.
use device for testing not simulator
Restarting the device worked for me
This was happening on the Simulator and just closing the simulator and re-opening seemed to fixed it