Tag: ios9

dyld: Symbol not found: ___NSDictionary0__ when using google ServiceGenerator binary with discovery docs in XCode 7 & iOS target 9.0

I’m trying to generate client API code from Google backend using Google serviceGenerator with discovery document as input. Following is the exact command : /Users/raja/Library/Developer/Xcode/DerivedData/ServiceGenerator-dycdiotwolfqnaelznaucewpppjr/Build/Products/Debug/ServiceGenerator ./userRecordApi-v1-rpc.discovery –outputDir ~/API I however, see the following error dyld: Symbol not found: ___NSDictionary0__ Referenced from: /Users/raja/Library/Developer/Xcode/DerivedData/ServiceGenerator-dycdiotwolfqnaelznaucewpppjr/Build/Products/Debug/ServiceGenerator (which was built for Mac OS X 10.11) Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation in /Users/raja/Library/Developer/Xcode/DerivedData/ServiceGenerator-dycdiotwolfqnaelznaucewpppjr/Build/Products/Debug/ServiceGenerator […]

Handle ContainerViewController's action in ParentViewController

I have followed this link to implement the compleltionblock @interface : ParentViewController () @property (nonatomic, strong) ChildViewController *childViewController; @end In Parent View Controller’s Table View Delegate method (didSelectRowAtIndexPath) I am adding container view as follows – (void) addChildView { ChildViewController * childViewController = [[UIStoryboard storyboardWithName:@”Main” bundle:nil] instantiateViewControllerWithIdentifier:@”ChildViewController”]; childViewController.view.frame = (CGRect) {0, 0, self.view.frame.size}; [self addChildViewController:childViewController]; […]

iOS9 Gamecenter error “plugin com.apple.GameCenterUI.GameCenterMatchmakerExtension invalidated”

Since the release of iOS 9, my app has now started to give me the error “plugin com.apple.GameCenterUI.GameCenterMatchmakerExtension invalidated” anytime a user interacts with the matchmaker viewcontroller such as dismissing the matchmaker viewcontroller or establishing a match. I have tried many different things I thought could solve the issue but have had no luck. Can […]

URLSession didCompleteWithError nil error

Working on an IOS9 app that is doing a background URLSession in a controller that is a NSURLSessionDelegate. Here is how I start it: self.session_data = [[NSMutableData alloc] init]; NSURL *url = [NSURL URLWithString:src]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; NSURLSessionConfiguration *backgroundConfigObject = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier: @”myBackgroundSessionIdentifier”]; self.session = [NSURLSession sessionWithConfiguration: backgroundConfigObject delegate: self delegateQueue: [NSOperationQueue mainQueue]]; […]

How can we use HTTP and HTTPS both ATS (App Transport Security) in One Application?

Apple announced “App Transport Security” for iOS 9 and OSX 10.11 El Capitan. The “What’s New in iOS” guide for iOS 9 explains: App Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, […]

iOS 9 Spritekit Double Tap Not Working on iPhone 6S

I have been building a SpriteKit game for a while now. Its a card game that allows double-tap on card sprites for specific behaviors. Now that we’re in iOS 9, double taps do not work at all on iPhone 6s. Works fine on iOS8, all devices. In my SKScene, i’m using the touchesBegan method to […]

Play facebook videos in ios application

I want to embed Facebook videos in my app. I am getting video links from a webservice. For example: “video_url”: “https://www.facebook.com/urdutimes.ca/videos/520665921438799/” Is it possible to embed this video in native iOS app using Objective-C? Thanks in advance

accessing and downloading on demand resources iOS9

I am trying to implement new iOS9 feature app thinning, I understood how tag an image and enable on demand resource in Xcode 7 but I don’t understand how to implement NSBundleResourceRequest in my app, can someone help me, that would greatly appreciated

Spotlight extension in ios 9

I’ve downloaded Xcode 7 beta and found a new type of extension there. On WWDC 2015 nothing was said about it. It’s called Spotligt extension. When Spotlight Extension in iOS 9 is called and for what it’s used?

After update iOS 9 and Facebook sdk 4.6 the login window not open

I update my Xcode to 7 , and Facebook to 4.6 sdk. this My warning : Warning: Attempt to present <FBSDKContainerViewController: 0x159337700> on <UIAlertController: 0x159262700> whose view is not in the window hierarchy! in My project the BitCode is NO – because if I turn it to Yes I got this Error : ld:’/Users/MyName/Desktop/MyProjectName/ProjectName/ProjectName/Resources/Frameworks/Fabric.framework/Fabric(Fabric.o)’ does […]