ios9

error: Invalid bitcode version (Producer: '800.0.35.0_0' Reader: '703.0.31_0')

一个人想着一个人 提交于 2019-12-17 07:30:08
问题 When I try to Archive my application on Xcode 7.3.1, I am getting following error: error: Invalid bitcode version (Producer: '800.0.35.0_0' Reader: '703.0.31_0') clang: error: linker command failed with exit code 1 (use -v to see invocation) I was able to successfully Archive my app yesterday, can any one please help me? 回答1: i had this error before ... you may try the following solution it worked for me search for bitcode keyword in app --> Build Settings and change it to NO then archive

CNContactViewController forUnknownContact unusable, destroys interface

喜欢而已 提交于 2019-12-17 07:14:17
问题 [Appears to be fixed in iOS 10!] So what follows applies to iOS 9 only... I have been experimenting with Apple's new Contacts framework, and I've found a huge bug in one of the three forms of CNContactViewController. It destroys the surrounding interface so that your app becomes useless; the user is stuck. To make this bug easy to see, I've posted an example project at https://github.com/mattneub/CNContactViewControllerBug. To experiment, run the project and do the following steps: Tap the

Native Facebook app does not open with Facebook login in iOS 9

心已入冬 提交于 2019-12-17 07:02:11
问题 I have updated iPhone 6 plus to iOS 9 beta and trying to perform Facebook login but each time its presenting UIWebView with Facebook login form. I have Facebook sdk FB_IOS_SDK_VERSION_STRING @"3.24.0" FB_IOS_SDK_TARGET_PLATFORM_VERSION @"v2.2" And I am using following methods to perform Facebook Login NSArray *permissions = @[@"email",@"user_birthday",@"public_profile"]; FBSessionStateHandler completionHandler = ^(FBSession *session, FBSessionState status, NSError *error) { [self

Native Facebook app does not open with Facebook login in iOS 9

一世执手 提交于 2019-12-17 07:01:06
问题 I have updated iPhone 6 plus to iOS 9 beta and trying to perform Facebook login but each time its presenting UIWebView with Facebook login form. I have Facebook sdk FB_IOS_SDK_VERSION_STRING @"3.24.0" FB_IOS_SDK_TARGET_PLATFORM_VERSION @"v2.2" And I am using following methods to perform Facebook Login NSArray *permissions = @[@"email",@"user_birthday",@"public_profile"]; FBSessionStateHandler completionHandler = ^(FBSession *session, FBSessionState status, NSError *error) { [self

Synchronous URL request on Swift 2

北城余情 提交于 2019-12-17 06:48:20
问题 I have this code from here to do synchronous request of a URL on Swift 2. func send(url: String, f: (String)-> ()) { var request = NSURLRequest(URL: NSURL(string: url)!) var response: NSURLResponse? var error: NSErrorPointer = nil var data = NSURLConnection.sendSynchronousRequest(request, returningResponse: &response, error: error) var reply = NSString(data: data, encoding: NSUTF8StringEncoding) f(reply) } but the function NSURLConnection.sendSynchronousRequest(request, returningResponse:

iOS 9 new feature Free Provisioning (Run your app on a device, just with your Apple ID, without Apple developer membership)

我怕爱的太早我们不能终老 提交于 2019-12-17 04:56:08
问题 Would like to know about the new feature Free Provisioning introduced in iOS9 & Xcode 7. How Apple is now achieving that, as before we knew our device ids were enrolled in the profiles and hence it was possible to deploy the app on devices. Now only with Apple ID how the things in the background are achieved, also is there any restrictions on how many number of devices I can add my build with Free Provisioning. Any help is greatly appreciated thanks... 回答1: 1. How it works? Apple Ref : How to

How to get Wifi SSID in iOS9 after CaptiveNetwork is deprecated and calls for Wifi name are already blocked

情到浓时终转凉″ 提交于 2019-12-17 03:26:34
问题 Until today I used the CaptiveNetwork Interface to display the name of the currently connected Wifi. The iOS 9 Prerelease reference already stated, that the CaptiveNetwork methods are depracted now, but they still worked at the beginning. With the newest version Apple seems to have blocked this calls already (maybe due to privacy concerns?). Is there any other way to get the name of the current Wifi? This is how I obtained the SSID until today, but you only get nil now: #import

How to get Wifi SSID in iOS9 after CaptiveNetwork is deprecated and calls for Wifi name are already blocked

六月ゝ 毕业季﹏ 提交于 2019-12-17 03:26:08
问题 Until today I used the CaptiveNetwork Interface to display the name of the currently connected Wifi. The iOS 9 Prerelease reference already stated, that the CaptiveNetwork methods are depracted now, but they still worked at the beginning. With the newest version Apple seems to have blocked this calls already (maybe due to privacy concerns?). Is there any other way to get the name of the current Wifi? This is how I obtained the SSID until today, but you only get nil now: #import

“Application windows are expected to have a root view controller at the end of application launch” error when running a project with Xcode 7, iOS 9

不羁的心 提交于 2019-12-17 02:35:12
问题 After running function - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions there is a crash: Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit- *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', `enter code here`reason: 'Application windows are expected to have a root view controller at the end of

New warnings in iOS 9: “all bitcode will be dropped”

两盒软妹~` 提交于 2019-12-16 20:05:20
问题 I have this new warning about the Google Framework in my app: (null): URGENT: all bitcode will be dropped because '/Users/myname/Library/Mobile Documents/com~apple~CloudDocs/foldername/appname/GoogleMobileAds.framework/GoogleMobileAds(GADSlot+AdEvents.o)' was built without bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. Note: This will be an error in the future. Xcode 7 is giving