We provide complete mobile and web apps development solutions

Tuesday, November 17, 2015

Cordova iOS - NSAutoresizingMaskLayoutConstraints should not be in there.

Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. 
Try this: 
(1) look at each constraint and try to figure out which you don't expect; 
(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x1265957d0 V:|-(20)-[UIInputSetContainerView:0x126570180]   (Names: '|':UITextEffectsWindow:0x126530b20 )>",
    "<NSLayoutConstraint:0x1265a81e0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x126570180]   (Names: '|':UITextEffectsWindow:0x126530b20 )>"
)

Will attempt to recover by breaking constraint 

<NSLayoutConstraint:0x1265957d0 V:|-(20)-[UIInputSetContainerView:0x126570180]   (Names: '|':UITextEffectsWindow:0x126530b20 )>

Saturday, October 10, 2015

Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating

 [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating


Got this issue in mac


Mongoldb instance is running in the system.


Stop the server

$mongo admin --eval "db.shutdownServer()"










Sunday, September 27, 2015

_handleNonLaunchSpecificActions error in IOS9

I got an issue in iOS 9 when i lock and unlock the phone.  


** -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x160aa36f0> {
    handler = remote;
    info = <BSSettings: 0x160aa3830> {
        (1) = 5;
    };

}



Any help on this for resolution?  Thanks in advance

Saturday, September 26, 2015

ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

Cordova ionic issue
ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

Plugin 'Keyboard' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

Cordova ionic issue 

Plugin 'Keyboard' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.


Thursday, September 17, 2015

Upgraded iPhone version from iOS 8 to iOS 9, got this issue in iOS 9

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.





NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.058 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.323 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.646 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.978 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:05.390 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:05.724 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:06.086 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)

Disabling the iOS 9 transport security.

Fixed by adding these to info.plist


 <key>NSAppTransportSecurity</key>    <dict>
        <key>NSAllowsArbitraryLoads</key>        <true/>
    </dict>



Tuesday, September 8, 2015

Message from debugger: failed to send the k packet

Message from debugger: failed to send the k packet

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts