xcode5

Create physical existence folder in Custom project Template of xcode

荒凉一梦 提交于 2019-12-08 10:47:31
问题 I am new developer to use XCode I trying to Create custom project template and any how I success but I create folder using Groups key in .plist file. Folder which are created after selecting my custom project template have no physical existence. I want to create folder which have physical existence please help me out from this problem. Thanks in Advance 回答1: In .plist file add these lines. It will create folder and group of AppDelegate class. <key>Classes/AppDelegate/AppDelegate.h</key> <dict

Xcode 5 Your binary is not optimized for iPhone 5 error while validating

六月ゝ 毕业季﹏ 提交于 2019-12-08 09:31:32
问题 I'm running into the Your binary is not optimized for iPhone 5 error: I tried every solution suggested in the other questions but nothing works. To summarize: I have the Default-568h@2x.png image with a size of 640 × 1136 in the root directory of the project, where project_name.xcodeproj is. Following one advice, I added Default.png (640 × 1136) and Default~iphone.png (640 × 960) to the same directory. Didn't work. I am using an asset catalog with the proper sizes in place. Here's the

XCode 5 does not show full SVN history for repo

老子叫甜甜 提交于 2019-12-08 07:59:49
问题 XCode 5.0.1 on OSX 10.9 does not show the full revision history for my repository under Source Control/History . What it does display is the history up to a certain point several months ago, but nothing newer than that. I tried viewing the repo and its history in Versions and there it works just fine. At some point we migrated the repo from one server to another. We also upgraded the repository a while back, but I don't know to which version of SVN. However, I do know that we have Visual SVN

App crashes after power down on iPhone 4S

和自甴很熟 提交于 2019-12-08 07:51:26
问题 I am running iOS7 on an iPhone 4S and my app runs fine until I power down my iPhone and power it back on. When I launch my app it simply just flashes a black screen and then takes the user back to the iPhone app icon view. Also, my app uses RestKit .20.3 and ZBar for bar code scanning and is built using Xcode 5 on Mountain Lion. Then I connect my iPhone back to Xcode and then rerun the app and everything is fine again. Has anyone else experienced this issue. Below is a snippet from my crash

what is the best method to rename project name in every where from Xcode 5?

人走茶凉 提交于 2019-12-08 07:39:21
问题 what is a straight forward method or any to rename a project name (project name, virtual project folder name, physical project folder name.. etc) from Xcode 5 ? 回答1: First close xCode Copy your Project folder (in my case called FirstName) to Desktop Rename the Project folder (in my case SecondName) Now open the new Project folder and start xCode by clicking the .xcodeproj file Change the Name of the app in the left top corner by double clicking it slowly: Rename everything they recommend Save

Render to texture, then render texture to screen in iOS

旧街凉风 提交于 2019-12-08 06:56:31
问题 I am trying to render a simple scene into a FBO that is backed by a texture as a color attachment and then draw a quad to the screen using this texture in iOS. This will help me do some post processing of the final scene. There are a few questions on SO that address similar (but not quite the same) questions and I've tried whatever I could understand. Nothing works. I have two shader programs. The first one _program simply takes the vertex positions and renders them with a single color. The

Integrating Yelp API v2 into iOS 7 app

谁都会走 提交于 2019-12-08 05:25:12
问题 I thought this would have been a bit of a more seamless process. I downloaded the yelp api example (https://github.com/Yelp/yelp-api/tree/master/v2/ios) and assumed I could just 'build and run' and see an example with a request sent out on a buttonPressed event. I've been reading here: How to integrate Yelp APi in iPhone application? and other places online but am getting a ton of errors when trying to integrate a basic test. I've signed up for an account, have an API v2 set of keys. A lot of

Xcode: Build fails every time for a simple Hello Word program

瘦欲@ 提交于 2019-12-08 04:58:38
问题 Very strange: I am trying to run a simple Hello World program, but Xcode say "Build Failed" I saw in the Log Navigator it say 2 warning and 1 error: Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 Code: #import <Foundation/Foundation.h> int main (int argc, const char *argv[]) { NSLog (@"Hello, Objective-C!"); return (0); } 回答1: Apparently, I ignored the warnings which said: OS X deployment target '11.0' for

xcode ios crashing intermittently

旧时模样 提交于 2019-12-08 04:32:50
问题 I had my xcode working fine, I updated my phone to iOS 7 and downloaded the latest xcode. Now if I create an empty app, then run it on simulator, the app will crash intermittently, nothing else added... so it will run some times, then will crash on start up, No error log, only lldb and on main.m I see: Thread 1: signal SIGABRT What is the problem? thanks! 回答1: Delete the app from the simulator, clean project, restart Xcode and rerun it. If that doesn't work try to reinstall it again. 来源:

Shell Script invocation error in xcode 5

自闭症网瘾萝莉.ら 提交于 2019-12-08 02:51:43
问题 I am using openssl and sqlcipher in my project. I have to upgrade from Xcode 4.6 to Xcode 5, but I compile project in Xcode 5 it gives me error cp: libCrypto.a No such file or directory, Cp:libssl.a No such file or directory Shell Script invocation error When I checked 'openssl-1.0.0e' folder the files get deleted when I clean or build in Xcode 5, it doesn't happen in Xcode 4.6 and work successfully. I also tried by upgrading to version 'openssl-1.0.1f' and the updated sqlcipher function, but