xcode4.2

How to create project templates in Xcode 4.2

做~自己de王妃 提交于 2019-12-06 16:46:35
问题 I wanna create Custom project templates like existing Singleview application, Utility application & other application templates but with my own files. For this i googled alot and found some good links also. But none of them seems to be work for me. I was following this article. But at some point i am struck. please share any useful info or link even your suggestions. Thanks, Tarun 回答1: You can't create Custom Project template in Xcode. So Use Empty Template For Your Application. this ll help

Create static library containing RestKit library

落花浮王杯 提交于 2019-12-06 16:07:41
问题 I have another problem in my use of RestKit Library. My goal is to create a specific library for my company, which can be used for all IOS development projects. For this I created a library in which I imported the library RestKIt. I followed the installation guide for RestKit xCode 4.x. So I then created a new project in which I imported my library named "m2mBackEnd". In my test project that uses the library, I did Oppers the following: 1 - I imported the library "m2mBackEnd". 2 - In "Build

Mac OS X Lion 10.7.2 Xcode 4.2 memory issues

六眼飞鱼酱① 提交于 2019-12-06 15:57:20
I've got MacBook Pro 2011, 15" i7 2GHz 8GB Ram 1333 MHz OS X Lion 10.7.2 all updates installed released to this date. I have done everything what I can to minimize RAM consumpsion and the only problem I've got at this point is when I run Xcode. I had 4gigs of RAM, than bought 8 gigs and always 've got 10-30 MB of free memory after 3-5 minutes of Xcode running and PAGE INS are 300MB - 700MB. I tried to switch to 32-bit running mode but no change. Can anybody help me please? justin Yes. One way is to disable indexing, another is to reduce the number of build processes. These are hidden

Including QuickDialog into Xcode 4.2 Project

此生再无相见时 提交于 2019-12-06 12:02:51
问题 I try to include QuickDialog into one of my projects and just can't get it to work. I did the following: downloaded it from github copied it into my project directory drag and droped the QuickDialog.xcodeproj file downloaded from github previously from Finder to my project in the Build Phases, Added QuickDialog (the lib, not the example app) as a Target Dependency in the Link Binary With Libraries section, added the libQuickDialog.a library (this turns red actually don't know why) In my

iOS: Storyboard backwards compatible

ぃ、小莉子 提交于 2019-12-06 09:34:34
I created my application with Storyboard not realizing till it was to late that iOS4.3 devices will not be supported. Is there an option where I can copy the storyboard views into xibs or programmatically do it at runtime? What options do I have without completely starting over? Kinda makes storyboards useless since alot of people still use iOS4x If you bought an iPhone 3G, the day before the 3GS came out, or bought remaining stock in the following weeks, your 20 month upgrade would be available in February 2011. That gives all the 3G owners almost the last 12 months to have upgraded to a

How to use gcc 4.2 with Xcode 4.2

邮差的信 提交于 2019-12-06 08:39:27
问题 I need to use gcc 4.2 with Xcode 4.2 for some older code. How do i get it to show up. Xcode4.2 seems to have dropped support for it. Thanks 回答1: Here is a way to enable compiling with gcc 4.2 in xcode 4.2 . This is mostly done via command line so when you see lines starting with: [ 15:30 jon@MacBookPro / ]$ , you need to open up Terminal.app and run the command that starts after the $ . No files or directories are removed or deleted in this process, so it is easy to undo if you need to

iOS 5.0 missing in Xcode 4.1?

元气小坏坏 提交于 2019-12-06 08:25:14
I was trying to test my app on my iPhone 4G iOS 5.0(latest software) on Xcode(latest software), but when I open 'Organizer' and this message(below) shows under device. The version of iOS on “User Name” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here. OS Installed on Moo 5.0 (9A334) Xcode Supported iOS Versions Latest 4.3 4.2 4.1 4.0.2 4.0.1 4.0 3.2.2 3.2.1 3.2 3.1.3 3.1.2 3.1.1 3.1 3.0.1 3.0 How do I do

Ad hoc VS Build application behavior

坚强是说给别人听的谎言 提交于 2019-12-06 06:46:20
I have developed a simple app that contains a UITableView that displays data, and when you click on a row, it displays an details page. If I compile my apps and put it on my iPhone 3G, it works perfectly as expected. The problem occurs when I create an ad hoc of my apps. When installed on my same iPhone 3G, graphical glitches occur everywhere in my detailled page. I really don't know where to start looking to understand this. Anyone ever had this problem? Thanks. EDIT * A precision, I'm using XCode 4.2 (Apple LLVM Compiler) Try to turn off compiler optimizations. Something is going wrong with

xcode 4.2 ios5 codesign failed with exit code 1

喜欢而已 提交于 2019-12-06 05:00:28
I've searched all over the google for a solution which works for me... I've tried SO many different suggestions.. but nothing seems to be working. In xcode 4.2 using ios5 when I try to run the project, I get the following error CodeSign /Users/matt/Library/Developer/Xcode/DerivedData/myapp-apjchwtbrxazuighfwhrzxchpcfk/Build/Products/Debug-iphoneos/myapp.app cd /Users/matt/Desktop/myapp_v1_1 setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:

how do we open an already existing database fmdb and where to include it?

纵饮孤独 提交于 2019-12-06 04:07:55
问题 I am using fmdb but i am not knowing where to add the db file. I found this old answer that i think it doesn't fit for xcode 4.2 (since we dont have 'Resources' folder anymore). I created a database in 'Lita', added the extension .sqlite and added the db file as follows : then tried to use the following NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *docsPath = [paths objectAtIndex:0]; NSString *path = [docsPath