Tag: xcode

Failed to install iphone application for ad hoc

I followed the stepped to create a ad hoc carefully: Added the testers team devices to the devices list in iOs Provisioning profile page Created a new distribution profile for ad-hoc In xcode I chose the project and clicked on product->archive. I sent both the archive (ipa file) and mobile provision to the testers team. […]

SearchDisplayController search multiple arrays

Currently I’m populating my tableviewcells with the contents of multiple arrays representing a name, id, etc. My question comes when I start to use the search display controller. I have an array with a list of names, a list of IDs, a list of barcodes, and a list of Aliases. When the user types in […]

Convert distance on MKMapView to distance for UIView

How do I convert distance (for example 400 meters) on MKMapView to distance for UIView? I want to show MKAnnotationView that depends on current zoom level on MKMapView.

how to add uinavigation controller in a view based application

I wanted to add a navigation controller to a view based application . how can we do this both programmatically and using xib file..

Problems with adding objects to NSMutableDictionary

I am making an iPhone app and I am loading information from a server. I send NSURLRequest to the server and get back a NSString value. This is working fine and the value I am getting back is the correct one. The problem is that when I try to add the value for the variable […]

Could not load NIB in bundle

* Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Could not load NIB in bundle: ‘NSBundle (loaded)’ with name ‘ViewLecturer’ ViewLecturer *viewLecturer = [[ViewLecturer alloc]initWithNibName:@”ViewLecturer” bundle:nil]; [self.navigationController pushViewController:viewLecturer animated:YES]; I’ve check the file type and it’s file.xib. Doubled check the xib name is ViewLecturer but i still constantly get the error on the device. Works […]

Dividing a project into multiple Xcode project files

An iPad project I have been working on has become bloated with a huge number of files. The application is a prototype and we are considering ways to prevent this when we rewrite it. One of the members of our team suggests dividing all of the components into separate Xcode projects which will be included […]

How to Convert Currency Formatted Text to Double Value or NSNumber Value?

I want to convert currency to double value In My app I have a textField which displays Currency Like $1,234,567.00 I can Easily remove the $ sign by substrings But Is there any Formatter style that can make it to the Double? Actually when I am doing vardouble=[txtfield.text doublevalue]; because of comma it shows 1.00(above […]

Duplicate Symbol Error

I’m not sure what I did but I added an IBOutlet to display an additional attribute in a TableView cell. When building the application I get the following error message… Ld /Users/roberthill/Library/Developer/Xcode/DerivedData/PHAInspect-awfhtfopjdgfmsdsjfjivdnlzgir/Build/Products/Debug-iphonesimulator/PHAInspect.app/PHAInspect normal i386 cd /Users/roberthill/Documents/PHAInspect setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH “/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin” /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/roberthill/Library/Developer/Xcode/DerivedData/PHAInspect-awfhtfopjdgfmsdsjfjivdnlzgir/Build/Products/Debug-iphonesimulator -F/Users/roberthill/Library/Developer/Xcode/DerivedData/PHAInspect-awfhtfopjdgfmsdsjfjivdnlzgir/Build/Products/Debug-iphonesimulator -filelist /Users/roberthill/Library/Developer/Xcode/DerivedData/PHAInspect-awfhtfopjdgfmsdsjfjivdnlzgir/Build/Intermediates/PHAInspect.build/Debug-iphonesimulator/PHAInspect.build/Objects-normal/i386/PHAInspect.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker […]

CoreData model compiler fails because of libwep

Since today, each CoreData-based project I try to build fails during the compilation of the CD model DataModelVersionCompile /Users/paolo/Library/Developer/Xcode/DerivedData/testCoreDataBuild-fgvttsutxgjcnsdctcceutmrilfn/Build/Products/Debug-iphoneos/testCoreDataBuild.app/testCoreDataBuild.momd testCoreDataBuild/testCoreDataBuild.xcdatamodeld cd /Users/paolo/Workspace/Apps/testCoreDataBuild export PATH=”/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin” /Applications/Xcode.app/Contents/Developer/usr/bin/momc -XD_MOMC_SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -MOMC_PLATFORMS iphoneos /Users/paolo/Workspace/Apps/testCoreDataBuild/testCoreDataBuild/testCoreDataBuild.xcdatamodeld /Users/paolo/Library/Developer/Xcode/DerivedData/testCoreDataBuild-fgvttsutxgjcnsdctcceutmrilfn/Build/Products/Debug-iphoneos/testCoreDataBuild.app/testCoreDataBuild.momd **dyld: Library not loaded: /usr/lib/libwep** Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool Reason: no suitable image found. Did find: /usr/lib/libwep: mach-o, but not built for iOS simulator /usr/lib/libwep: mach-o, […]