xcode5

Iphone app crashes before didFinishLaunchingWithOptions

徘徊边缘 提交于 2019-12-06 10:28:41
My iPhone application was working properly and suddenly it crashes whenever i run it on the device or simulator and it doesn't report me with any useful info at the log it just logs the following useless info.: 2014-02-05 17:09:34.069 TeacherAssistant[711:60b] ( 0 CoreFoundation 0x2ed4ce9b <redacted> + 154 1 libobjc.A.dylib 0x390a96c7 objc_exception_throw + 38 2 UIKit 0x3197beed <redacted> + 0 3 UIKit 0x3174a10d <redacted> + 44 4 UIKit 0x3153ba53 <redacted> + 482 5 UIKit 0x314d6a07 <redacted> + 3142 6 UIKit 0x314d5cfd <redacted> + 72 7 UIKit 0x3153b321 <redacted> + 664 8 GraphicsServices

Customize iOS Simulator preset locations to fake as current location

。_饼干妹妹 提交于 2019-12-06 10:26:13
问题 In the iOS simulator, one can select from some Apple pre-defined locations, or enter a custom latitude/longitude for your own location. I want to customize that list of available locations. I see from this answer that one can provide a gpx file. However, I don't see where to do this in Xcode5 (the screenshots shown in the linked to answer are for Xcode 4). Suggestions? 回答1: EDIT: Another way to achieve this to edit your run scheme and select options. and provide GPX file in default location

Is it possible to open running background app on in Objective c

核能气质少年 提交于 2019-12-06 08:35:36
open my app from background running on a specific timing.. want to do somthing like this - (void)applicationDidEnterBackground:(UIApplication *)application { timer = [NSTimer scheduledTimerWithTimeInterval:10 target:self selector:@selector(timerFired:) userInfo:nil repeats:NO]; } - (void)timerFired:(NSTimer*)timer { NSLog( @"yes it is running..."); PickUpCallViewController *call=[[PickUpCallViewController alloc]initWithNibName:@"PickUpCallViewController" bundle:nil]; navi=[[UINavigationController alloc]initWithRootViewController:call]; [[navi navigationController] setNavigationBarHidden:YES

Shell Script invocation error in xcode 5

一个人想着一个人 提交于 2019-12-06 08:11:49
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 the error still remains My projects architecture is $(ARCHS_STANDARD_32_BIT) Let me know if you need

undeclared identifier 'FBAppCall' 'FBDialogs'

我们两清 提交于 2019-12-06 07:43:13
I'm recently trying to update the Facebook SDK on our application. I had no worries following the steps fom the Upgrade guide by Facebook. I was able to compile without issues. However, when I quit XCode, reopen my project and try to recompile I get an error about ' FBAppCall ' (undeclared identifier). All others classes from the SDK are working except this one and ' FBDialogs '. I am able to solve those errors by deleting the Facebook framework and adding it again. But I must do it every time I quit XCode. I've tried to check or uncheck " Copy items into destination group's folder (if needed)

no valid 'aps-environment' entitlement string found for application when trying to enable push notifications

∥☆過路亽.° 提交于 2019-12-06 07:41:51
问题 I've been reading all the other questions asking about this error and it seems like I've followed their solutions but I'm still having this problem. I removed all the existing provisioning profiles and app ids. I created a new app id that has push enabled. I created a development provisioning profile with push enabled. On the Apple dev site, that provisioning profile has a green "active" indicator next to it. In xcode5, under preferences>accounts, the provisioning profile is listed. Under

Asset Catalog Error: CUICatalog: Can't find rendition for name

断了今生、忘了曾经 提交于 2019-12-06 07:41:15
问题 All of a sudden, and through no apparent changes on my end, I am now getting the following error from an image in my asset catalog: 2013-10-30 14:44:46.629 MyApp[38590:a0b] CUICatalog: Can't find rendition for name: LoginBackground scale factor: 2 device idiom: 1 device subtype: 0 2013-10-30 14:44:46.638 MyApp[38590:a0b] Could not load the "LoginBackground" image referenced from a nib in the bundle with identifier "com.mybundleid" I have tried removing the image assets and re-adding them, to

Xcode 5 Tests Not Running

那年仲夏 提交于 2019-12-06 06:05:45
I get the following message from Xcode when I try to run my tests: 2013-11-13 09:02:57.849 MyProject[378:303] Error loading /Users/tatami/Library/Developer/Xcode/DerivedData/MyProject-gcralijdlibafgeyfwfeiynnothy/Build/Products/Debug/MyProjectTests.xctest/Contents/MacOS/MyProjectTests: dlopen(/Users/tatami/Library/Developer/Xcode/DerivedData/MyProject-gcralijdlibafgeyfwfeiynnothy/Build/Products/Debug/MyProjectTests.xctest/Contents/MacOS/MyProjectTests, 262): no suitable image found. Did find: /Users/tatami/Library/Developer/Xcode/DerivedData/MyProject-gcralijdlibafgeyfwfeiynnothy/Build

Can't run app in simulator :: XCODE 5

天大地大妈咪最大 提交于 2019-12-06 05:53:26
May because its DP and they will fix it, but for time being anyone have an idea how to solve this issue? For me only reboot is solving the issue. I could have done this but its becoming very frequent. It works fine when running in device. Any help appreciated.Thanks. As Michael D suggested, I got an instant answer from Dev forum. Here is the answer: Delete the app from simulator or reset the simulator. Later I got Similar issue in iPhone too. Deleting the app from iPhone will solve that issue also. This works. it's a bug of xcode5 preview 1, if you modified xib with xcode5, it will result app

How to run C++ from Xcode 5.02

馋奶兔 提交于 2019-12-06 05:45:23
I haven't used Xcode in awhile and overall new to macs. How od I run a C++ program from Xcode V5.02. I don't see a command line function anymore? virindh Xcode supports c++ in objective-c projects through .mm files, but not on its own. UPDATE : Guess I was wrong, see here: http://neilmonday.blogspot.com/2008/02/how-to-compile-basic-c-programs-in.html and here: How do I create a new C++ project in XCode? Run xcode-select --install to make sure you command line tools installed on the system. In Xcode, select File>New>Project . Then navigate to the Application tab under OS X. The last choice will