ios8

Testflight external user download gets stuck at 90%

為{幸葍}努か 提交于 2019-12-12 10:01:14
问题 When downloading a beta build of my app, distributed via the Testflight external tester method, the download apparently stops at about 90%. In reality the download has completed and the app is ready to go. This is very confusing for my testers. The only suggested fix I've found to date, is to include the app info.plist in the distribution even though Xcode complains that it is not necessary. In any case including it had no effect. 回答1: We have the same issue with our beta users. TestFlight

Split Attributed String and Retain Formatting

有些话、适合烂在心里 提交于 2019-12-12 09:53:54
问题 How can you take an existing NSAttributedString and divide it based on a predefined separator while maintaining formatting? It does not seem that componentsSeparatedByString will operate on an NSAttributedString. My current workaround produces the splits at the correct points, but only outputs an NSString. Thus losing formatting. NSData *rtfFileData = [NSData dataWithContentsOfFile:path]; NSAttributedString *rtfFileAttributedString = [[NSAttributedString alloc] initWithData:rtfFileData

Can not connect custom protocol delegate from storyboard in Xcode 6.1

二次信任 提交于 2019-12-12 09:49:50
问题 I just upgraded my mac to 10.10 and Xcode to 6.1, found a strange thing which about storyboard, my case is using a swift project, can not connect custom protocol delegate from storyboard anymore. the old connected which comes with old version of Xcode is fine, but I can not connect any new delegate anymore. even I can not reconnect the old one once I removed the connected. Does anyone occur this situation ?? ============================== Updated ============================== View Class

IOS 8 Silent push notification not working without Xcode

天涯浪子 提交于 2019-12-12 09:35:12
问题 I'm trying to test out the silent push notification and I notice that my Iphone (IOS 8) can only receive silent notifications when my device is connected to Xcode. While it is unplugged, I can only receive one silent push in probably 5-10 tries. This only happen to IOS 8 because I have another phone which is running on IOS 7 and not even a single silent push is missed. Anyone face the same issue ? More details: If the phone is connected to power source, I'm able to get silent push

How to know if your .ipa is 64-Bit

人盡茶涼 提交于 2019-12-12 08:57:27
问题 I've built an .ipa file with following flags armv7 armv7s and arm64. Is there any way/ tool through which i can make sure the .ipa does have the 64-Bit support? How does apple find out during app submission if the app binary does have 64-Bit support. 回答1: One of the options is to use lipo -info %path-to-executable% make sure you are not using path to .app folder or .ipa archive. 回答2: I have created a script that takes .ipa file as an input and returns what architecture the app supports -

Not able to set Interactive Push Notifications on iOS8

烂漫一生 提交于 2019-12-12 08:38:36
问题 I was already able to set Interactive LOCAL notifications, but the Remote notifications aren't working. I'm using Parse.com to send the JSON My AppDelegate.Swift looks like this: // // AppDelegate.swift // SwifferApp // // Created by Training on 29/06/14. // Copyright (c) 2014 Training. All rights reserved. // import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplication, didFinishLaunchingWithOptions

Parse.com error 'Method not allowed when Pinning is enabled.' when I use a PFQueryTableViewController subclass

廉价感情. 提交于 2019-12-12 08:27:20
问题 I am currently using 1.6.1 via CocoaPods (= latest) In my swift project I enable the localdatastore and then set the parse application id. After that, I load a storyboard which is a PFQueryTableViewController subclass. Really nothing special there. But it still crashes. It seems to crash in Parse internally on [PFQuery setCachePolicy:] What could be wrong? How do I make offline functionality working? *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason:

Can't deploy app to ios 8 device

∥☆過路亽.° 提交于 2019-12-12 08:22:41
问题 Just updated an iPad Mini to iOS 8 and suddenly can't debug my app on it with XCode 6.0.1. The error in Xcode is App installation failed with An unknown error has occurred. . On the device the app remains greyed out. Tried to : delete the app from ipad ( was working before ) Soft reset and reboot the device Delete derived data and clean Reboot the mac reinstall xcode change the bundle id and product name Recreate the dev certificates and provisioning profiles With iOS 6 and iOS 7 devices

Error with XCTestExpectation: API violation - multiple calls made to -[XCTestExpectation fulfill]

旧城冷巷雨未停 提交于 2019-12-12 08:17:53
问题 I'm using XCTestExpectations in Xcode 6 (Beta 5) for asynchronous testing. All my asynchronous tests pass individually every time I run them. However, when I try to run my entire suite, some tests do not pass, and the app crashes. The error I get is says API violation - multiple calls made to -[XCTestExpectation fulfill] . Indeed, this is not true within a single method; my general format for my tests is shown below: - (void) someTest { /* Declare Expectation */ XCTestExpectation *expectation

Get “Terminated due to Memory error” for ios 8 custom keyboard Extension

佐手、 提交于 2019-12-12 08:09:45
问题 I am developing a ios 8 custom keyboard Extension. It run like a charm start. But I always get "Receive Memory Warning" in Xcode. So my custom keyboard extension will suddenly terminate sometimes. But I run the custom keyboard in its host app. There don't have any problem. Don't get "Receive Memory Warning" in Xcode. Don't terminate. Anybody can help me? If app have any limit size for a Extension use? 回答1: Apple mentions in their App Extension Programming Guide that memory limits for app