xcode5

Xcode workspaces with sub-projects and project dependencies triggering builds

倖福魔咒の 提交于 2019-12-03 05:33:40
问题 I wish there was better documentation for this for Xcode 5 but I couldn't find anything decent describing best practices for working with workspaces, so.. In a workspace with several projects (couple frameworks, 1 app) is it possible to have Xcode build all dependent projects only when required (i.e. changes found) w/o having to include all projects in all dependent projects ? I'd rather like to just have the frameworks in the project depending on it instead of having 5-6 sub projects in it

Can't get rid of Apple LLVM 5.0 Error

做~自己de王妃 提交于 2019-12-03 05:26:17
问题 It keeps saying: fatal error: file '/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/objc/NSObject.h' has been modified since the precompiled header '/Users/jackiexu/Library/Developer/Xcode/DerivedData/ModuleCache/2MWVPCGUMQ29P/ObjectiveC.pcm' was built note: after modifying system headers, please delete the module cache at '/Users/jackiexu/Library/Developer/Xcode/DerivedData/ModuleCache/2MWVPCGUMQ29P' 1 error generated. I

How to duplicate target from Xcode 5?

萝らか妹 提交于 2019-12-03 04:28:57
Seem like this feature was removed from xcode 5 ? Prior to xcode5, it is easy to duplicate any target via clicking on the target, choose "duplicated blabla", then you will get it. But for xcode5 , where is this hiding ? Select your project in the left nav. In the main content area at the top, you have a row that is like a file navigator. Then the second row, right under the first, in the very left there is a little square arrow thing. That hides/shows the project and targets list. Step1: Select the (blue) project icon in Xcode and open project setting page. Step2: Click on the black arrow icon

iOS 7 : simple audio controls with AVAudioPlayer?

别等时光非礼了梦想. 提交于 2019-12-03 03:57:10
问题 I just begun to code iOS apps with xCode and it's not very easy nor intuitive to find how things work. I'm very new into this and my app goes on very slowly ^^. Anyway, I'm now trying things on iOS7, at least. I managed to create dynamic tables with customs cells and dynamic height but now I don't find any solution to my problem... Maybe I didn't search at the right place... anyway. I have an audio playing, thanks to these lines: NSString *path = [[NSBundle mainBundle] pathForResource:@"song"

xcode 5: code signing identity list not complete

强颜欢笑 提交于 2019-12-03 03:50:16
Just updated and used xcode 5 to to up a 2nd version of my app. But now the problem is on the code signing identity. WHen I open up my old files from xcdoe 4.5, I see the full list of my identities there, but on this new project, there is only one developer identity listed. the rest (developer & distribution) identities are no where to be seen. I tried to reinstall the provision file again, but still nothing happens. Anyone facing the same problem and manged to solve it? Thanks!! In Xode5+ 1) firstly select the provision profile 2) than select the code signing identity It might be possible

code coverage with gcovr and Xcode 5 is not working

寵の児 提交于 2019-12-03 03:43:18
I'm using gcovr to generate code coverage for cobertura. Everything was working fine with xcode 4.6. Now I updated to xcode5 and everything I get is 0% coverage... my setup: gcovr 3.0 Xcode 5 (Apple LLVM 5) 'Generate Test Coverage Files' is set to YES 'Instrument Program Flow' is set to YES and to command I use: gcovr -r . --object-directory Build/Intermediates/myApp.build/Debug-iphonesimulator/myApp.build/Objects-normal/i386 --exclude '.*Tests.*' --exclude '.*KiwiUnitTest' --exclude '.*main.*' --xml > reports/coverage.xml is someone having the same issue or better, have a solution? :)

xcodebuild corrupts test result output when output redirected to file

南笙酒味 提交于 2019-12-03 03:22:58
I have Jenkins with the Xcode plugin configured to run unit tests by adding the test build action to the Custom xcodebuild arguments setting. For more information on getting Jenkins to run the unit tests at all with Xcode 5, see this question . Now that I have it running, it seems to mix console output from NSLog statements or the final ** TEST SUCCEEDED ** message with the test results, thus occasionally tripping up the parser that converts unit test results to the JUnit format required for Jenkins. For example, the Jenkins log shows output like this: Test Case '-[Redacted_Conversion_Tests

How to create an Interface Builder plugin in XCode5+?

醉酒当歌 提交于 2019-12-03 03:19:56
I need make an Object Library , an Interface Builder plugin like Mapkit so that user can drag my Custom Object and add to UIView . As property, i want to show and configure it with my basic properties. Any idea how to do this? thanks. In Xcode 4.0, Apple has removed support for using custom Interface Builder palettes provided by IBPlugins in the Interface Builder editor. Xibs/Nibs that use such plugins will still compile but they cannot be edited. You'll need to install Xcode 3 (in a separate folder so as not to overwrite 4) and use it to edit xibs with custom palettes. This is all in Xcode 4

Warnings: Misplaced View

坚强是说给别人听的谎言 提交于 2019-12-03 02:59:01
问题 I recently updated Xcode and I got the following warnings: I tried Editor -> Resolve Auto-Layout Issues -> Clear all constraints in view controller but it did not work... I am using Xcode 5. How do I remove the warnings? 回答1: In Xcode 5 the position of views on the canvas does not update when constraints are applied. Thus, it is possible to have constraints that specify a different position for the view than you see it in Interface Builder. You can correct this by pressing Command + Option +

Could not create directory /var/teamsserver

ε祈祈猫儿з 提交于 2019-12-03 02:55:50
I've installed os x server (Mavericks) on my mac and would like to add bot. For some reasons my remote repo is located on other external server and I have access to it by username and password on specified port. I've added remote repo to os x server like this: ssh://1.2.3.4:PORT/path/to/repo.git ...filled username and password. Then I've added bot in Xcode but when I hit integrate it fails with logs: Cloning into 'ssh_myusername_1_2_3_4_PORT_path_to_repo_git'... OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: