xcode-6.2

library not found for -lPods-AFNetworking

情到浓时终转凉″ 提交于 2019-12-18 14:41:16
问题 I am getting the following error when using AFNetworking: ''library not found for -lPods-AFNetworking'' "linker command failed with exit code 1 (use -v to see invocation)." I checked for all missing frameworks,and they are all present .Additionally this project works for other people(we pulled it from github) and I'm the only person for whom it does not work.(its a joint project) We all use Xcode 6.2. I do not understand what could be wrong or what went missing. I tried pulling using the

How to export shared container of an iOS App with Xcode6.2?

徘徊边缘 提交于 2019-12-17 23:17:59
问题 In our iOS app we utilize a shared container to share files between our main iOS app and its extension (specifically WatchKit Extension), using [NSFileManager containerURLForSecurityApplicationGroupIdentifier:] method. For debugging purposes we need to access the content of this shared container, so we've tried to export the whole App container using the Devices window in Xcode: But, the Shared storage is not included in the container, probably because it sits in a different path on the

Network API to return HTTPS response in iPhone

陌路散爱 提交于 2019-12-11 16:00:17
问题 Can I return the server response from any function to its calling function using any of the Network API like AFNetworking, MKNetworkKit etc, in iPhone. Currently I am using httpGet function of NSURLRequest. I made the following function but I am not able to return the server response to it calling function. Please help me. func connserv(jsonString:NSDictionary) -> NSDictionary{ var abc: NSDictionary? // This is the action performed when clicked on the Connect button on the connectivity screen

The apple watchkit app showing error “The operation couldn't be completed. (LaunchServicesError error 0.)”

百般思念 提交于 2019-12-10 16:36:42
问题 The apple watchkit app is not launching on simulator. After renaming target always getting the message "The operation couldn't be completed. (LaunchServicesError error 0.)". 回答1: Another reason for this, is to have two different targets of WatchKit App in the same project. Attached capture from Console.app: 回答2: Be sure you didn't change anything in WatchApp plist file. You should have same bundle identifier (with .watchkitapp suffix) and WKCompanionAppBundleIdentifier. And same for

WatchKit Extension Provisioning Profile?

回眸只為那壹抹淺笑 提交于 2019-12-08 05:46:21
问题 I'm trying to send my iOS app to the App Store right now. It compiles fine and installs onto my test device without a single error or even warning. I have an Apple Watch App that is going to go along with it but it seems to be giving me problems. When I create the Archive of the app, I get the following 5 warnings: [App Name] WatchKit Extension warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates

WatchKit Extension Provisioning Profile?

人走茶凉 提交于 2019-12-07 15:53:25
I'm trying to send my iOS app to the App Store right now. It compiles fine and installs onto my test device without a single error or even warning. I have an Apple Watch App that is going to go along with it but it seems to be giving me problems. When I create the Archive of the app, I get the following 5 warnings: [App Name] WatchKit Extension warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** Watch App.app/_WatchKitStub/WK warning:

watchkit extension not starting

那年仲夏 提交于 2019-12-07 14:15:21
问题 I cannot start iOS Watch App on simulator. Installed latest Beta 6.2 on Yosemite 1) I create a single view based application, 2) Add App Watch target 3) Extension and Watch App automatically created 4) Run App and start simulator and enable Apple Watch simulator 5) Switch Scheme to app Watch App and start Run Xcode status bar showing Running App...... and never jumping to second step of Running App extension, so nothing is showing on Apple Watch!! 回答1: 1. Select you "... Watch App" Run it on

How to set alignment for WKInterface Label using setAttributedText

别说谁变了你拦得住时间么 提交于 2019-12-06 00:58:12
I'm trying to set alignment for WKInterfaceLabel using setAttributedText function. Here is my code: var paragraphStyle = NSParagraphStyle.defaultParagraphStyle() paragraphStyle.alignment = NSTextAlignment.Center var attributedDictonary = [NSForegroundColorAttributeName:UIColor.greenColor(), NSParagraphStyleAttributeName:paragraphStyle] var attributeString = NSAttributedString(string: "TextAttributed", attributes: attributedDictonary) self.titleLabel.setAttributedText(attributeString) But I got a problem with this line: paragraphStyle.alignment = NSTextAlignment.Center I got error: Cannot

iOS Swift : can't Retrieve current url loaded in UIwebView

萝らか妹 提交于 2019-12-05 19:31:05
i am working in webview application iOS swift : problem i am facing is i want to get each url which webview displays : upon urls i have to perform some if else checks . but i could not get the urls which webview loads. webview is displaying fine results and loading urls upon clicking . i want to fetch all urls which webview navigates on.. import Foundation import UIKit class seconVC: UIViewController { var toPass:String! var touser:String! var toPassing:String! @IBOutlet weak var webV: UIWebView! @IBOutlet weak var L_back: UIBarButtonItem! @IBOutlet weak var R_frwrd: UIBarButtonItem! override

watchkit extension not starting

假装没事ソ 提交于 2019-12-05 18:23:57
I cannot start iOS Watch App on simulator. Installed latest Beta 6.2 on Yosemite 1) I create a single view based application, 2) Add App Watch target 3) Extension and Watch App automatically created 4) Run App and start simulator and enable Apple Watch simulator 5) Switch Scheme to app Watch App and start Run Xcode status bar showing Running App...... and never jumping to second step of Running App extension, so nothing is showing on Apple Watch!! Kostiantyn Koval 1. Select you "... Watch App" Run it on iPhone 5 simulator and higher (watch simulator not working with iPhone 4s) 2. Go to