Tag: xcode

Deploying a Cordova app to iOS Devices results in error cod 65

UPDATE 2: FULL OUTPUT ERROR 1> (1 failure) 1> Failed to build app for buildNumber 4548: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/test/.taco_home/remote-builds/taco-remote/builds/4548/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-project,BlankCordovaApp2.xcodeproj,-target,BlankCordovaApp2,-configuration,Debug,-destination,platform=iOS,build,CONFIGURATION_BUILD_DIR=/Users/test/.taco_home/remote-builds/taco-remote/builds/4548/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/test/.taco_home/remote-builds/taco-remote/builds/4548/cordovaApp/platforms/ios/build/sharedpch 1>MSBUILD : cordova-build error : Error: Remote build error from the build server Build failed with error Error code 65 for command: xcodebuild with args: -xcconfig,/Users/test/.taco_home/remote-builds/taco-remote/builds/4548/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-project,BlankCordovaApp2.xcodeproj,-target,BlankCordovaApp2,-configuration,Debug,-destination,platform=iOS,build,CONFIGURATION_BUILD_DIR=/Users/test/.taco_home/remote-builds/taco-remote/builds/4548/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/test/.taco_home/remote-builds/taco-remote/builds/4548/cordovaApp/platforms/ios/build/sharedpch – 1 1> Error […]

When I click the back button my view changes from landscape to portrait

I am using storyboard and have my app set to be only horizontal left and right. I have a view controller where I click to go to my next view and do whatever, and when I am done I click the back button. What happens is when I click the back button the horizontal view […]

self sign my code and test on iphone in xCode

I have created iphone project. I want to test it on my iphone. I don’t have an account on itunesconnect so I’m unable to load a certificate to sign my code. I’ve created my own certificate (Keychain Access->Certificate Assistant ->Create Certificate). But I could not sign my project with it. xCode can not see my […]

Next Item in Plist Button

Hey guys, i have a simple app just a load of images in one image view. Each is just included in a plist file and called when a cell is selected in popover window. All i want is a button with an action to get next item in plist and display in the image window. […]

Using indexPath.row to get an object from an array

How do i use indexPath.row to get an object from an array? I have tried with the following code but it returns “signal SIGABRT”.. Please help – (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @”Cell”; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; […]

NOt able to convert from MPMediaItem(mp3 song) to NSData

I have tried following code : These is my delegate method of MPMediPickerController : – (void) mediaPicker: (MPMediaPickerController *) mediaPicker didPickMediaItems: (MPMediaItemCollection *) mediaItemCollection { // Dismiss the media item picker. [self dismissModalViewControllerAnimated: YES]; NSLog(@”%@ %d”,mediaItemCollection,mediaItemCollection.count); NSArray *newMediaItem= [mediaItemCollection items]; MPMediaItem *item=[[newMediaItem objectAtIndex:0] retain]; [self uploadMusicFile:item]; } This is my custom method MPMediaItem to NSData: […]

DebugLog Format string is not a string literal

My code looks like DebugLog(urlStr); urlStr is an NSString but I keep getting a warning saying Format string is not a string literal I got this code from a website. #ifdef DEBUG #define DebugLog(s, …) NSLog(s, ##__VA_ARGS__) #else #define DebugLog(s, …) #endif

No provisioned iPhone OS device is connected

I just updated my Xcode to the latest version and am trying to run an app on my device but I get the following error: No provisioned iPhone OS device is connected.

Annotated pins are not getting loaded during reloading of map

I have used apple maps in my application for implementing maps.I used the following code for that. My problem is that,It is showing the pins only when it is loading for the first time. I have written the code like this – (void)viewDidLoad { [super viewDidLoad]; self.title = @”Locate Engineer”; [worldView setMapType:MKMapTypeStandard]; [worldView setShowsUserLocation:YES]; worldView.delegate […]

UILocalNotification firedate from picker

I am trying to implement an alarm type app that sets a UILocalNotification from a UIDatePicker (only time, no date). I kind of have it working except for the fact that lets assume it is 5:00 PM when the user tries to set the alarm. If they try to set the alarm for 4:45 PM […]