xcode5

Including/excluding entire groups from targets

假装没事ソ 提交于 2019-12-02 16:23:03
问题 My project has a group with a few hundred files (organized into a couple dozen subgroups two levels deep). The files in that group are themselves being changed reasonably often. I want those files to be included in some targets, but not others. In Xcode 3.x, after each change to the group, I would just Get Info on the group itself, go to the Targets tab, and (re-)select the targets I wanted. (This was, in fact, the answer to a nearly-identical question from 2010, Xcode — groups and targets.)

How to use iOS Simulator 7 \\ XCode 5 to test pre-iOS 7 UI (without upgrading the app for iOS 7)

回眸只為那壹抹淺笑 提交于 2019-12-02 15:34:33
Compiling my app on XCode 4.6.3 and running it on iOS 7 works great. Compiling my app on XCode 5 and running it on iOS 7 results a big UI mess I don't want to handle right now. (iOS 7 pickers, tabbars, tableviews etc') Goal: I want to be able to use XCode 5 and test my app on the iOS 7 simulator but still use the iOS 6 and lower UI and feel. Reason: I don't want to redesign my app to iOS 7 but I do want to make sure it runs fine on iOS 7 using XCode 5 iOS 7 simulator. Is there a quick toggle on XCode 5 to force everything to stay the same? Is doing something like using iOS 6 Base SDK in XCode

Search Bar in UITableView doesn't display text in Cell label

微笑、不失礼 提交于 2019-12-02 15:08:59
问题 Here's where the magic isn't happening: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"songCell"; songViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; // Configure the cell... long row = indexPath.row; if (cell == nil) { cell = [[songViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; } if (tableView == self.searchDisplayController

Add local repo for existing Xcode 5 Project

随声附和 提交于 2019-12-02 14:59:00
I've running through a Xcode 5 tutorial and want to make some significant changes, but want to make this Xcode 5 project into a repository. I've done some reading and you can add a repository by going to Xcode -> Preferences -> Accounts -> Add Respository -> Enter the repository address: So what would I input here for a local repository (on my iMac) I'm wanting to work on? Cheers. I would do this from the command line. Close Xcode.app Open Terminal.app $ cd /path/to/project/dir $ git init . Create a .gitignore file to ignore some of the Xcode and output files that you don't want tracked (see

Xcode : failed to get the task for process

こ雲淡風輕ζ 提交于 2019-12-02 13:59:55
This is for an existing app that compiled and distributed multiple times. Since updating to Xcode 5 I have this error popping. I have my developers profile selected in the Code Signing for debug. Deleted the Derived Data a few times. Quit a few times Downloaded and tried to re-add my Developers certificates. Reset my computer! And checked updates Tried using black magic! The Scheme > Build Configuration is set to Debug The odd circumstances I am compiling to compile to iOS 6.1 so I can run on my iPhone 3GS - the base is SDK iOS 7? Could this be an issue? I just need to test it before finding a

Xcode: How do I get a textLabel to display addition static text that is being entered in the textField?

假如想象 提交于 2019-12-02 13:15:22
I am a Xcode newbie, please help. So I know how to change the text in Label box by with a text field: self.textLabel.text = self.textField.text The question is: how do I add static text to text that is being entered? Like if in the textField a name is entered, how do get the label box to display a "Hi," then whatever text that was entered? What do I have to put in front of "self.textField.text" after the "=" sign ? Thanks MeIr You need to concatenate 2 Strings. Here are some clues: Shortcuts in Objective-C to concatenate NSStrings Concatenate String in String Objective-c Simple string

Is it possible to include a .framework in a .framework and how?

断了今生、忘了曾经 提交于 2019-12-02 11:44:38
i'd like to mention this question Include a framework into another one, is it possible? and this Include an iOS Framework into another one . Also there is a similar to the target question from me as well, https://stackoverflow.com/questions/23022211/create-framework-including-plcrashreporter-linked-xcodeproj-source-code-to-the . I want to achieve the same thing. Don't want the developer to have to link to both frameworks but only mine which is merged with the other. Both questions in the link have no answer. Any update on the subject? P.S. I have the source code also but this is not an option

Geo-Fencing didEnterRegion and didExitRegion methods not called?

霸气de小男生 提交于 2019-12-02 10:25:23
问题 Hi Guys Am working on Geo-Fencing! Location manager didDetermineState is calling properly but when i entered region didEnterRegion and didExitRegion never been invoked. Here my code is **ViewController.m** GeofenceMonitor * gfm = [GeofenceMonitor sharedObj]; NSMutableDictionary * fence1 = [NSMutableDictionary new]; [fence1 setValue:@"office" forKey:@"identifier"]; [fence1 setValue:@"13.04765701" forKey:@"latitude"]; [fence1 setValue:@"80.18752289" forKey:@"longitude"]; [fence1 setValue:@"100"

Including/excluding entire groups from targets

萝らか妹 提交于 2019-12-02 10:19:18
My project has a group with a few hundred files (organized into a couple dozen subgroups two levels deep). The files in that group are themselves being changed reasonably often. I want those files to be included in some targets, but not others. In Xcode 3.x, after each change to the group, I would just Get Info on the group itself, go to the Targets tab, and (re-)select the targets I wanted. (This was, in fact, the answer to a nearly-identical question from 2010, Xcode — groups and targets .) In Xcode 5, the equivalent File Inspector panel doesn't have a Target Membership section if you have a

How can I install application on the new iOS 8 using xCode 5?

自作多情 提交于 2019-12-02 10:16:27
How can I install application on the new iOS 8 using xCode 5? I've used iTunes for that before. But now it doesn't work. Application's icon is gray on the iTunes. The following steps helped me: Add and install Ad-Hoc mobile profile. Create Ad-Hoc .ipa file with Organizer. Add it to the iTunes and sync the device. Remove non-existent application from the device on iTunes and from iTunes (most important step for me) and sync the device. Add it again to the iTunes and sync device. Now you can test your new version of the application on iOS 8! more simple: I got an analogous problem in iOS8 beta