xcode6

duplicate symbols for architecture x86_64 While adding pods from CocoaPods

房东的猫 提交于 2019-12-12 10:32:45
问题 I am trying to use Google Analytics into my App. But immediately after adding it via CocoaPod i am getting this Error: Previously I have GoogleMaps and GCM in my pod. Now My Pod is look like this: platform :ios, '8.0' pod 'Google/Analytics' pod 'Google/CloudMessaging' pod 'GoogleMaps' How Can I resolve this Error: *EDIT This solve my problem: If I run my existing project X-Code 7 then I am not getting the Error. But I want it to run in Xcode 6.4 so I added older version of GA and that works

How to load Custom cell (Xib) in UITableview using Swift

十年热恋 提交于 2019-12-12 10:28:40
问题 Here's my code func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return 10 } func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { var cell :UITableViewCell = tableView.dequeueReusableCellWithIdentifier("discovered") as UITableViewCell! bluetoothlog.registerNib(UINib(nibName: "devicedet", bundle: nil), forCellReuseIdentifier: "discovered") //NSBundle.mainBundle().loadNibNamed("devicedet", owner: nil, options

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

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

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

Display status bar on landscape orientation for iOS 8

…衆ロ難τιáo~ 提交于 2019-12-12 08:08:30
问题 Currently using XCode6 at the moment. Since this version of XCode only supports iPhone4 and above with OS version (7.0.3 onwards). I have this application solely designed with a landscape orientation to all of the views in the storyboard. Testing the application using version 7.0.3 was fine, the status bar was still visible. It wasn't the same for version 8.0 wherein the status bar was hidden. My question is how is it possible to display the status bar on my landscape oriented application

Auto synthesis error in AFURLRequestSerialization with Xcode 6

亡梦爱人 提交于 2019-12-12 08:00:29
问题 How do I fix the warning "auto property synthesis will not synthesize because it is readwrite but it will be synthesized readonly via another property" for the properties streamStatus and streamError that I'm getting with the latest AFNetworking on the Xcode 6 beta? https://github.com/AFNetworking/AFNetworking/blob/master/AFNetworking/AFURLRequestSerialization.m#L733 Here's the relavent line in AFURLRequestSerialization.m line 733 and 734: @interface AFMultipartBodyStream () <NSCopying>

UICollectionView - Scrolling to first cell

Deadly 提交于 2019-12-12 07:45:34
问题 I'm making use of UICollectionView and I need to scroll to first cell after click in a button. The button is located in a (big) header section in my collection view... when clicking int it, I need scroll to my first cell located bellow of this button. I created a action of this button, but I don't know how to scroll to first UICollectionViewCell. Can someone help me? 回答1: Use this delegate method, setting the indexPath at the first position: Swift self.collectionView?.scrollToItemAtIndexPath

App get Rejected: crashes on launch , but worked fine for me on all devices as well

徘徊边缘 提交于 2019-12-12 07:22:28
问题 My app is for the iPhone only .And it is working fine on all devices but when submitted the app it get rejected by apple by saying ....... On 1st time submission We found your app crashed on launch so we were unable to review it. Please revise your app and test it on a device to ensure it will launch without crashing, and that it runs as expected, before resubmitting. this the crash report link please this is the crash report crash report on second submission it get rejected they says Thank