xcode5

missing required architecture x86_64 in file libCorePlot-CocoaTouch.a

痞子三分冷 提交于 2019-11-30 01:51:30
According to the Ray Wenderlich tutorial , I done the following : Step 1 - I downloaded CorePlot_1.4.zip on the official website Step 2 - I added to my project the CorePlotHeaders folder and the static library named libCorePlot-CocoaTouch.a (checking “Copy items into destination group’s folder (if needed)” ) Step 3 - I added into Other Linker Flags field the following : -ObjC Step 4 - I checked into Link Binary with Libraries if libCorePlot-CocoaTouch.a and QuartzCore frameworks were here Result : When I compile my project, it works fine when I'm using Iphone Retina (4-Inch) . But when I'm

FFMPEG iOS 7 Library

夙愿已清 提交于 2019-11-30 01:38:50
I've tried reading many tutorials. I've spent hours on google, and stackoverflow trying answer. So far I've read: Trying to compile the FFMPEG libraries for iPhoneOS platform with armv6 and arv7 architecture FFMPEG integration on iphone/ ipad project and https://github.com/lajos/iFrameExtractor few of the many. I'm trying to build this library for iOS 7/Xcode 5 compatibility but it's not working. A common error I'd get is: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 yasm/nasm not found or too old. Use --disable-yasm for

XCode: cannot change Navigation Bar tint via Storyboard

这一生的挚爱 提交于 2019-11-30 01:13:58
问题 i wan't to give a NavigationBar a certain tint, however i cannot find the setting in XCode. Is it still present? I saw a number of tutorials mentioning that possibility (i.e. http://www.appcoda.com/customize-navigation-status-bar-ios-7/). Where do i have to click to get this dialog? I tried the NavigationController, everywhere inside the NavigationController and the Navigation Items in the subcontrollers. I know how to do it programmatically so that's not my question here. Thanks guys. 回答1:

Xcode 5, disabling Storyboards [duplicate]

老子叫甜甜 提交于 2019-11-30 00:42:16
This question already has an answer here: Xcode without Storyboard and ARC 6 answers I don't want to use story boards, i'd much rather use NIB's for UI when necessary, and I particularly don't want to use them for the default templates. Xcode 5 no longer has the check box to say you don't want to use Storyboards, can anyone help? It's really annoying... Jordan Montel STEPS FOR REMOVE STORY BOARD - XCode 5 (EDIT) 1/ Create an empty project 2/ Add new files with xib for your controller , if it is not added in compiled sources in build phases then add there manually. 4) Change appdelegate

Can't Submit App to App Store: “Sending API Usage to iTunes Connect” either times out or loses connection

折月煮酒 提交于 2019-11-30 00:27:46
问题 I request your help with this as I have been fighting with this since last night. I have googled for hours and I can't seem to find a solution to this so I am starting to fall for desperation. Basically, I submitted an app last week. It got rejected because of a small mistake of my part. I want to resubmit it now, but the app won't upload. I need to note I have reconfigured my network since then but I'm sure all ports are open and that nothing should be getting on the way of my app being

How do i request mic record permission from user

梦想的初衷 提交于 2019-11-30 00:09:30
I am using the new iOS7 developer SDK and now the app request from the user his permission to record from mic when the App try to record in the first time. My App will record after a countdown,so the user can't see this request. I use this code to check the requestRecordPermission : [[AVAudioSession sharedInstance] requestRecordPermission:^(BOOL granted) { if (granted) { // Microphone enabled code } else { // Microphone disabled code } }]; But how can i trigger the request by myself before i start to record ? In the new iOS7 it's very simple try this: if([[AVAudioSession sharedInstance]

EXC_BAD_ACCESS (code=1, address=0x0) when stepping in debugger

断了今生、忘了曾经 提交于 2019-11-29 23:51:37
My application crashes each and every time I try to step over a call. Without debugger it works fine. Also, when I run the app in simulator it woks fine with or without debugger. Recently I upgraded my Mac OS X 10.8 to 10.9 (Mavericks). There were no issues before the upgrade. What causes the issue and how could I fix it? Below is the back trace. My app uses ARC. I have enabled zombies and added exception breakpoint but no zombies where detected and exception breakpoint is never triggered. * thread #1: tid = 0x2503, 0x00000000, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code

using SVN 1.8.3 with Xcode 5

寵の児 提交于 2019-11-29 23:22:53
I updated the Subversion client on my system to 1.8.3. I did a checkout of my repository from Xcode 5's Source Control menu. Then in terminal opened that directory and did an svn update command just to check. I get this message - The working copy at '/Path' is too old (format 29) to work with client version '1.8.3 (r1516576)' (expects format 31). You need to upgrade the working copy first. If I upgrade my copy, I lose access to the Source Control menu options because the version is too high for XCode 5. Later on I found this XCode 5 Features Link which says that SVN for Xcode is at version 1.7

How do I migrate from SenTestingKit/OCUnit to XCTest?

北城余情 提交于 2019-11-29 22:54:27
I am in the process of migrating my project from Xcode 4.6.3 to Xcode 5.0.2. The project's unit tests were developed with SenTestingKit/OCUnit. Now when I am running the tests in Xcode 5, I get an error from the RunUnitTests script telling me that RunUnitTests is obsolete. Possibly related is this note in the Xcode 5 release notes: SenTestingKit and OCUnit are deprecated. Use the migrator to move to XCTest. Unfortunately, I have not been able to find out more about this mysterious "migrator". Possibly my google-fu is lacking [again], so my main question is: How do I migrate unit tests from

Is it possible to run XCTest based tests under Instruments in Xcode 5?

喜夏-厌秋 提交于 2019-11-29 21:34:14
Looking at XCTest and Xcode 5 unit testing and not seeing how to run my unit tests under Instruments in Xcode 5... Specifically I'd like to look for leaks during the test (this doesn't have to be automated in this instance, though clearly that'd be useful). Possible? I think this is the easiest way: Set a breakpoint somewhere in your tests (I've been doing it in the setup method) Open a new document in instruments Run the application and make sure it's stopped at a breakpoint From the Target drop down in Instruments choose Attach to Process and scroll down to your process Click on record and