Tag: xcode

IBM Worklight – How to enable App Authenticity in a native iOS app?

We have a iOS and Android Hybrid App Environment in which we have App Authenticity successfully running (drop down available to control the feature) using: <mobileSecurityTest name=”app”> <testAppAuthenticity/> <testUser realm=”wl_anonymousUserRealm”/> <testDeviceId provisioningType=”none” /> </mobileSecurityTest> We added a “iOS Native API” project to our Worklight project that we use for our native iOS client development in […]

How can I prevent Xcode from doing this?

I have a lot of buttons in an app I’m making. When I select all of them, Xcode shows a dialog box saying this: Internal Error Xcode encountered an internal logic error. Choose “Continue” to continue running Xcode in an inconsistent state. Choose “Crash” to halt Xcode and file a bug with Crash Reporter. Choosing […]

Unable to build openssl in Xcode 4.2.1

I could build openssl in xcode 3.5.2, but recently I upgraded to Xcode 4.2.1. Now when I try to build in the same old Xcode, I’m getting errors. Make[1]: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2: No such file or directory Cp: libcrypto.a: No such file or directory Cp: libssl.a: No such file or directory Can I have a solution for […]

Why does XCode not recognize this header file

I am trying to learn XCode and I am following an online course. They are telling to use the #import command to point to a header file. I follow the instruction to the letter and I get an error saying”no such file or directory” but the file is listed under classes and the spelling is […]

Converting an Utility application (2 view controllers) to a Tab bar Application

As the title suggests, I have built an utility based app. The app consists (at the moment) of 2 view controllers + a model class hierarchy. The thing is , as I’d like to add some features to the app , I would like to convert it to a TabBar based application. As a first […]

Unknown reason to receive Memory Warning

let me come to issue fast. There is no problem in my code so far. My only concern is Memory management. Let me make my app logic clear. When App is launched globally NSmutableDictionary is declared and nearly 300 images are added to that Dictionary with various keys and images are added using pathForResource:ofType method. […]

Data from Plist is Incorrectly Ordered in UITableView

I have data that is stored in a plist but when I pull it to my UITableView it gets reordered for some reason. Here are my table view data source methods: – (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return [self.lunch_Dinner count]; } – (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section { return [[self.lunch_Dinner allKeys] objectAtIndex:section]; } – (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { […]

project with source files of Zbar

I am building an iOS, code scanner project using ZBar SDK. I am trying to build my project directly from the source of ZBar, rather than including the libzbar.a static library. Here are the steps i did 1) Copied the source file to my project. 2) Added the path to the folder containing the source […]

UIView animation using 90%CPU

hi i have animation which loop but are using 90% of my iphone CPU processing and are heating up the phone. what have i done wrong ? anybody can give me some advise ? thanks -(void)nextAnimation:(float)previousWidth { //picture loop imageViewTop.image = imageViewBottom.image; imageViewBottom.image = [imageArray objectAtIndex:[imageArray count] – 1]; [imageArray insertObject:imageViewBottom.image atIndex:0]; [imageArray removeLastObject]; imageViewTop.alpha […]

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 […]