xcode5

phonegap build ios exception with HelloWorld Application

梦想与她 提交于 2019-12-06 05:38:44
问题 I am trying to build a helloWorld application using PhoneGap but it seems that is trying to find the .xcodeproj file twice. phonegap version: 3.3.0-0.18.0 cordova version: 3.3.1-0.1.2 $ phonegap build ios [phonegap] detecting iOS SDK environment... [phonegap] using the local environment [phonegap] compiling iOS... [error] An error occurred while building the ios project.xcodebuild: error: 'HelloWorld.xcodeproj.xcodeproj' does not exist. xcodebuild: error: 'HelloWorld.xcodeproj.xcodeproj' does

Terminating with uncaught exception of type NSException (xcode 6)

故事扮演 提交于 2019-12-06 05:38:26
Terminating app due to uncaught exception: 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ViewController" nib but the view outlet was not set. I am getting this error in xcode 6. I know how to set view outlet in xcode 5 or below version (go to connection inspector drag outlet radio button to file's Owner then it pop with a view and then click on view sets the outlet) but view popup is not comming in xcode 6 (beta). Is it a xcode 6 bug or it has different way to set an outlet. Can anyone help please? It means you have a view controller

Dynamic assigning of value to macro function .pch file and checking condition .pch file

夙愿已清 提交于 2019-12-06 05:08:45
.pch as its name shows pre-compiler header, I have defined a macro in the file so that app can decide in the very beginning of the app compilation. What I need is, possible to load any macro by assigning the values dynamically something like NSUserDefaults and checking the condition in .pch file itself. If user disable logs from screen (switch), there should be no logs else... it can print logs, least bother about Debug/Release mode. I have " #define NSLog(FORMAT, ...) TFLog((@"%s [Line %d] " FORMAT), PRETTY_FUNCTION, LINE, ##__VA_ARGS__) " into my .pch file. I am looking something like this :

How can I build for iOS 6 with Xcode 5? [closed]

自作多情 提交于 2019-12-06 03:33:57
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . I have already downloaded the new Xcode 5.0, but I wanted to build an app for iOS 6... How can I do that from Xcode 5.0? Or do I need to have a version of Xcode 4 installed so I can do that? Xcode does let me change the deployment target as the screen below: But it doesn't let me

Creating IPA file in Xcode 5 for project containing static library sub-projects

喜欢而已 提交于 2019-12-06 03:21:10
I have a project which contains a sub-project to build a 3rd party static library the app depends on. In Xcode 5, when I come to export an .ipa file after doing an Archive build and clicking the Distribute button in the Organizer window, the option "Save for Enterprise or Ad Hoc Deployment" is missing from the list of options (I only see "Submit to the iOS App Store" or "Export as Xcode Archive"). Does anyone know i) why this is and ii) how to rectify the problem? For a simple test project (with no 3rd party static libraries) the option "Save for Enterprise or Ad Hoc Deployment" is there and

Is it possible to ctrl-drag in Storyboard to set a UINavigationControllerDelegate?

点点圈 提交于 2019-12-06 03:19:33
问题 In Xcode 5.0.2 I've created an app for iPhone with a navigation controller and 3 further view controllers (here fullscreen): I'd like the LoginViewController (with the "Login" title in the above screenshot) be the delegate for the navigation controller, so that its method - (void)navigationController:(UINavigationController *)navigationController didShowViewController:(UIViewController *)viewController animated:(BOOL)animated is called - so I have added the following code to its viewDidLoad :

Xcode Bots not sending email on success/failure

白昼怎懂夜的黑 提交于 2019-12-06 02:32:59
问题 I setup Xcode Bots, which is working successfully. However, despite setting email addresses to get notified when a build is successful or it fails, I do not receive any emails. Is there any additional SMTP setup I need to do hidden somewhere? 回答1: You probably need to configure the Mac OSX Server for sending e-mail. The local server is located in the Server application under "Mail" in the left sidebar. I recently changed to using Amazon SES and had to edit the Postfix SASL configuration

Compile PJSIP for iOS7

旧街凉风 提交于 2019-12-06 02:30:20
问题 I am trying to compile PJSIP2.1.0 for iOS on Mac 10.9.(Xcode 5.0). But I'm getting some errors when I run ./configure-iphone . Below are the errors, configure-iphone: DEVPATH is not specified, using /Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer configure-iphone: IPHONESDK is not specified, choosing iPhoneOS7.0.sdk ls: /Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/gcc/arm-apple-darwin*: No such

why changing of tab, stopping the animation in ios app?

萝らか妹 提交于 2019-12-06 01:50:15
问题 i have multiple tabs in my app. i one view controller there is animation running, when i switch to another view controller, and again comes to view controller with animation, then animation stops, can anybody guide me to work my Xcode even switching of tab in Iphone app? - (IBAction)btn:(id)sender { NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSString *soundStatus = [defaults objectForKey:@"Sound_Swich"]; //NSLog(@"soundstatus is %@ ", soundStatus); if([soundStatus

Xcode 5 - clang: error: linker command failed with exit code 1 (use -v to see invocation)

我只是一个虾纸丫 提交于 2019-12-06 01:36:22
I am facing a linker error when running my source code, I have attached a screenshot also. I am new in iOS development and so I am not able to get the error. Any help would be much appreciated. Please check https://testflightapp.com/sdk/ios/doc/ A library was not found, that testflight needs. Include that framework (lib) and you are done. Xcode has a bug in which it will double-escape quotes in a path. Note how the error on the screen you captured has ' \" ' and such in it. These are in error. Correct it so it looks like a path, instead. I note also that it appears that your project path has