xcode4

Xcode linker Directory not found for option

南笙酒味 提交于 2020-01-10 02:33:05
问题 Xcode 4 is throwing me a warning about directory not found for option '-L/Users/t2wu/Documents/blah blah'. Yes it shouldn't be found because I removed it. I remove the directory and I also removed the directory setting in both the target and the project library search path. I also remove the .a file which I was linking before from the "Link binaries with Libraries". It compiles fine, it just gives me the warning. Why is it still having the -L flag? 回答1: Check the Build settings tab and make

Instruments does not work on XCode 4 with device

柔情痞子 提交于 2020-01-09 13:01:36
问题 Until very recently, instruments worked fine. I don't know what I did to make it mad, but now it won't attach to any device that I try to Profile with; no device at all. I've tried an iPhone, iPad, and 2 iPod touches; no luck! I'm using XCode 4. Here is the sequence of events: With device attached, click Product->Profile. App compiles onto device. Instruments launches, but an error sound is heard The record button is grayed out. Choose Target doesn't allow me to attach or choose target (empty

An error occurred uploading to the iTunes Store

别等时光非礼了梦想. 提交于 2020-01-09 04:18:47
问题 We Really need some help on this one: We've Struggled with all the Apple Mumbo-Jumbo for the Last two months and can't seem to get our APP on the APPStore... Right now my problem is after Validating the ARCHIVE compilation and sharing it.. in the Submit Process I Get - "An error occurred uploading to the iTunes Store" I Really don't Know what I'm doing wrong and don't seem to find ANYTHING on the Internet that solves the problem... I've been stugling with this for over a week now... I've

An error occurred uploading to the iTunes Store

╄→尐↘猪︶ㄣ 提交于 2020-01-09 04:18:06
问题 We Really need some help on this one: We've Struggled with all the Apple Mumbo-Jumbo for the Last two months and can't seem to get our APP on the APPStore... Right now my problem is after Validating the ARCHIVE compilation and sharing it.. in the Submit Process I Get - "An error occurred uploading to the iTunes Store" I Really don't Know what I'm doing wrong and don't seem to find ANYTHING on the Internet that solves the problem... I've been stugling with this for over a week now... I've

Problem in displaying properly in tableView cell by using label

你离开我真会死。 提交于 2020-01-07 07:27:08
问题 In my application I parsed the data through NSXMLParser and made separate class to store that data from which i usually display the data. Everything works fine in simulator except the the title which is display in table cell with image. Images appears properly but the title not appear properly. This is my code:- - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView

How to target previous version of iOS in XCode4?

二次信任 提交于 2020-01-07 05:50:26
问题 How can I target a previous version of iOS in XCode4? My app is building only for iOS 4.3 devices and I'd like users with iOS 3.0 installed to be able to run the app as well. 回答1: Select the project in the Project Navigator and the then the target in the detail view. Under the summary tab you have the Deployment Target. Set it to 3.0. Alternatively you can set the iOS Deployment Target in the build settings. Both ways change the same parameter, it's just two different ways to access it. This

How do I add an Apple ID Account on XCode 4.6.3?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-06 23:04:08
问题 I'm trying to add a new Apple ID Account to XCode 4.6.3. The instructions are to open the preferences dialog and click the Accounts tab. But there is no such tab in my XCode. What do I do now? 回答1: My recommendation upgrade to xcode 5 as of tomorrow (1st of February 2014) all apps built and submitted to the app store must be done using at least xcode 5 this was announced by Apple on December 17, 2013 here https://developer.apple.com/news/?id=12172013a Starting February 1, new apps and app

Debugger console encoding in XCode is broken

拈花ヽ惹草 提交于 2020-01-06 19:45:08
问题 Non-latin text outputs very strange way in XCode debug console. How make it right? For example: Проверьте давление экрана. became –ü—Ä–æ–≤–µ—Ä–∫–∞ –¥–∞–≤–ª–µ–Ω–∏—è —ç–∫—Ä–∞–Ω–∞ (Help me please improve my question because my english is not good. Let me know If it's hard to understand what I wrote here.) - (id) initWithDictionary:(NSDictionary*)dictionary { //... self.title = [dictionary objectForKey:@"Заголовок"] ; // dictionary from plist encoded in UTF8 //... return self; } - (void) log {

Linking failing with Xlinker file not found error

孤人 提交于 2020-01-06 10:09:34
问题 I am trying to compile a Xcode project which was a Xcode 3.2 project with Xcode 4. I am getting the following error. ld: file not found: -Xlinker collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 Unable to figure out the issue. And this happens only when I use the Gcc4.2 compiler. When I use LLVM it works fine. 回答1: According to http://www.cocoadev.com/index.pl?ApplicationLinkingIssues you might have

How Do I create a .a file in xcode 4

眉间皱痕 提交于 2020-01-06 07:25:07
问题 I would like to make a .a file which can be used as a library which implements a UIview and it can be used in various projects just as a include ? 回答1: For XCode 4 libraries / frameworks follow the links in How to compile xcode4 project to use as framework in second project?. In order ot have the projects within one workspace, which is more convenient (but I never had the time to try it out:-), you may have a look at XCode 4 how to add an external project 回答2: Build the project , navigate to