xcode5

How to retrieve a .app file from the .xcarchive?

∥☆過路亽.° 提交于 2019-12-11 10:28:09
问题 I am trying to use Appium to automate our mobile app, and I realize that in order to do so we need to specify the path to .app file. However after archiving I get only the .xcarchive file which I don't know what to do next.. My xcode version is 5.1. Please advise how to proceed, thanks! 回答1: Two options: Build an .ipa instead of .xcarchive (Instructions here) Appium's --app arugment accepts .ipa's as well as .app's and even .zip files. (Try pointing it at .xcarchive! I have no idea if it'll

Caller doesn't get event of End Call from receiver in opentok ios sdk

☆樱花仙子☆ 提交于 2019-12-11 09:59:30
问题 I have an iphone app in which I need to manage video call from caller to receiver and its works perfectly by using Opentok framework. Video call and audio everything working fine. But I have a problem with Ending a call from receiver side without picking up the call. If receiver picked up the call and Then he ends the call then caller receives event of ending a call. But when if receiver doesn't picked up the call from app and directly end the call then caller doesn't get any event and it

Compiling error with local CocoaPods pod

淺唱寂寞╮ 提交于 2019-12-11 09:53:00
问题 I'm writing an app that using external libraries through CocoaPods such as AFNetworking, ReactiveCocoa etc, and one static library that I wrote before. The static library also contains some external libraries from CocoaPods as well. I've made my static library an local pod of CocoaPods and imported it as one of my pods. However, while compiling my new app, error happened. Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_YADAClientManager", referenced from: objc-class-ref in

Fetch Facebook friends list of logged user

╄→尐↘猪︶ㄣ 提交于 2019-12-11 09:36:55
问题 I am trying to fetch facebook friend of logged user in my iphone app. i use Facebook sdk v2.2. facebook code return only one friend detail.but in the my facebook acccount 11 friends. i used xcode 5.1 and my development target 7.1 here is my code. [FBRequestConnection startWithGraphPath:@"/me/friends" parameters:nil HTTPMethod:@"GET" completionHandler:^( FBRequestConnection *connection, id result, NSError *error ) { /* handle the result */ NSLog(@"friend list = %@",result); NSArray* friends =

Xcode 5 how to enable Jump bar

一个人想着一个人 提交于 2019-12-11 08:49:58
问题 Somehow I disabled the Jump bar How do i get that I searched in preferences I can't find anything 回答1: It shows up when you have the Assistant Editor active. View - Assistant Editor - Show Assistant Editor 来源: https://stackoverflow.com/questions/20069016/xcode-5-how-to-enable-jump-bar

Best way to organize API base URL for different environment in Xcode

▼魔方 西西 提交于 2019-12-11 08:40:53
问题 We have 3 environments Dev, Stage and Prod for our API. I have 3 targets and schemes for 3 environments setup in my Xcode which have different builds, code signing, profiles and plist. How do I do the same for API base URL? right now I have all in 1 prefix file. Because it is 1 project so all 3 targets are using the same file and I have to change the comment out every time I build for different environment. //DEV #define SERVER_URL @"http://api.dev.com/api/" //STAGE #define SERVER_URL @"http:

Xcode 5.1 call stack in debug , show only thread without any info about the functions in c++

烂漫一生 提交于 2019-12-11 07:56:55
问题 i try to debug c++ code in xcode 5.1, in some point i have exception which in visual studio 2012 i used to get massage that tell me to break and then i see call stack , but this is not the case in xcode i get the same exception but i can't see the function flow aka the call stack . here is what i see in xcode : 回答1: In the left panel go down to the bottom and move the slider to the right to expand the entire call stack. 来源: https://stackoverflow.com/questions/25125657/xcode-5-1-call-stack-in

How to prevent XCode5 from hanging/beachballing when opening a storyboard?

依然范特西╮ 提交于 2019-12-11 07:46:46
问题 Im working on a game I did create in Xcode 4.6 with storyboards. A few weeks ago I opened it in Xcode5 and it worked fine. I was asked to upgrade storyboard and it worked fine. Its not a complex storyboard, only 4 scenes and all standard stuff. Today I went in to try and open it again and xcode hangs and beach balls. I have to force quit it and I do get a very large report which I have saved in a text file but would be too long to post here. How do I even find out what is causing the problem

Where is the iOS 7 simulator Japanese keyboard dictionary located?

空扰寡人 提交于 2019-12-11 06:42:25
问题 this question is a bit similar to this one. How do I enable the Japanese keyboard on the iPhone simulator? I get it to worked in Xcode 4.6, iOS Simulator 6. Things go all well. But when I upgraded to Xcode 5, iOS Simulator 7, the dictionary is gone... I can't write kanji, or even kana... where has the dictionary gone? How do I make it work in the iOS Simulator (because I don't have the real device) like back there? Edit Note: Ok, don't get it wrong. I changed the keyboard to japanese. Since I

IOS AMSlideMenu open menu callback

泄露秘密 提交于 2019-12-11 06:23:44
问题 I'm new in IOS, and can't understand some things about delegates and protocols. In my project I'm using AMSlideMenu for slide menu. I need to update same data in slide menu. For that I need to catch openMenu callback. In instruction for slide menu I found this If you want to get menu's open/close callbacks, then set MainVC's delegate property, and implement protocol named 'AMSlideMenuProtocols'. @optional - (void)leftMenuWillOpen; - (void)leftMenuDidOpen; - (void)rightMenuWillOpen; - (void